mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 13:14:53 -04:00
parent
bc5589a1bb
commit
329ef5c715
6 changed files with 93 additions and 27 deletions
|
@ -60,6 +60,11 @@ class Sqlite3Engine(BaseDatabaseEngine["sqlite3.Connection"]):
|
|||
"""Do we support using `a = ANY(?)` and passing a list"""
|
||||
return False
|
||||
|
||||
@property
|
||||
def supports_returning(self) -> bool:
|
||||
"""Do we support the `RETURNING` clause in insert/update/delete?"""
|
||||
return self.module.sqlite_version_info >= (3, 35, 0)
|
||||
|
||||
def check_database(self, db_conn, allow_outdated_version: bool = False):
|
||||
if not allow_outdated_version:
|
||||
version = self.module.sqlite_version_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue