Trait sqlx::Arguments[][src]

pub trait Arguments<'q>: Send + Default {
    type Database: Database;
    fn reserve(&mut self, additional: usize, size: usize);
fn add<T>(&mut self, value: T)
    where
        T: 'q + Send + Encode<'q, Self::Database> + Type<Self::Database>
; }
Expand description

A tuple of arguments to be sent to the database.

Associated Types

Required methods

Reserves the capacity for at least additional more values (of size total bytes) to be added to the arguments without a reallocation.

Add the value to the end of the arguments.

Implementors