datastore
datastore copied to clipboard
(AE|Cloud) Datastore Wrapper
It seems that concurrent access is not supported by rediscache. Current implementation, One client (may be injected to an application) use single connection. https://godoc.org/github.com/garyburd/redigo/redis#hdr-Concurrency I switch redis client from gomodule/redigo...
Documentation: Cloud Firestore Datastore mode https://cloud.google.com/datastore/docs/concepts/transactions?hl=en#read-only_transactions Cloud Datastore https://cloud.google.com/datastore/docs/concepts/cloud-datastore-transactions?hl=en#uses_for_transactions Library support(App Engine Datastore and Cloud Datastore): https://pkg.go.dev/google.golang.org/[email protected]/datastore#TransactionOptions https://pkg.go.dev/cloud.google.com/go/[email protected]#TransactionOption
When using redis and cloud.google.com/go/datastore which is after V1.4.0, if the time.Time type member of the struct is uninitialized, the struct cannot be put to datastore. Without redis, put work...
current implementation doesn't have context argument in RunInTransaction callback function. This makes difficult about emit beautiful trace log.
https://github.com/golang/appengine/compare/9d8544a6b2c7df9cff240fcf92d7b2f59bc13416...b9aad5d628b283f265adf8d3557faae187a8d015 * omitempty tag * AllocateIDRange * KeyRangeCollisionError * `(q *Query) BatchSize(size int) *Query` * TransactionOptions.ReadOnly
`dst has invalid type` is too ambiguous. You cannot see what `dst` means. So we should replace `dst` to more meaninful description.
https://github.com/GoogleCloudPlatform/google-cloud-go/issues/886
I want to write below code. ``` type EventCource struct { ParentID int64 `boom:"parent,Event" ID int64 Name string } ```
should returns error. don't blocking anything. Commit, Rollback, RunInTransaction.
``` type Product struct { Price *int } ``` This feature convenient when outputting JSON