Database
========

.. currentmodule:: lsst.daf.butler.registry.interfaces

.. autoclass:: Database
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Database.dialect

   .. rubric:: Methods Summary

   .. autosummary::

      ~Database.assertTableWriteable
      ~Database.constant_rows
      ~Database.declareStaticTables
      ~Database.delete
      ~Database.deleteWhere
      ~Database.ensure
      ~Database.ensureTableExists
      ~Database.expandDatabaseEntityName
      ~Database.fromEngine
      ~Database.fromUri
      ~Database.getExistingTable
      ~Database.getTimespanRepresentation
      ~Database.get_constant_rows_max
      ~Database.insert
      ~Database.isTableWriteable
      ~Database.isWriteable
      ~Database.makeDefaultUri
      ~Database.makeEngine
      ~Database.query
      ~Database.replace
      ~Database.session
      ~Database.shrinkDatabaseEntityName
      ~Database.sync
      ~Database.temporary_table
      ~Database.transaction
      ~Database.update

   .. rubric:: Attributes Documentation

   .. autoattribute:: dialect

   .. rubric:: Methods Documentation

   .. automethod:: assertTableWriteable
   .. automethod:: constant_rows
   .. automethod:: declareStaticTables
   .. automethod:: delete
   .. automethod:: deleteWhere
   .. automethod:: ensure
   .. automethod:: ensureTableExists
   .. automethod:: expandDatabaseEntityName
   .. automethod:: fromEngine
   .. automethod:: fromUri
   .. automethod:: getExistingTable
   .. automethod:: getTimespanRepresentation
   .. automethod:: get_constant_rows_max
   .. automethod:: insert
   .. automethod:: isTableWriteable
   .. automethod:: isWriteable
   .. automethod:: makeDefaultUri
   .. automethod:: makeEngine
   .. automethod:: query
   .. automethod:: replace
   .. automethod:: session
   .. automethod:: shrinkDatabaseEntityName
   .. automethod:: sync
   .. automethod:: temporary_table
   .. automethod:: transaction
   .. automethod:: update