Go to the first, previous, next, last section, table of contents.


Primary parameter

The cgi-bin invocations dealing with a single record will use the primary parameter to carry the unique identifier of this record in the database. If the table manipulated does not have a unique integer identifier, most cgi-bin will not work properly.

The field containing the primary key is usually named rowid and is not type int autoincrement. Although such a field indeed exists for all the tables created by this library, it need not be named rowid. The library will identify the primary key by using the output of the show table command.


Go to the first, previous, next, last section, table of contents.