[sqlalchemy] Re: Sqlalchmey session memory is never released when used with pyramid.

2014-08-19 Thread Narendra L
Thank you Jonathan I have created a standalone app and uploaded in github *EXAMPLE APP:* https://github.com/Narengowda/pyramid_sqlalchemy_app *APP CONFIGURATION:* Python version: Python 2.7.1 OS: Linux desktop-m 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64

[sqlalchemy] Re: Sqlalchmey session memory is never released when used with pyramid.

2014-08-19 Thread Narendra L
Thank you Jonathan I have created a standalone app and uploaded in github *EXAMPLE APP:* https://github.com/Narengowda/pyramid_sqlalchemy_app *CONFIGURATION:* Python version: Python 2.7.1 OS: Linux desktop-m 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64

Re: [sqlalchemy] Speed up bulk inserts

2014-08-19 Thread Michael Bayer
sure that feature is here: http://docs.sqlalchemy.org/en/rel_0_9/core/dml.html?highlight=insert%20values#sqlalchemy.sql.expression.Insert.values.params.*args On Aug 18, 2014, at 7:32 PM, Anton anschat...@gmail.com wrote: Hi Michael, I checked your post on the stackoverflow, could you help

[sqlalchemy] Limiting the subquery with Pyramid/SQLAlchemy

2014-08-19 Thread Ljós Berinn
I have defined two models in my Pyramid app which are referencing the existing database: class Locations(Base): __tablename__ = 'Location' __table_args__ = {u'schema': 'Locations'} Unit_id = Column(ForeignKey(u'Structure.Definition.Ship_id', ondelete=u'RESTRICT',

Re: [sqlalchemy] Limiting the subquery with Pyramid/SQLAlchemy

2014-08-19 Thread Michael Bayer
On Aug 19, 2014, at 11:12 AM, Ljós Berinn 0na...@gmail.com wrote: I have defined two models in my Pyramid app which are referencing the existing database: class Locations(Base): __tablename__ = 'Location' __table_args__ = {u'schema': 'Locations'} Unit_id =

Re: [sqlalchemy] Limiting the subquery with Pyramid/SQLAlchemy

2014-08-19 Thread Jonathan Vanasco
What is the exact data that you want returned? - the most recent location - /n/ most recent locations - all locations -- 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