[sqlalchemy] Problem with table reflection (version 0.6.6) with mysql database

2011-02-08 Thread Paul Rigor
Hello, I have a table with the following schema: +-+---+--+-+-++ | Field | Type | Null | Key | Default | Extra | +-+---+--+-+-++ | acc | varchar(1024) |

[sqlalchemy] Re: Problem with table reflection (version 0.6.6) with mysql database

2011-02-08 Thread Paul Rigor
, show_create, charset, only) 2133 2134 if only: - 2135 only = set(only) 2136 2137 for line in re.split(r'\r?\n', show_create): TypeError: 'bool' object is not iterable Cheers, Paul On Tue, Feb 8, 2011 at 1:36 PM, Paul Rigor paulri...@gmail.com wrote

[sqlalchemy] reflecting schema just on a single table

2010-02-23 Thread Paul Rigor (uci)
, Paul -- Paul Rigor Pre-doctoral BIT Fellow and Graduate Student Institute for Genomics and Bioinformatics Donald Bren School of Information and Computer Sciences University of California, Irvine http://www.ics.uci.edu/~prigor -- You received this message because you are subscribed to the Google

[sqlalchemy] Re: obtaining a table schema

2009-04-29 Thread Paul Rigor (gmail)
, Column('id',Integer,primary_key=True), Column('data',Integer)) print uu.primary_key.columns ['u.id'] Mike On Tue, Apr 28, 2009 at 7:53 PM, Paul Rigor (gmail) paulri...@gmail.comwrote: Hi gang, I've recently started using sqlalchemy, so hopefully this isn't a stupid

[sqlalchemy] Re: obtaining a table schema

2009-04-29 Thread Paul Rigor (gmail)
, Paul Rigor (gmail) wrote: Thanks Mike, Like I mentioned for my particular application, I won't be using the usual ORM but just the bare engine/connection. I'll just be provided with a table name and a connection. I did a little bit of research but was only able to figure out how to obtain

[sqlalchemy] obtaining a table schema

2009-04-28 Thread Paul Rigor (gmail)
somewhere which allows one to obtain the primary key of a table? Thanks!! paul -- Paul Rigor Graduate Student Institute for Genomics and Bioinformatics Donald Bren School of Information and Computer Sciences University of California in Irvine 248 ICS2 Bldg. +1 (760) 536 - 6767 (skype