Files
Jake Barnby 69af566260 feat: SDK update for version 21.1.0 (#133)
* chore: update Apple SDK to 21.1.0

* chore: update Apple SDK to 21.1.0

* chore: update Apple SDK to 21.1.0
2026-10-21 12:46:18 +13:00

487 B

import Appwrite

let client = Client()
    .setEndpoint("https://<REGION>.cloud.appwrite.io/v1") // Your API Endpoint
    .setProject("<YOUR_PROJECT_ID>") // Your project ID

let documentsDB = DocumentsDB(client)

let documentList = try await documentsDB.createQuery(
    databaseId: "<DATABASE_ID>",
    collectionId: "<COLLECTION_ID>",
    queries: [], // optional
    transactionId: "<TRANSACTION_ID>", // optional
    total: false, // optional
    ttl: 0 // optional
)