Trait diesel::types::ToSql [] [src]

pub trait ToSql<A, DB: Backend + HasSqlType<A>> {
    fn to_sql<W: Write>(&self,
                    out: &mut W)
                    -> Result<IsNull, Box<Error + Send + Sync>>; }

Serializes a single value to be sent to the database. The output will be included as a bind parameter, and is expected to be the binary format, not text.

Required Methods

Implementors