Skip to content

Commit

Permalink
rtdf attach detach
Browse files Browse the repository at this point in the history
  • Loading branch information
jpn-- committed Jan 9, 2015
1 parent 7a7d202 commit b84d66f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions doc/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,22 @@ or :mod:`sqlite3` (included in standard Python distributions).
Convenience Methods
-------------------

.. automethod:: DB.attach
.. py:method:: DB.attach
Attach another SQLite database.

:param str sqlname: The name SQLite will use to reference the other database.
:param str filename: The filename or URI to attach.

If the other database is already attached, or if the name is already taken by another
attached database, the command will be ignored.

.. py:method:: DB.detach
Detach a previously attached SQLite database.

:param str sqlname: The name SQLite will use to reference the other database.

If the name is not an attached database, the command will be ignored.

.. automethod:: DB.detach

0 comments on commit b84d66f

Please sign in to comment.