This Go package extends the package appengine.datastore with very useful additional features.
This package is currently undergoing a massive restructuring. Use at own risk
- caching: great performance through memcache
- fluent API: concise code for read, query, write and delete actions
- hybrid query: queries that have strong consistency and use memcache
- lifecycle hooks: BeforeLoad/AfterLoad and BeforeSave/AfterSave
- caching control: turn caching on/off for queries and entities
- logging: every datastore action is logged for debugging
Internally it uses nds, structor and iszero.
- validated projection query
- in-memory cache
- field name & name transformer
- allow to pass-in logger
- RPC listener
- catch more errors at codec creation
- delete from query
- namespace support
go get github.com/stephanos/hrd
- Google: [https://code.google.com/p/appengine-go/]
- OpenVN: [https://github.com/openvn/datastone]
- Jeff Huter: [https://bitbucket.org/SlothNinja/gaelic]
- Matt Jibson: [https://github.com/mjibson/goon]
Without those projects this library would not exist. Thanks!
Apache License 2.0 (see LICENSE).
I suggest having a look at the E2E tests to see how it is used.