Google Cloud Oracle Database V1 Client - Class Value (0.15.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class Value.

A single value in a row from a sql result.

Generated from protobuf message google.cloud.oracledatabase.v1.SqlResult.Value

Namespace

Google \ Cloud \ OracleDatabase \ V1 \ SqlResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

The cell value represented in string format. Timestamps should be converted using RFC3339Nano format.

↳ null_value bool

Set to true if the cell value is NULL.

getValue

The cell value represented in string format.

Timestamps should be converted using RFC3339Nano format.

Returns
Type Description
string

setValue

The cell value represented in string format.

Timestamps should be converted using RFC3339Nano format.

Parameter
Name Description
var string
Returns
Type Description
$this

getNullValue

Set to true if the cell value is NULL.

Returns
Type Description
bool

hasNullValue

clearNullValue

setNullValue

Set to true if the cell value is NULL.

Parameter
Name Description
var bool
Returns
Type Description
$this