[−][src]Trait sqlx::Row
Represents a single row of the result set.
Associated Types
Loading content...Required methods
fn len(&self) -> usize
Returns the number of values in the row.
fn get<T, I>(&self, index: I) -> T where
I: RowIndex<Self>,
T: Decode<Self::Database>,
Self::Database: HasSqlType<T>,
I: RowIndex<Self>,
T: Decode<Self::Database>,
Self::Database: HasSqlType<T>,
Returns the value at the index
; can either be an integer ordinal or a column name.
Provided methods
Loading content...Implementors
impl Row for MySqlRow
[src]
type Database = MySql
fn len(&self) -> usize
[src]
fn get<T, I>(&self, index: I) -> T where
I: RowIndex<MySqlRow>,
T: Decode<<MySqlRow as Row>::Database>,
<MySqlRow as Row>::Database: HasSqlType<T>,
[src]
I: RowIndex<MySqlRow>,
T: Decode<<MySqlRow as Row>::Database>,
<MySqlRow as Row>::Database: HasSqlType<T>,