Trees | Indices | Help |
---|
|
License: GPL
To Do:
SELECT COUNT(samplename) AS count FROM \ (SELECT DISTINCT(samplename) AS samplename FROM \ ams WHERE corenum=1 AND coretype='p');
Bugs:
Note: This is not as snazzy as SQLAlchemy or SQLObject, but it works and is simple
Author: Kurt Schwehr
Version: 5432
Copyright: 2006
|
|||
|
select Construct an sql select query |
||
|
create Helper for building create SQL commands. |
||
|
insert Help create an SQL insert statement for injecting data into a database. |
|
|||
|
addVerbosityOptions(parser) Added the verbosity options to a parser |
||
str
|
sqlInsertStrFromList(table,
aList) Take a list and make an insert string. |
|
|||
|
__date__ = '2007-01-23' Date of last svn commit |
||
|
BOMBASTIC = 4
|
||
|
VERBOSE = 3
|
||
|
TRACE = 2
|
||
|
TERSE = 1
|
||
|
ALWAYS = 0
|
||
|
NEVER = 0
|
||
|
success = False
|
|
|
>>> aList = [('one',1),('2','two'),('threepoint',3.)] >>> sqlInsertStrFromList('myTable',aList) "insert into myTable (one,2,threepoint) values (1,'two',3.0);"
|
|
__date__Date of last svn commit
|
BOMBASTICNone
|
VERBOSENone
|
TRACENone
|
TERSENone
|
ALWAYSNone
|
NEVERNone
|
successNone
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Mon Feb 5 09:50:15 2007 | http://epydoc.sourceforge.net |