[sqlalchemy] Checking if a table already has data in it.

2009-10-26 Thread todd12
Hello all, Is there a better way to check if a table has data in it, instead of doing a query and fetching one item? Thanks, t --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this

[sqlalchemy] getting data from primary keys

2009-09-14 Thread todd12
Hello SQLAlchemy Group, I've been trying to work out a way I can get the data from a table whose columns are primary keys. The challenge is, I don't know before hand which columns are primary keys since the code is to be run on different tables. I've figured out how to get the primary keys