feat: update examples

This commit is contained in:
Chirag Aggarwal
2025-09-05 17:30:39 +05:30
parent a9dbd6c3fa
commit 23c433c2ed
333 changed files with 3576 additions and 192 deletions
@@ -12,7 +12,13 @@ databases.createDocument(
"<DATABASE_ID>", // databaseId
"<COLLECTION_ID>", // collectionId
"<DOCUMENT_ID>", // documentId
mapOf( "a" to "b" ), // data
mapOf(
"username" to "walter.obrien",
"email" to "walter.obrien@example.com",
"fullName" to "Walter O'Brien",
"age" to 30,
"isAdmin" to false
), // data
listOf("read("any")"), // permissions (optional)
new CoroutineCallback<>((result, error) -> {
if (error != null) {