fixed (possibly) truncate for GAE
This commit is contained in:
1 parent
c9a63a8524
commit
3b1a5be1be
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
||||
Version 2.4.4-stable+timestamp.2013.03.17.12.10.29
|
||||
Version 2.4.4-stable+timestamp.2013.03.17.15.27.04
|
||||
+1
-1
@@ -4656,7 +4656,7 @@ class GoogleDatastoreAdapter(NoSQLAdapter):
|
||||
return self.expand(first)
|
||||
|
||||
def truncate(self,table,mode):
|
||||
self.db(table._id).delete()
|
||||
self.db(self.db._adapter.id_query(table)).delete()
|
||||
|
||||
def select_raw(self,query,fields=None,attributes=None):
|
||||
db = self.db
|
||||
|
||||
Reference in new issue
Block a user