Hi
While using NodeJS sdk, you get document in form of js object with all attributes as members, in Go Sdk, I notice we got Document type/struct as return with only the following fields accessible:
type Document struct {
// Document ID.
Id string json:"$id"
// Collection ID.
CollectionId string json:"$collectionId"
// Database ID.
DatabaseId string json:"$databaseId"
// Document creation date in ISO 8601 format.
CreatedAt string json:"$createdAt"
// Document update date in ISO 8601 format.
UpdatedAt string json:"$updatedAt"
// Document permissions. Learn more about
// permissions.
Permissions []string json:"$permissions"
}
I am really stuck, I tried decode function but it couldnt get to work
All help is appreciated 🙂
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Rec'd a "phishing" email that apparently...
I received an email attempting to convince me that my password expired - and the link wanted to send me to an appwrite instance: (https://updating-projects-ads....