Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

root/trunk/dejavu/storage/storemysql.py

Revision 453 (checked in by fumanchu, 6 years ago)

MAJOR REFACTOR: moved Arena from assumed root of storage graph to arbitrary node. Still lots of dark corners to finish migrating, but the core works. This now means users can bind Sandboxes to any store, and can mediate multiple stores at any point in the SM graph.

  • Property svn:eol-style set to native
Line 
1 from geniusql.providers import mysql
2 from dejavu.storage import db
3
4
5 class StorageManagerMySQL(db.StorageManagerDB):
6     """StoreManager to save and retrieve Units via _mysql."""
7    
8     databaseclass = mysql.MySQLDatabase
9    
10     def __init__(self, allOptions={}):
11         allOptions['name'] = allOptions['db']
12         db.StorageManagerDB.__init__(self, allOptions)
13
Note: See TracBrowser for help on using the browser.