¡@

Home 

python Programming Glossary: systemvariables

Complex foreign key constraint in SQLAlchemy

http://stackoverflow.com/questions/8394177/complex-foreign-key-constraint-in-sqlalchemy

tables so you can easily play with it CREATE TEMP TABLE systemvariables variable_id integer PRIMARY KEY variable text choice_id integer.. PRIMARY KEY variable text choice_id integer INSERT INTO systemvariables variable_id variable VALUES 1 'var1' 2 'var2' 3 'var3' CREATE.. PRIMARY KEY option text variable_id integer REFERENCES systemvariables variable_id ON UPDATE CASCADE ON DELETE CASCADE UNIQUE option_id..