[−][src]Trait sqlx::arguments::Arguments
A tuple of arguments to be sent to the database.
Associated Types
Loading content...Required methods
fn len(&self) -> usize
Returns the number of values.
fn size(&self) -> usize
Returns the size of the arguments, in bytes.
fn reserve(&mut self, len: usize, size: usize)
Reserves the capacity for at least len
more values (of size
bytes) to
be added to the arguments without a reallocation.
fn add<T>(&mut self, value: T) where
T: Encode<Self::Database>,
Self::Database: HasSqlType<T>,
T: Encode<Self::Database>,
Self::Database: HasSqlType<T>,
Add the value to the end of the arguments.
Provided methods
Loading content...Implementors
impl Arguments for MySqlArguments
[src]
type Database = MySql
fn len(&self) -> usize
[src]
fn size(&self) -> usize
[src]
fn reserve(&mut self, len: usize, size: usize)
[src]
fn add<T>(&mut self, value: T) where
T: Encode<<MySqlArguments as Arguments>::Database>,
<MySqlArguments as Arguments>::Database: HasSqlType<T>,
[src]
T: Encode<<MySqlArguments as Arguments>::Database>,
<MySqlArguments as Arguments>::Database: HasSqlType<T>,