Closed as not planned
Description
🔖 Feature description
Most projects use a single database
I write example for getDocument but I talk for all functions
and write class for call function direct with default client
samething like this class but inside appwrite package
https://pastebin.com/raw/txMGE7Bh
🎤 Pitch
example in Dart
Client client = Client();
client
.setEndpoint(appwriteEndpoint)
.setProject(appwriteProjectId)
.setDefaultDatabase('defaultdb')
.setSelfSigned(status: appwriteSelfSigned);
in get document if use default database databaseId is null
database.getDocument(collectionId: 'collectionId', documentId: 'documentId');
in get document if use other database
database.getDocument(databaseId: 'other databaseId', collectionId: 'collectionId', documentId: 'documentId')
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct