PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<px_get_recordpx_get_value>
Last updated: Mon, 16 Jul 2012

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_recordpx_get_value>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST