Skip to content

Latest commit

 

History

History
110 lines (71 loc) · 2.25 KB

reference.rst

File metadata and controls

110 lines (71 loc) · 2.25 KB

API reference

.. autoclass:: sqlite_utils.db.Database
    :members:
    :undoc-members:
    :special-members: __getitem__
    :exclude-members: use_counts_table, execute_returning_dicts, resolve_foreign_keys

:ref:`Table <reference_db_table>` and :ref:`View <reference_db_view>` are both subclasses of Queryable, providing access to the following methods:

.. autoclass:: sqlite_utils.db.Queryable
    :members:
    :undoc-members:
    :exclude-members: execute_count

.. autoclass:: sqlite_utils.db.Table
    :members:
    :undoc-members:
    :show-inheritance:
    :exclude-members: guess_foreign_column, value_or_default, build_insert_queries_and_params, insert_chunk, add_missing_columns

.. autoclass:: sqlite_utils.db.View
    :members:
    :undoc-members:
    :show-inheritance:

.. autoclass:: sqlite_utils.db.Column

.. autoclass:: sqlite_utils.db.ColumnDetails

.. autofunction:: sqlite_utils.utils.hash_record

.. autofunction:: sqlite_utils.utils.rows_from_file

.. autoclass:: sqlite_utils.utils.TypeTracker
   :members: wrap, types

.. autofunction:: sqlite_utils.utils.chunks

.. autofunction:: sqlite_utils.utils.flatten