Support window functions with SQLite backend

issue7703
review364231002
This commit is contained in:
Cédric Krier
2021-11-08 19:30:15 +01:00
parent a1a2e6eb70
commit 834007b353
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
* Support window functions with SQLite backend
* Use JSONB to store Dict field on PostgreSQL backend
Version 6.2.0 - 2021-11-01
+3
View File
@@ -585,6 +585,9 @@ class Database(DatabaseInterface):
def has_multirow_insert(self):
return True
def has_window_functions(self):
return sqlite.sqlite_version_info >= (3, 25, 0)
def sql_type(self, type_):
if type_ in self.TYPES_MAPPING:
return self.TYPES_MAPPING[type_]