Skip to content

mnemosine.storage.Storage.connected ​

Kind: property

Signature ​

python
Storage.connected(self) -> bool

Documentation ​

Whether the database connection is currently open.

Returns:

  • bool: True if connected.

Example:

python
>>> db.connected
True

Released under the MIT License.