Re: [sqlalchemy] Working with a ResultProxy object

2011-08-02 Thread Tamás Bajusz
On Tue, Aug 2, 2011 at 3:07 PM, RVince rvinc...@gmail.com wrote: In my controller class, I perform a rather basic, straightforward SQL query:        connection = engine.connect()        trans = connection.begin()        try:            c.result = connection.execute(select

Re: [sqlalchemy] Pass query with as parameter (avoid creating a method and hardcoding a query)

2011-01-27 Thread Tamás Bajusz
Sorry for late reply, but I was rather busy with real life work. I believe your code will be useful for me and for others too. Anyhow, thank you very much for it! On Thu, Jan 27, 2011 at 5:17 PM, Hector Blanco white.li...@gmail.com wrote: 2011/1/16 Tamás Bajusz gbt...@gmail.com: Is your work

Re: [sqlalchemy] Pass query with as parameter (avoid creating a method and hardcoding a query)

2011-01-16 Thread Tamás Bajusz
Is your work available, or do you plan to put it public somewhere? On Sun, Jan 16, 2011 at 7:53 PM, Hector Blanco white.li...@gmail.com wrote: Thanks for your help! It was key knowing that I was going in the right direction. The problem was that I'm stup... erm... I mean... erm... that I

Re: [sqlalchemy] how to graph database structure?

2010-11-11 Thread Tamás Bajusz
On Thu, Nov 11, 2010 at 12:59 PM, Nagy Viktor viktor.n...@toolpart.hu wrote: Hi, I've reflected a database, and it would like to get a graphic representation of it something like the graph_models command in django command extensions. The best would be if the tool could create the graphics

Re: [sqlalchemy] Re: sqla and firebird

2010-11-09 Thread Tamás Bajusz
On Tue, Nov 9, 2010 at 4:10 PM, Domingo Aguilera domingo.aguil...@gmail.com wrote: Werner, I am using kinterbasdb downloaded just few days ago.  Also I am using sqla 0.6.5 . I worked with  firebird rdbms engine several years ago but not from python.  This is the first time I am using

Re: [sqlalchemy] sqlalchemy and desktop apps

2010-07-24 Thread Tamás Bajusz
Hi Joel! pypapi.org is the bigest example a know. It's using pyqt4, sqlalchemy and zope interfaces/schema/etc. The only drawback for me, the code using too much italiano :) Regards, gbtami On Sat, Jul 24, 2010 at 3:21 AM, Joel Mohler goo...@kiwistrawberry.us wrote: Hello, I'm a happy user of

Re: [sqlalchemy] Re: is sqlalchemy-migrate the right way to go?

2010-05-17 Thread Tamás Bajusz
On Mon, May 17, 2010 at 9:49 PM, Kent k...@retailarchitects.com wrote: Ideally, I agree.  Practically speaking, though, we came from a company where dozens and dozens of developers worked on the system and it was structured exactly this way (a master file and a series of incremental upgrade

Re: [sqlalchemy] Re: find the table columns

2010-01-21 Thread Tamás Bajusz
On Thu, Jan 21, 2010 at 9:08 AM, laurent FRANCOIS lau.franc...@worldonline.fr wrote: On Thu, 2010-01-14 at 05:29 -0800, Kosu wrote: try this: user.__table__.c.keys() should work Kos Rafal AttributeError: 'User' object has no attribute '__table__' from sqlalchemy import * metadata =