reference:metaprimarykeys
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| reference:metaprimarykeys [2015/08/12 01:37] – mnewnham | reference:metaprimarykeys [2015/08/12 02:05] (current) – removed mnewnham | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== metaPrimaryKeys ====== | ||
| - | ~~NOTOC~~ | ||
| - | <WRAP right box> | ||
| - | == Syntax == | ||
| - | mixed metaPrimaryKeys( | ||
| - | string $tableName, | ||
| - | optional string $owner=false, | ||
| - | ) | ||
| - | </ | ||
| - | ===== Description ===== | ||
| - | The function '' | ||
| - | ===== Optional Parameters ===== | ||
| - | ==== $owner ==== | ||
| - | If specified, only returns primary keys associated with a table owned by that name. | ||
| - | ===== Usage ===== | ||
| - | <code php> | ||
| - | /* | ||
| - | * Connection to DB2 sample database assumed | ||
| - | */ | ||
| - | $mpk = $db-> | ||
| - | print_r($mpk); | ||
| - | /* | ||
| - | * Prints | ||
| - | Array | ||
| - | ( | ||
| - | [0] => ACTNO | ||
| - | ) | ||
| - | |||
| - | */ | ||
| - | </ | ||
reference/metaprimarykeys.1439336279.txt.gz · Last modified: (external edit)
