On Apr 29, 1:53 am, "Paul Rigor (gmail)" <paulri...@gmail.com> wrote:
> Hi gang,
> I've recently started using sqlalchemy, so hopefully this isn't a stupid
> question...
>
> I was wondering whether there was an easy way to obtain a particular table's
> schema if one is using just bare connection (ie, not using any special
> orm's).  Specifically, is there a utility method somewhere which allows one
> to obtain the primary key of a table?


Hi,
you could look at some sqlalchemy recipes, like this one:
- http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SchemaDisplay

Otherwise, look at the documentation or at the code of the recipe.



>
> 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)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to