Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class SqlResultColumn.
Contains the name and datatype of a column in a SQL Result.
Generated from protobuf message google.cloud.alloydb.v1.SqlResultColumn
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Name of the column.
↳ type
string
Datatype of the column as reported by the postgres driver. Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".
getName
Name of the column.
string
setName
Name of the column.
var
string
$this
getType
Datatype of the column as reported by the postgres driver.
Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".
string
setType
Datatype of the column as reported by the postgres driver.
Common type names are "VARCHAR", "TEXT", "NVARCHAR", "DECIMAL", "BOOL", "INT", and "BIGINT".
var
string
$this