|
cubrid_getGet a column using OID 説明
mixed cubrid_get(resource
$conn_identifier, string $oid, mixed $attr = ?)
The cubrid_get function is used to get the attribute
of the instance of the given パラメータ
戻り値
Content of the requested attribute, when process is successful; When
例例1 cubrid_get example 上の例の出力は以下となります。
string(9) "{1, 2, 3}"
array(4) {
["a"]=>
string(1) "1"
["b"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
["c"]=>
array(4) {
[0]=>
string(2) "11"
[1]=>
string(2) "22"
[2]=>
string(2) "33"
[3]=>
string(3) "333"
}
["d"]=>
string(10) "a "
}
参考
|