Mercurial > p > roundup > code
comparison roundup/hyperdb.py @ 562:62febbd7ffec
You can now use the roundup-admin tool to pack the database
| author | Roche Compaan <rochecompaan@users.sourceforge.net> |
|---|---|
| date | Mon, 21 Jan 2002 16:33:20 +0000 |
| parents | dfac856502d1 |
| children | e346a9792335 |
comparison
equal
deleted
inserted
replaced
| 561:13df980755fa | 562:62febbd7ffec |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: hyperdb.py,v 1.51 2002-01-21 03:01:29 richard Exp $ | 18 # $Id: hyperdb.py,v 1.52 2002-01-21 16:33:19 rochecompaan Exp $ |
| 19 | 19 |
| 20 __doc__ = """ | 20 __doc__ = """ |
| 21 Hyperdatabase implementation, especially field types. | 21 Hyperdatabase implementation, especially field types. |
| 22 """ | 22 """ |
| 23 | 23 |
| 206 ''' | 206 ''' |
| 207 raise NotImplementedError | 207 raise NotImplementedError |
| 208 | 208 |
| 209 def getjournal(self, classname, nodeid): | 209 def getjournal(self, classname, nodeid): |
| 210 ''' get the journal for id | 210 ''' get the journal for id |
| 211 ''' | |
| 212 raise NotImplementedError | |
| 213 | |
| 214 def pack(self, pack_before): | |
| 215 ''' pack the database | |
| 211 ''' | 216 ''' |
| 212 raise NotImplementedError | 217 raise NotImplementedError |
| 213 | 218 |
| 214 def commit(self): | 219 def commit(self): |
| 215 ''' Commit the current transactions. | 220 ''' Commit the current transactions. |
| 1058 cl.create(name=option[i], order=i) | 1063 cl.create(name=option[i], order=i) |
| 1059 return hyperdb.Link(name) | 1064 return hyperdb.Link(name) |
| 1060 | 1065 |
| 1061 # | 1066 # |
| 1062 # $Log: not supported by cvs2svn $ | 1067 # $Log: not supported by cvs2svn $ |
| 1068 # Revision 1.51 2002/01/21 03:01:29 richard | |
| 1069 # brief docco on the do_journal argument | |
| 1070 # | |
| 1063 # Revision 1.50 2002/01/19 13:16:04 rochecompaan | 1071 # Revision 1.50 2002/01/19 13:16:04 rochecompaan |
| 1064 # Journal entries for link and multilink properties can now be switched on | 1072 # Journal entries for link and multilink properties can now be switched on |
| 1065 # or off. | 1073 # or off. |
| 1066 # | 1074 # |
| 1067 # Revision 1.49 2002/01/16 07:02:57 richard | 1075 # Revision 1.49 2002/01/16 07:02:57 richard |
