On Tuesday, February 12, 2013 9:13:48 PM UTC+9, betelgeuse wrote:

> I had a smilar problem. 
> I had a ms sql database that another application created and I need to 
> select data from it. There was lots of tables so I tried reflection but 
> it was slow so I decided to use sa declarative method. But declaring all 
> the tables again in python was too much work. I use sqlautocode to 
> generate declerative table classes and use them in my models with some 
> minor modifications. if the db structure does not change too often this 
> will speed up things. 
>
>
I've been doing that way with django.
Tried sqlautocode but got an "ImportError: cannot import name 
_deferred_relation" error.
(I'm using SA 0.8)
Maybe something is broken but don't have much time to look into it :(

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to