cubrid_seq_insert(PECL CUBRID >= 8.3.0) cubrid_seq_insert — Insert an element to a sequence type column using OID Описание
bool cubrid_seq_insert
( resource $conn_identifier
, string $oid
, string $attr_name
, int $index
, string $seq_element
)
The cubrid_col_insert() function is used to insert an element to a sequence type attribute in a requested location. Список параметров
Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #1 cubrid_seq_insert() example
<?phpРезультат выполнения данного примера:
array(4) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
array(5) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
[4]=>
string(2) "44"
}
Смотрите также
|
||