You should map a class to this table. For more information, please read: http://www.sqlalchemy.org/docs/05/ormtutorial.html
On Wednesday August 27, 2008 08:25:43 manuhack wrote: > Hi, > > Using the example in the tutorial: > >>> users = Table('users', metadata, > > ... Column('id', Integer, primary_key=True), > ... Column('name', String), > ... Column('fullname', String), > ... ) > > if I commit the following > > >>> ins = users.insert(values={'name':'jack', 'fullname':'Jack Jones'}) > >>> conn = engine.connect() > >>> result = conn.execute(ins) > > is there a way to get the value of "id" without calling select? I'm > using MySQL if that matters. Thanks! > > -- Gustavo Narea. General Secretary. GNU/Linux Matters. http://www.gnulinuxmatters.org/ --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---