[−][src]Trait sqlx_core::value::ValueRef
A reference to a single value from the database.
Associated Types
Loading content...Required methods
fn to_owned(&self) -> <Self::Database as Database>::Value
Creates an owned value from this value reference.
This is just a reference increment in PostgreSQL and MySQL and thus is O(1). In SQLite,
this is a copy.
fn type_info(&self) -> Cow<<Self::Database as Database>::TypeInfo>
Get the type information for this value.
fn is_null(&self) -> bool
Returns true if the SQL value is NULL.