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
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Console display all Databases as TablesD...
While looking at an issue with <@1231860789355347971> we saw that the console was displaying ALL databases as `TablesDB` even if the real type in the API is `le...