ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


reference:metaprimarykeys

This is an old revision of the document!


metaPrimaryKeys

Syntax
  mixed metaPrimaryKeys(
      string $tableName,
      optional string $owner=false,
      )

Description

The function metaPrimaryKeys() returns the primary key associated with a specific table. If there are no primary keys then the function returns false.

Optional Parameters

$owner

If specified, only returns foreign keys associated with a table owned by that name.

Usage

Add Example of this

reference/metaprimarykeys.1437536168.txt.gz ยท Last modified: (external edit)