[Checkins] SVN: bluebream/website/docs/v1.0/faq.rst one more FAQ
Baiju M
baiju.m.mail at gmail.com
Wed Jan 27 19:41:03 EST 2010
Log message for revision 108585:
one more FAQ
Changed:
U bluebream/website/docs/v1.0/faq.rst
-=-
Modified: bluebream/website/docs/v1.0/faq.rst
===================================================================
--- bluebream/website/docs/v1.0/faq.rst 2010-01-27 22:56:02 UTC (rev 108584)
+++ bluebream/website/docs/v1.0/faq.rst 2010-01-28 00:41:03 UTC (rev 108585)
@@ -1331,13 +1331,21 @@
configuration file. So, if you want to change the location, you need
to change it in the Buildout configuration.
+How to clear history (pack) in ZODB ?
+-------------------------------------
+
+From the debug shell, call the ``app.db.pack`` function::
+
+ $ ./bin/paster shell debug.ini
+ >>> app.db.pack()
+
Do you have an example of CRUD (create/read/update/delete) ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ref: http://mail.zope.org/pipermail/zope3-users/2006-September/004248.html
The Zope Object DataBase (ZODB), available by default to your application,
-makes CRUD very simple.
+makes CRUD very simpe.
Create::
More information about the checkins
mailing list