doc/book/en/development/devcore/dbapi.rst
branchstable
changeset 5257 a31fbcfa8c3b
parent 5190 73bdc50d6af1
child 5307 228932b4f8c5
equal deleted inserted replaced
5256:3f95d10fef94 5257:a31fbcfa8c3b
     6 The Python API developped to interface with RQL is inspired from the standard db-api,
     6 The Python API developped to interface with RQL is inspired from the standard db-api,
     7 with a Connection object having the methods cursor, rollback and commit essentially.
     7 with a Connection object having the methods cursor, rollback and commit essentially.
     8 The most important method is the `execute` method of a cursor.
     8 The most important method is the `execute` method of a cursor.
     9 
     9 
    10 .. sourcecode:: python
    10 .. sourcecode:: python
       
    11 
    11   execute(rqlstring, args=None, cachekey=None, build_descr=True)
    12   execute(rqlstring, args=None, cachekey=None, build_descr=True)
    12 
    13 
    13 :rqlstring: the RQL query to execute (unicode)
    14 :rqlstring: the RQL query to execute (unicode)
    14 :args: if the query contains substitutions, a dictionary containing the values to use
    15 :args: if the query contains substitutions, a dictionary containing the values to use
    15 :cachekey:
    16 :cachekey: