The binary SQL type.
Schema inference will treat all variants of BLOB
as this type (e.g.
VARBINARY
, MEDIUMBLOB
, etc).
A type which uniquely represents Self
in a SQL query. Read more
HAS_STATIC_QUERY_ID: bool = true
Can the SQL generated by Self
be uniquely identified by its type? Read more
Returns the type id of Self::QueryId
if Self::HAS_STATIC_QUERY_ID
. Returns None
otherwise. Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Fetch the metadata for the given type Read more
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of Vec<u8>
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
See the trait documentation.
The expression being returned
The expression being returned
The expression being returned
The expression being returned
The expression being returned
The returned pointer is only valid for the lifetime to the argument of
from_sql
. This impl is intended for uses where you want to write a new
impl in terms of Vec<u8>
, but don't want to allocate. We have to return a
raw pointer instead of a reference with a lifetime due to the structure of
FromSql
See the trait documentation.
See the trait documentation.
See the trait documentation.