Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ColumnInfo = ColumnInfo' {}
- newColumnInfo :: Type -> ColumnInfo
- columnInfo_name :: Lens' ColumnInfo (Maybe Text)
- columnInfo_type :: Lens' ColumnInfo Type
Documentation
data ColumnInfo Source #
Contains the metadata for query results such as the column names, data types, and other attributes.
See: newColumnInfo
smart constructor.
ColumnInfo' | |
|
Instances
Create a value of ColumnInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ColumnInfo'
, columnInfo_name
- The name of the result set column. The name of the result set is
available for columns of all data types except for arrays.
$sel:type':ColumnInfo'
, columnInfo_type
- The data type of the result set column. The data type can be a scalar or
complex. Scalar data types are integers, strings, doubles, Booleans, and
others. Complex data types are types such as arrays, rows, and others.
columnInfo_name :: Lens' ColumnInfo (Maybe Text) Source #
The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
columnInfo_type :: Lens' ColumnInfo Type Source #
The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.