mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Rearrange storage modules
This commit is contained in:
parent
d288d273e1
commit
cb8162d3d1
7 changed files with 486 additions and 509 deletions
|
@ -791,6 +791,13 @@ class SQLBaseStore(object):
|
|||
return result[0] if result else None
|
||||
|
||||
|
||||
class _RollbackButIsFineException(Exception):
|
||||
""" This exception is used to rollback a transaction without implying
|
||||
something went wrong.
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
class Table(object):
|
||||
""" A base class used to store information about a particular table.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue