primary($table)
| Parameters: |
|
|---|---|
| Returns: |
The primary key name, FALSE if none |
| Return type: |
string |
Retrieves the primary key of a table.
Note
If the database platform does not support primary key detection, the first column name may be assumed as the primary key.
Please login to continue.