Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 1528:96cd422532ef
bye bye gadfly - you served your purpose well [SF#701127]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 18 Mar 2003 00:50:24 +0000 |
| parents | 63aa7be52d2c |
| children | 800b5896e14a |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Tue Mar 18 00:37:25 2003 +0000 +++ b/roundup/backends/rdbms_common.py Tue Mar 18 00:50:24 2003 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.45 2003-03-17 22:03:08 kedder Exp $ +# $Id: rdbms_common.py,v 1.46 2003-03-18 00:50:24 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -18,7 +18,7 @@ sql_* methods, since everything else should be fairly generic. There's probably a bit of work to be done if a database is used that actually honors column typing, since the initial databases don't (sqlite stores -everything as a string, and gadfly stores anything that's marsallable). +everything as a string.) ''' # standard python modules @@ -433,13 +433,13 @@ # # Nodes # - def addnode(self, classname, nodeid, node): ''' Add the specified node to its class's db. ''' if __debug__: print >>hyperdb.DEBUG, 'addnode', (self, classname, nodeid, node) - # gadfly requires values for all non-multilink columns + + # determine the column definitions and multilink tables cl = self.classes[classname] cols, mls = self.determine_columns(cl.properties.items())
