Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: impl/prod/raw_datastore.go

Issue 1309933003: datastore: Add DecodeCursor to [Raw]Interface. (Closed) Base URL: https://github.com/luci/gae@master
Patch Set: Use more concise formulation. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/memory/datastore_query.go ('k') | service/datastore/datastore.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/raw_datastore.go
diff --git a/impl/prod/raw_datastore.go b/impl/prod/raw_datastore.go
index 8988f792a6cf176007f2fc1e7d4c30dd98944609..bb8a37779577bd5edb7186e494818e171734a87b 100644
--- a/impl/prod/raw_datastore.go
+++ b/impl/prod/raw_datastore.go
@@ -131,6 +131,10 @@ func (d rdsImpl) NewQuery(kind string) ds.Query {
return queryImpl{datastore.NewQuery(kind)}
}
+func (d rdsImpl) DecodeCursor(s string) (ds.Cursor, error) {
+ return datastore.DecodeCursor(s)
+}
+
func (d rdsImpl) Run(q ds.Query, cb ds.RawRunCB) error {
tf := typeFilter{}
t := q.(queryImpl).Query.Run(d)
« no previous file with comments | « impl/memory/datastore_query.go ('k') | service/datastore/datastore.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698