SQLAlchemy problem : /

Discussion in 'Python' started by sylvian, Aug 31, 2006.

  1. sylvian

    sylvian

    Joined:
    Aug 31, 2006
    Messages:
    1
    Likes Received:
    0
    Hi, im new to python and to Sql in general. I am currently using sqlalchemy to populate a database where i insert a row into the main table allowing it to autogenerate its own primary key, i then populate several other tables but i cannot find a command to provide my foreignkey (that links to my main tables primary key) with the value i allowed the database to generate itself. I know this command exsists in sqlobect but i cannot find the command for sqlalchemy! please help!
     
    sylvian, Aug 31, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Salerno

    SQLObject or SQLAlchemy?

    John Salerno, Aug 31, 2006, in forum: Python
    Replies:
    20
    Views:
    1,516
    lazaridis_com
    Sep 6, 2006
  2. tomec@obywatel.pl

    SqlAlchemy how and where it can be used?

    tomec@obywatel.pl, Oct 8, 2006, in forum: Python
    Replies:
    1
    Views:
    366
    Bruno Desthuilliers
    Oct 9, 2006
  3. Karlo Lozovina

    SQLAlchemy and py2exe

    Karlo Lozovina, Oct 21, 2006, in forum: Python
    Replies:
    1
    Views:
    589
    Steve Holden
    Oct 21, 2006
  4. Karlo Lozovina

    SQLAlchemy, py2exe and Python 2.5 problem?

    Karlo Lozovina, Dec 19, 2006, in forum: Python
    Replies:
    0
    Views:
    564
    Karlo Lozovina
    Dec 19, 2006
  5. Ilias Lazaridis
    Replies:
    6
    Views:
    437
    Hendrik van Rooyen
    Dec 21, 2006
  6. Greg Copeland

    SQLAlchemy and Oracle Functions?

    Greg Copeland, Mar 8, 2007, in forum: Python
    Replies:
    0
    Views:
    431
    Greg Copeland
    Mar 8, 2007
  7. Adam Kubica
    Replies:
    2
    Views:
    698
    Adam Kubica
    Aug 31, 2007
  8. Massi
    Replies:
    1
    Views:
    1,202
    Rebelo
    Jul 9, 2010
Loading...