Add window functions on Database

issue6355
review33961002
This commit is contained in:
Sergi Almacellas Abellana
2017-03-22 10:49:26 +01:00
parent 31bb48f5cb
commit 6575419cc9
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add has_window_functions on Database
* Allow Many2One on ModelSQL to target ModelStorage
* Manage Cache in Transaction
* Allow to register multiple exit functions on Transaction
+4
View File
@@ -155,3 +155,7 @@ class DatabaseInterface(object):
def has_select_for(self):
"Return if database supports FOR UPDATE/SHARE clause in SELECT."
return False
def has_window_functions(self):
"Return if database supports window functions."
return False
+3
View File
@@ -304,6 +304,9 @@ class Database(DatabaseInterface):
def has_select_for(self):
return True
def has_window_functions(self):
return True
register_type(UNICODE)
if PYDATE:
register_type(PYDATE)