On 6/4/07, Mike Orr <[EMAIL PROTECTED]> wrote:
> engine = ctx.current.bind_to
> meta = BoundMetaData(engine)
> table1 = Table("Table1", meta, ...)
> class Class1(object):
> pass
> mapper = Class1, table1)
Sorry, that should be:
mapper(Class1, table1)
--
Mike Orr <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---