[Checkins]
SVN: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/interfaces.py
added getMappers()
Andreas Jung
andreas at andreas-jung.com
Tue Mar 20 02:30:53 EDT 2007
Log message for revision 73376:
added getMappers()
Changed:
U z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/interfaces.py
-=-
Modified: z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/interfaces.py
===================================================================
--- z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/interfaces.py 2007-03-20 05:14:02 UTC (rev 73375)
+++ z3c.sqlalchemy/trunk/src/z3c/sqlalchemy/interfaces.py 2007-03-20 06:30:53 UTC (rev 73376)
@@ -47,6 +47,10 @@
'tablename' and an optional 'schema' name
"""
+ def getMappers(*tablenames, schema='public'):
+ """ return a sequence of mapper classes for a given list
+ of table names and an optional 'schema' name
+ """
class IModelProvider(Interface):
""" A model providers provides information about the tables to be used
More information about the Checkins
mailing list