```swift import Appwrite let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("") // Your project ID let databases = Databases(client) let documentList = try await databases.createQuery( databaseId: "", collectionId: "", queries: [], // optional transactionId: "", // optional total: false, // optional ttl: 0 // optional ) ```