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]
impl Info
pub fn new(inner: ODPIQueryInfo) -> Self
[src]
pub fn new(inner: ODPIQueryInfo) -> Self
Create a new Info
struct.
pub fn name(&self) -> String
[src]
pub 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.
pub fn type_info(&self) -> TypeInfo
[src]
pub 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.
pub fn null_ok(&self) -> bool
[src]
pub fn null_ok(&self) -> bool
Get the `null_ok' value.
Specifies if the column that is being queried may return null values or not.