Re: [sqlalchemy] dynamically mapped tables with ORM

2013-03-04 Thread brent
e event hooks in SQLAlchemy for intercepting the > primary key. We currently have hooks to intercept columns as they are > reflected, but not the actual PK column collection. > > > ok, that's simpler than what I did. > > > > > > On Mar 4, 2013, at 2:16 P

Re: [sqlalchemy] dynamically mapped tables with ORM

2013-03-04 Thread brent
On Monday, 4 March 2013 12:33:33 UTC-7, Michael Bayer wrote: > > > On Mar 4, 2013, at 2:21 PM, brent > wrote: > > > I found this in the archives: > https://groups.google.com/forum/?fromgroups=#!topic/sqlalchemy/EUyt8HUzJC8 > are things still the same? > > >

Re: [sqlalchemy] dynamically mapped tables with ORM

2013-03-04 Thread brent
On Monday, 4 March 2013 12:16:49 UTC-7, brent wrote: > > > > On Monday, 4 March 2013 11:57:01 UTC-7, Michael Bayer wrote: >> >> Have you looked at SQLSoup ? This library already does exactly what >> you're looking for. >> >> https://sqlsoup.re

Re: [sqlalchemy] dynamically mapped tables with ORM

2013-03-04 Thread brent
On Monday, 4 March 2013 11:57:01 UTC-7, Michael Bayer wrote: > > Have you looked at SQLSoup ? This library already does exactly what > you're looking for. > > https://sqlsoup.readthedocs.org/en/latest/ > > wow! yeah that does do what I'm looking for. However, I'm mapping to tables that do not

[sqlalchemy] dynamically mapped tables with ORM

2013-03-04 Thread brent
g.cpgIslandExt, it returns only a small percentage of the rows. Can anyone see what I'm doing incorrectly? thanks, -Brent -- 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, se

Re: [sqlalchemy] Passing sessions around

2011-02-09 Thread Brent McConnell
result not Found 2011-02-09 13:36:43,665 - surf.store - DEBUG - adding ExceptionUrl=http://test18.com','67868150974853021936294845903799103936','None')> 2011-02-09 13:36:43,666 - surf.store - DEBUG - find_or_create_exception_url: session=4335326160, session_dirty=IdentityS

[sqlalchemy] Passing sessions around

2011-02-09 Thread Brent McConnell
esn't work though. Do I need to return the session for something like this to work? Any advice on the correct pattern to use when trying to create a transaction across several functions? Thanks, Brent -- You received this message because you are subscribed to the Google Groups "s

[sqlalchemy] Re: custom sql.

2007-01-31 Thread Brent Pedersen
dress.c.lon-lon)) ,limit=500 ) thanks for the response. ...and sqlalchemy. -brent On 1/31/07, Michael Bayer <[EMAIL PROTECTED]> wrote: > > use func.abs(q.address.lat) for the ABS function. > > On Jan 31, 2007, at 4:24 PM, Brent Pedersen wrote: > > > > >

[sqlalchemy] Re: custom sql.

2007-01-31 Thread Brent Pedersen
quot; - %f)" sorder %= (lat,lon) return q.select( sajoin ,order_by=asc(sorder) ,limit=800 ) On 1/31/07, Brent Pedersen <[EMAIL PROTECTED]> wrote: > hi, how can put custom sql in a query? specifically in this code? the

[sqlalchemy] custom sql.

2007-01-31 Thread Brent Pedersen
pped objects so i can still do student.address.lat, etc. i've scoured the docs, but maybe i've missed something. any pointers? thanks. -brent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sqlalchemy