px_retrieve_record
(PECL paradox >= 1.4.0)
px_retrieve_record — Returns record of paradox database
Описание
$pxdoc
, int $num
[, int $mode
= 0
] )This function is very similar to px_get_record() but uses internally a different approach to retrieve the data. It relies on pxlib for reading each single field value, which usually results in support for more field types.
Замечание:
This function is only available if pxlib >= 0.6.0 is used.
Список параметров
-
pxdoc
-
Resource identifier of the paradox database as returned by px_new().
-
num
-
The record number is an artificial number counting records in the order as they are stored in the database. The first record has number 0.
-
mode
-
The optional
mode
can bePX_KEYTOLOWER
orPX_KEYTOUPPER
in order to convert the keys into lower or upper case. Ifmode
is not passed or is 0, then the key will be exactly like the field name. The element values will contain the field values. NULL values will be retained and are different from 0.0, 0 or the empty string. Fields of typePX_FIELD_TIME
will be returned as an integer counting the number of milliseconds starting at midnight. A timestamp is a floating point value also counting milliseconds starting at the beginning of julian calendar.
Возвращаемые значения
Returns the num
'th record from the paradox
database. The record is returned as an associated array with its keys
being the field names.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с базами данных
- Расширения для работы с базами данных отдельных производителей
- Paradox File Access
- px_close
- px_create_fp
- px_date2string
- px_delete_record
- px_delete
- px_get_field
- px_get_info
- px_get_parameter
- px_get_record
- px_get_schema
- px_get_value
- px_insert_record
- px_new
- px_numfields
- px_numrecords
- px_open_fp
- px_put_record
- px_retrieve_record
- px_set_blob_file
- px_set_parameter
- px_set_tablename
- px_set_targetencoding
- px_set_value
- px_timestamp2string
- px_update_record
Коментарии
404 Not Found