Merge pull request #584 from anssih/ndborder
GoogleSQLAdapter: Fix NDB orderby without limitby broken in 2.9.6
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user