LDLMS_DB::check_table_primary_index

LDLMS_DB::check_table_primary_index( string $table_name = '' )

Utility function to check the primary index and AUTO_INCREMENT for a database table.


Description #


Parameters #

$table_name

(string) (Optional) Name of table to check.

Default value: ''


Return #

(boolean) true if indexes are valid. False if not. Null is returned if no indexes or not a valid table.


Source #

File: includes/class-ldlms-db.php


Changelog #

Changelog
Version Description
3.1.8 Introduced.