mirror of
https://github.com/isar/rusqlite.git
synced 2025-11-02 23:08:58 +08:00
Test sub-type
This commit is contained in:
@@ -292,6 +292,13 @@ impl ToSql for Value {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> ToSql for ValueRef<'a> {
|
||||
#[inline]
|
||||
fn to_sql(&self) -> Result<ToSqlOutput<'_>> {
|
||||
Ok(ToSqlOutput::Borrowed(*self))
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: ToSql> ToSql for Option<T> {
|
||||
#[inline]
|
||||
fn to_sql(&self) -> Result<ToSqlOutput<'_>> {
|
||||
|
||||
Reference in New Issue
Block a user