Merge pull request #584 from anssih/ndborder

GoogleSQLAdapter: Fix NDB orderby without limitby broken in 2.9.6
This commit is contained in:
mdipierro
2015-01-10 20:36:46 -06:00
+1 -1
View File
@@ -507,7 +507,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
db['_lastcursor'] = cursor
else:
# if a limit is not specified, always return an iterator
rows = query
items = query
return (items, tablename, projection or db[tablename].fields)