practiceTemplateDocuments
This query fetches a collection of document templates. Prefer cursorPagination for large result sets (for example sync/export); deep offset pages remain expensive even with indexes. Existing pagination: { page, pageSize } behaviour is unchanged. Do not provide pagination and cursorPagination together.
practiceTemplateDocuments(
search: String
pagination: Pagination
cursorPagination: CursorPagination
options: QueryOptions
): PracticeTemplateDocumentData
Arguments
practiceTemplateDocuments.search ● String scalar
practiceTemplateDocuments.pagination ● Pagination input
practiceTemplateDocuments.cursorPagination ● CursorPagination input
Cursor-based pagination alternative to pagination. Mutually exclusive with pagination. Use the last practice template document's id as cursor for the next page. Results are always ordered by _id ascending for NEXT (and descending then reversed for PREVIOUS).
practiceTemplateDocuments.options ● QueryOptions input
Type
PracticeTemplateDocumentData object
A collection of document templates and the related pagination information. With offset pagination, pageInfo is a standard PageInfo. With cursorPagination, pageInfo uses the PageInfoForCursorPagination shape (pageSize and hasMore only; page is unset).