[SQL-CVS] SQLObject/docs FAQ.txt,1.1,1.2
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-09-07 18:19:30
|
Update of /cvsroot/sqlobject/SQLObject/docs In directory sc8-pr-cvs1:/tmp/cvs-serv23773/docs Modified Files: FAQ.txt Log Message: Added note about non-integer IDs Index: FAQ.txt =================================================================== RCS file: /cvsroot/sqlobject/SQLObject/docs/FAQ.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FAQ.txt 21 Aug 2003 05:02:16 -0000 1.1 --- FAQ.txt 7 Sep 2003 18:19:25 -0000 1.2 *************** *** 142,143 **** --- 142,155 ---- values, or could be used among several objects that have latitude/longitude columns. + + + Non-Integer IDs + --------------- + + SQLObject requires that you use an integer primary key, usually + defined in a specific way (``INT PRIMARY KEY AUTO_INCREMENT`` for + MySQL, for instance, or ``SERIAL PRIMARY KEY`` for PostgreSQL). You + cannot use strings or other kinds of values. + + This restriction will probably be removed soon. + |