corsair.googledocs.db.<entity>.search({ data, limit?, offset? }) with the filters listed per entity.
New to Corsair? See database operations, data synchronization, and multi-tenancy.
Documents
Path:googledocs.db.documents.search
Searchable filters
| Field | Type | Operators |
|---|---|---|
entity_id | string | equals, contains, startsWith, endsWith, in |
id | string | equals, contains, startsWith, endsWith, in |
documentId | string | equals, contains, startsWith, endsWith, in |
title | string | equals, contains, startsWith, endsWith, in |
revisionId | string | equals, contains, startsWith, endsWith, in |
url | string | equals, contains, startsWith, endsWith, in |
createdTime | string | equals, contains, startsWith, endsWith, in |
modifiedTime | string | equals, contains, startsWith, endsWith, in |
wordCount | number | equals, gt, gte, lt, lte, in |
headerCount | number | equals, gt, gte, lt, lte, in |
footerCount | number | equals, gt, gte, lt, lte, in |
footnoteCount | number | equals, gt, gte, lt, lte, in |
tableCount | number | equals, gt, gte, lt, lte, in |
imageCount | number | equals, gt, gte, lt, lte, in |
hasPlaceholder | boolean | equals |
hasKeyword | boolean | equals |
hasSearchMatch | boolean | equals |
filePath | string | equals, contains, startsWith, endsWith, in |
createdAt | date | equals, before, after, between |
.search() also accepts limit and offset for pagination. .list() is available on the same path without the .search suffix in code — see database operations.