Trees | Indices | Help |
---|
|
Bio.DocSQL: easy access to DB API databases.
>>> import DocSQL, MySQLdb, os >>> 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 = None hash(x) |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jul 14 01:49:21 2010 | http://epydoc.sourceforge.net |