Solar_Sql_Adapter_Oracle::fetchValue()
public
mixed
Solar_Sql_Adapter_Oracle::fetchValue
( array|string $spec
, array $data = array ()
)
Fetches the very first value (i.e., first column of the first row).
Inherited from Solar_Sql_Adapter.
Parameters
(array|string)
$spec
: An array of component parts for a SELECT, or a literal query string.(array)
$data
: An associative array of data to bind into the SELECT statement.
Returns
(mixed)
Description
Fetches the very first value (i.e., first column of the first row).
When $spec is an array, automatically sets LIMIT 1 OFFSET 0 to limit the results to a single row.