Struct mimir::QueryInfo
[−]
[src]
pub struct QueryInfo { /* fields omitted */ }
This structure is used for passing query metadata from ODPI-C. It is populated by the function
Statement::get_query_info()
. All values remain valid as long as a reference is held to the
statement and the statement is not re-executed or closed.
Methods
impl Info
[src]
fn new(inner: ODPIQueryInfo) -> Info
Create a new Info
struct.
fn name(&self) -> String
Get the name
value.
Specifies the name of the column which is being queried, as a string in the encoding used for CHAR data.
fn type_info(&self) -> TypeInfo
Get the scale
value.
Specifies the scale of the column that is being queried. This value is only populated for numeric columns. For all other columns the value is zero.
fn null_ok(&self) -> bool
Get the `null_ok' value.
Specifies if the column that is being queried may return null values or not.