Hi-
  I have just read a lot and gone through some exercises, but am at an
early stage here..
Two questions:

1) I have an existing database, and want to use sa to work with it..
so "reflect" seems like what I want. I have loaded up the database
successfully - sqlite - not with reflect(), but instead with named
tables and autoload=true.

  Now I am reading about declarative base class.. is a reflect/
autoload approach preemptive of declarative? do I have to make
mappers? there are a number of foreign key relationships, declared in
the db.. how do I find out more about which ones are being
instantiated for me?

2) Session vs connect.. from my limited experience, conn =
engine.connect() seems natural and all I need. I am reading this intro
material and they are going on at length with Session. Is Session
really necessary? so much more desirable?

 I am really looking for an expedient use of sa, I dont think I will
get deeply into this.. pragmatic!
  thanks in advance
   -Brian


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

Reply via email to