I have tables created using another orm. I just want to know, how I
can create sqlalchemy classes based on the tables, that are already
there in the database?
Thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Okay - next dump quesion: How do I clear out the objects in a session
that I no longer need to reference (in this case all of them)... Will
python GC take care of this?
--Brandon
On Apr 25, 7:15 am, Michael Bayer [EMAIL PROTECTED] wrote:
On Apr 24, 2007, at 10:59 AM,BrandonGoldfedder wrote:
I'd be happy to host a buildslave here on a VM. AFAIK, the buildslaves
connect outbound to the master, which would work for me. As far as hosting
the master, I dunno -- we're out here in the hinterlands of Connecticut in
dynamic IP address land for now.
On 4/27/07, Michael Bayer [EMAIL
On Apr 27, 2007, at 11:17 AM, Dave Harrison wrote:
Hi all,
I've got a situation where I have a table of data that is common,
with the
subtables just adding an extra couple of fields. Using multiple
inheritance I
fit it together as below (pretty much the same as the documented
I can use clear_mappers() because I use mod_python and my mappers
are defined
during init. Is there any other way I can get this select mapped to
my object?
non_primary=True (see the docs on mutliple mappers for a class)
But that would mean I would define a new non_primary mapper every
As I understand it, the schedule is still tentative at this point, but
the fact that I'll get to teach a SQLAlchemy tutorial is not. (Like
my PyCon tutorial, this will be aimed at those who have not yet used
SA.)
O'Reilly Open Source Convention 2007 at the Oregon Convention Center
in Portland,
On 4/27/07, Michael Bayer [EMAIL PROTECTED] wrote:
On Apr 27, 2007, at 2:19 PM, Mike Orr wrote:
Is it possible to make a mapper class that loads modifies only some
fields in a table rather than all the fields, yet still autoloads the
fields rather than having hardcoded column types?
Hi,
We've got a CMS model with a revisioned page tree. Our pages have a
revision number and a parent page (it's a self-referential mapper).
One property we'd like to have in our assign_mapper call is a
latest_parent relation -- a property that returns the page with
page_id = parent_id and