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.1.1/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's documents. Learn more about different API modes.

Parameters

collectionId: string

collectionId

optional
filters: Array<any> = [UNSUPPORTED]

filters

optional
limit: number = [UNSUPPORTED]

limit

optional
offset: number = [UNSUPPORTED]

offset

optional
orderField: string = [UNSUPPORTED]

orderField

optional
orderType: string = [UNSUPPORTED]

orderType

optional
orderCast: string = [UNSUPPORTED]

orderCast

Returns

Promise<string>

Promise