use std::borrow::Cow;
use sqlx_core::value::{Value, ValueRef};
use crate::{FbTypeInfo, Firebird};
#[derive(Debug)]
pub struct FbValue;
impl Value for FbValue {
type Database = Firebird;
fn as_ref(&self) -> FbValueRef<'_> {
todo!()
}
fn type_info(&self) -> Cow<'_, FbTypeInfo> {
todo!()
}
fn is_null(&self) -> bool {
todo!()
}
}
enum FbValueData<'r> {
Value(&'r FbValue),
}
pub struct FbValueRef<'r>(FbValueData<'r>);
impl<'r> ValueRef<'r> for FbValueRef<'r> {
type Database = Firebird;
fn to_owned(&self) -> FbValue {
todo!()
}
fn type_info(&self) -> Cow<'_, FbTypeInfo> {
todo!()
}
fn is_null(&self) -> bool {
todo!()
}
}