44 lines
1022 B
ReStructuredText
Raw Normal View History

2013-04-01 22:40:34 +02:00
2013-04-01 23:36:09 +02:00
API documentation
=================
Connecting
----------
2013-04-01 22:40:34 +02:00
.. autofunction:: dataset.connect
Notes
-----
* **dataset** uses SQLAlchemy connection pooling when connecting to the
database. There is no way of explicitly clearing or shutting down the
connections, other than having the dataset instance garbage collected.
2013-04-01 22:40:34 +02:00
Database
2013-04-01 23:36:09 +02:00
--------
2013-04-01 22:40:34 +02:00
.. autoclass:: dataset.Database
2014-02-12 14:14:26 +01:00
:members: tables, get_table, create_table, load_table, query, begin, commit, rollback
2013-04-03 00:51:33 +02:00
:special-members:
2013-04-01 22:40:34 +02:00
Table
2013-04-01 23:36:09 +02:00
-----
2013-04-01 22:40:34 +02:00
.. autoclass:: dataset.Table
2019-02-15 15:04:16 +01:00
:members: columns, find, find_one, all, count, distinct, insert, insert_ignore, insert_many, update, upsert, delete, create_column, create_column_by_example, drop_column, create_index, drop, has_column, has_index
2013-04-03 12:28:42 +02:00
:special-members: __len__, __iter__
Data Export
-----------
2018-01-13 18:02:19 +01:00
**Note:** Data exporting has been extracted into a stand-alone package, datafreeze. See the relevant repository here_.
.. _here: https://github.com/pudo/datafreeze
|
.. autofunction:: datafreeze.freeze