summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a59d24)
raw | patch | inline | side by side (parent: 5a59d24)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 26 Mar 2003 05:29:06 +0000 (05:29 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 26 Mar 2003 05:29:06 +0000 (05:29 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1629 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/backends/rdbms_common.py | patch | blob | history |
index 77d02e7a9ca609988acf3c9629e880990b5a6ef5..3bb3bf2627ea85856f3af10d0e43c8857e7fa81b 100644 (file)
-# $Id: rdbms_common.py,v 1.50 2003-03-26 05:28:32 richard Exp $
+# $Id: rdbms_common.py,v 1.51 2003-03-26 05:29:06 richard Exp $
''' Relational database (SQL) backend common code.
Basics:
where = []
args = []
a = self.db.arg
- print filterspec
for k, v in filterspec.items():
propclass = props[k]
# now do other where clause stuff
print >>hyperdb.DEBUG, 'filter', (self, sql, args)
self.db.cursor.execute(sql, args)
l = self.db.cursor.fetchall()
- print sql, l
# return the IDs (the first column)
# XXX The filter(None, l) bit is sqlite-specific... if there's _NO_