PHP マニュアル
前のページ |  | 次のページ

# px_get_schema

(PECL)

px_get_schema -- Returns the database schema

## 説明

array px_get_schema ( resource pxdoc [, int mode] )

px_get_schema() returns the database schema.

## パラメータ

pxdoc

mode

  If the optional mode is `PX_KEYTOLOWER` or `PX_KEYTOUPPER` the key will be converted to lower or upper case. If mode is 0 or not passed at all, then the key name will be identical to the field name.

## 返り値

Returns the schema of a database file as an associated array. The key name is equal to the field name. Each array element is itself an associated array containing the two fields type and size. type is one of the constants in table Constants for field types.

前のページ | ホーム | 次のページ
px_get_record | 上に戻る | px_get_value