mirror of
https://github.com/imjasonh/appengine-value
synced 2026-07-06 22:12:22 +00:00
don't ignore datastore value
This commit is contained in:
parent
2b4f17894a
commit
da385af7f7
1 changed files with 1 additions and 1 deletions
2
value.go
2
value.go
|
|
@ -52,7 +52,7 @@ func Get(c appengine.Context, key string) string {
|
|||
// Get value from datastore if missing from memcache.
|
||||
k := datastore.NewKey(c, EntityName, key, 0, nil)
|
||||
var e struct {
|
||||
Value string `datastore:"-"`
|
||||
Value string `datastore:",noindex"`
|
||||
}
|
||||
if err := datastore.Get(c, k, &e); err != nil {
|
||||
c.Errorf("error getting %q from datastore: %v", key, err)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue