Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/appwrite/src/services/database.ts>Database#listDocuments

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Database.prototype.listDocuments
import { Database } from "https://deno.land/x/appwrite@0.0.2/src/services/database.ts";

List Documents

Get a list of all the user documents. You can use the query params to filter your results. On admin mode, this endpoint will return a list of all of the project documents. Learn more about different API modes.

Parameters

collectionId: string

collectionId

optional
filters: Array<any> = [UNSUPPORTED]

filters

optional
offset: number = [UNSUPPORTED]

offset

optional
limit: number = [UNSUPPORTED]

limit

optional
orderField: string = [UNSUPPORTED]

orderField

optional
orderType: string = [UNSUPPORTED]

orderType

optional
orderCast: string = [UNSUPPORTED]

orderCast

optional
first: number = [UNSUPPORTED]

first

optional
last: number = [UNSUPPORTED]

last

Returns

Promise<string>

Promise