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.4.0/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.

Type Parameters

T extends unknown

Parameters

collectionId: string
optional
filters: string[]
optional
limit: number
optional
offset: number
optional
orderField: string
optional
orderType: string
optional
orderCast: string

Returns

Promise<T>