cubrid_seq_insert

(PECL CUBRID >= 8.3.0)

cubrid_seq_insertIs used to insert an element to a sequence

Description

int 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.

Parameters

conn_identifier

Connection identifier.

oid

Oid of the instance you want to work with.

attr_name

Name of the attribute you want to insert an instance to.

index

Location of the element, you want to insert the element to (1-based).

seq_element

Content of the element that you want to insert.

Return Values

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Examples

Example #1 cubrid_seq_insert() example

<?php
cubrid_seq_insert 
($con$oid"tel"1"02-3430-1200");
cubrid_seq_insert ($con$oid"tel"1"02-3430-1300");
?>

See Also


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout