Add listblock query.

main
mathan 2024-05-27 10:38:39 -07:00
parent 8de7cb87cb
commit d57f4750d9
1 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,9 @@ select count(*) from (select distinct repo from records where collection in ('ap
``` ```
partitioned (slow) partitioned (slow)
`select count(*) from (select distinct repo from records_listblock where deleted=false and content['subject']::text like '"at://did:plc:bmjomljebcsuxolnygfgqtap/%');` `select count(*) from (select distinct repo from records_listblock where deleted=false and content['subject']::text like '"at:///%');`
`select count(*) from (select distinct repo from records_listblock where deleted=false and (split_part(jsonb_extract_path_text(content, 'subject'), '/', 3))='did:plc:bmjomljebcsuxolnygfgqtap');`
Count all records Count all records