Skip to main content
The Bluesky plugin syncs data locally. Use corsair.bluesky.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.

Posts

Path: bluesky.db.posts.search
const rows = await corsair.bluesky.db.posts.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});

Searchable filters

FieldTypeOperators
entity_idstringequals, contains, startsWith, endsWith, in
uristringequals, contains, startsWith, endsWith, in
cidstringequals, contains, startsWith, endsWith, in
textstringequals, contains, startsWith, endsWith, in
createdAtstringequals, contains, startsWith, endsWith, in
authorDidstringequals, contains, startsWith, endsWith, in
Every .search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.