aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorSebastian Spaeth <sebastian@sspaeth.de>2010-03-19 10:55:06 +0100
committerSebastian Spaeth <sebastian@sspaeth.de>2010-03-19 10:55:06 +0100
commit0b57cb8ed9850d1315a60ff23113e343b531170e (patch)
tree1cc00867e647993e772deb5e7ed2031886a70e79 /docs/source
parentc90c28ded713936080b9862d4bc8502bc47da83a (diff)
Add Database.create_query() as a shorthand for db=Database();q=Query(db,"")
This is a convenience extension to the C API. I hardly saves any typing, but let's us automatically free the top-level Database() object when we delete the Query().
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/index.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 6d0d5fa3..e04bc843 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -61,6 +61,7 @@ or::
.. automethod:: get_all_tags
+ .. automethod:: create_query
.. attribute:: Database.MODE