Skip to main content
Module

x/appwrite/mod.ts>Query

[READ-ONLY] Official Appwrite Deno SDK 🦕
Latest
class Query
Re-export
import { Query } from "https://deno.land/x/appwrite@10.0.0/mod.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