I'm not aware of a psycopg2 data manager. However if you just use the sqlalchemy dbapi then you can hook the zope.sqlalchemy data manager up and use `zope.sqlalchemy.mark_changed(session)` api in conjunction with `session.execute()`. I think this gets you most of the way there without really using any orm logic. This is how I'd solve the problem myself if I weren't using the ORM for queries.
On Tue, Mar 10, 2015 at 5:14 PM, Chris Rossi <[email protected]> wrote: > Not that I'm aware of. SQLAlchemy is pretty awesome, though! > > Chris > > On Mon, Mar 9, 2015 at 4:22 PM, Radosław Kintzi <[email protected]> wrote: >> >> Not sure, if this is right group, to ask this question, but anyway: is it >> possible to use transaction module (and pyramid_tm) with psycopg2 but >> without SQLAlchemy? Is there IDataManager for pyscopg2? >> >> Thanks, >> RK >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/pylons-discuss. >> For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
