Can this be done?

I have searched extensively and can find very little relating to it.
It seems like it should work using autoload, but I seem to get an
error along the lines of AttributeError: type object 'TestView' has no
attribute 'query'.

Any pointers would be appreciated.

-Chris

p.s. I'm using mysql as the db, and code:

class TestView(Entity):
    using_options(tablename="vw_test", autoload=True)
    using_mapper_options(primary_key='id')

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to