| Trees | Indices | Help |
|---|
|
|
Bio.DocSQL: easy access to DB API databases.
>>> import os >>> import MySQLdb >>> from Bio import DocSQL >>> db=MySQLdb.connect(passwd='', db='test') >>> class CreatePeople(DocSQL.Create): ... ''' ... CREATE TEMPORARY TABLE people ... (id INT UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, ... last_name TINYTEXT, ... first_name TINYTEXT) ... ''' ... >>> CreatePeople(connection=db) CreatePeople(message=Success)
Version: $Revision: 1.13 $
|
|||
| NoInsertionError | |||
| QueryRow | |||
|
Query SHOW TABLES |
|||
| QueryGeneric | |||
| IterationCursor | |||
| QuerySingle | |||
| QueryAll | |||
| QueryAllFirstItem | |||
| Create | |||
| Update | |||
| Insert | |||
|
|||
|
|||
|
|||
|
|||
connection = Nonehash(x) |
|||
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Fri Nov 26 16:18:39 2010 | http://epydoc.sourceforge.net |