
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
- Can't create repos/ clone templates, or ...
My GitHub app can see all my repos, and even create new ones, but the branch isn't visible, which prevents appwrite from deploying. Is this a GitHub app permis...
- pricing changes feedback & question
Hi Appwrite team I don't have any issues with the changes in pricing....except I was hoping the change would involve something that is an actual problem for me...
- Database was Reseted to the Default Valu...
Hello, my database collections' documents are reset to the default attribute values by itself. Can someone help to investigate the issue, please?
