mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-19 02:01:49 -05:00
parent
bc5589a1bb
commit
329ef5c715
6 changed files with 93 additions and 27 deletions
|
|
@ -49,6 +49,12 @@ class BaseDatabaseEngine(Generic[ConnectionType], metaclass=abc.ABCMeta):
|
|||
"""
|
||||
...
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def supports_returning(self) -> bool:
|
||||
"""Do we support the `RETURNING` clause in insert/update/delete?"""
|
||||
...
|
||||
|
||||
@abc.abstractmethod
|
||||
def check_database(
|
||||
self, db_conn: ConnectionType, allow_outdated_version: bool = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue