Code

Remove bogus file.
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 17 Jun 2009 15:26:07 +0000 (15:26 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 17 Jun 2009 15:26:07 +0000 (15:26 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4229 57a73879-2fb5-44c3-a270-3262357dd7e2

scripts/hyperdb_example.py [deleted file]

diff --git a/scripts/hyperdb_example.py b/scripts/hyperdb_example.py
deleted file mode 100644 (file)
index ca7f2b6..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-from roundup.hyperdb import String, Number, Multilink
-from roundup.backends.back_bsddb import Database, Class
-
-class config:
-    DATABASE='/tmp/hyperdb_example'
-
-db = Database(config, 'admin')
-spam = Class(db, 'spam', name=String(), size=Number())
-widget = Class(db, 'widget', title=String(), spam=Multilink('spam'))
-
-oneid = spam.create(name='one', size=1)
-twoid = spam.create(name='two', size=2)
-
-widgetid = widget.create(title='a widget', spam=[oneid, twoid])
-
-# dumb, simple query
-print widget.find(spam=oneid)
-print widget.history(widgetid)
-print widget.search_text(