Note: This manual is provided for your convenience only - this is not the official source and may not be 100% up to date.
Descriptionarray px_get_schema ( resource pxdoc [, int mode] )
px_get_schema() returns the database schema.
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. size is the number of bytes this field consumes in the record. The total of all field sizes is equal to the record size as it can be retrieved with px-get-info().