List documents for appwrite



    Khalid Khan

    Appwrite companion cookbook

    The following code creates a promise that will return the list of documents from the SDK database for the user input of the COLLECTION_ID.

    Shortcut: appwrite.web.listdoc

    let promise = sdk.database.listDocuments('&[USER_INPUT:[COLLECTION_ID]]');
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.