Name

primary_key( )

Synopsis

$database_handle->primary_key($catalog, $schema, $table)

This returns a list of primary key column names for a given table.

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.