Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/appwrite/src/query.ts>Query

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
class Query
import { Query } from "https://deno.land/x/appwrite@11.0.0/src/query.ts";

Constructors

new
Query(
method: string,
attribute?: AttributesTypes,
values?: QueryTypes,
)

Properties

attribute: AttributesTypes | undefined
method: string
values: QueryTypesList | undefined

Methods

toString(): string

Static Properties

and: (queries: string[]) => unknown
between: (
attribute: string,
start: string | number,
end: string | number,
) => unknown
contains: (attribute: string, value: string | string[]) => string
cursorAfter: (documentId: string) => string
cursorBefore: (documentId: string) => string
endsWith: (attribute: string, value: string) => string
equal: (attribute: string, value: QueryTypes) => string
greaterThan: (attribute: string, value: QueryTypes) => string
greaterThanEqual: (attribute: string, value: QueryTypes) => string
isNotNull: (attribute: string) => string
isNull: (attribute: string) => string
lessThan: (attribute: string, value: QueryTypes) => string
lessThanEqual: (attribute: string, value: QueryTypes) => string
limit: (limit: number) => string
notEqual: (attribute: string, value: QueryTypes) => string
offset: (offset: number) => string
or: (queries: string[]) => unknown
orderAsc: (attribute: string) => string
orderDesc: (attribute: string) => string
select: (attributes: string[]) => string
startsWith: (attribute: string, value: string) => string