Struct sqlite3::core::ResultRow [] [src]

pub struct ResultRow<'res: 'row, 'row> { /* fields omitted */ }

Access to columns of a row.

Methods

impl<'res, 'row> ResultRow<'res, 'row>
[src]

Access to one row (step) of a result.

Note "These routines attempt to convert the value where appropriate."1 and "The value returned by sqlite3_column_type() is only meaningful if no type conversions have occurred as described below. After a type conversion, the value returned by sqlite3_column_type() is undefined."1

cf sqlite3_column_count

TODO: consider returning Option "This routine returns 0 if pStmt is an SQL statement that does not return data (for example an UPDATE)."

Look up a column name and compute some function of it.

Return default if there is no column i

cf sqlite_column_name

Look up the type of a column.

Return SQLITE_NULL if there is no such col.

Get int value of a column.

Get int64 value of a column.

Get f64 (aka double) value of a column.

Get Option<String> (aka text) value of a column.

Get Option<&str> (aka text) value of a column.

Get Option<Vec<u8>> (aka blob) value of a column.

Get Option<&[u8]> (aka blob) value of a column.

Trait Implementations

impl<'res, 'row> ResultRowAccess for ResultRow<'res, 'row>
[src]

Get T type result value from idxth column of a row. Read more

Try to get T type result value from idxth column of a row.