LDLMS_DB::check_table_primary_index( string $table_name = '' )
Utility function to check the primary index and AUTO_INCREMENT for a database table.
Description Description
Parameters Parameters
- $table_name
-
(Optional) Name of table to check.
Default value: ''
Return Return
(boolean) true if indexes are valid. False if not. Null is returned if no indexes or not a valid table.
Source Source
File: includes/class-ldlms-db.php
Changelog Changelog
Version | Description |
---|---|
3.1.8 | Introduced. |