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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...
- createCollection Deprecated