px_get_schema(3) php man page | unix.com

Man Page: px_get_schema

Operating Environment: php

Section: 3

PX_GET_SCHEMA(3)														  PX_GET_SCHEMA(3)

px_get_schema - Returns the database schema

SYNOPSIS
array px_get_schema (resource $pxdoc, [int $mode])
DESCRIPTION
px_get_schema(3) returns the database schema.
PARAMETERS
o $pxdoc - Resource identifier of the paradox database as returned by px_new(3). o $mode - If the optional $mode is PX_KEYTOLOWER or PX_KEYTOUPPER the keys of the returned array 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.
RETURN VALUES
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(3). PHP Documentation Group PX_GET_SCHEMA(3)
Related Man Pages
px_retrieve_record(3) - php
dbase_create(3) - php
px_date2string(3) - php
px_set_blob_file(3) - php
px_set_targetencoding(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!