Someone please correct me if I'm wrong on this...

fromDatabase=True is a SQLObject setting.  While defining a SQLObject 
class, you can set fromDatabase=True to make it automatically map your 
columns.

The equivalent to this in SQLAlchemy is to put autoload=True in the 
class definition.

The thing about SQLAlchemy's SQLSoup is that you set it once in your 
model and ALL of the classes for ALL tables in your database get created 
automatically.  You don't need to create individual classes using 
autoload=True.  SQLSoup magically just creates all classes for you.


John

glenn wrote:
> hey john
>
>   
>> sqlsoup is for connecting to databases where your structure is already
>> defined.
>>     
> this is what I hope was the case!
>
> but im confused... doesnt just using "fromDatabase = True"  do this?,
> as per this thread...
> http://groups.google.com/group/turbogears/browse_frm/thread/dec92c2415305d3c?tvc=1
>
> glenn
>
>
> >
>
>   

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

Reply via email to