Remove unused functionality

This commit is contained in:
Tobie Morgan Hitchcock 2022-03-25 21:11:17 +00:00
parent b3c4f982ec
commit 2f033aa996
2 changed files with 0 additions and 14 deletions

View file

@ -18,5 +18,4 @@ mod patch;
mod pick; mod pick;
mod replace; mod replace;
mod set; mod set;
mod single;
mod value; mod value;

View file

@ -1,13 +0,0 @@
use crate::sql::value::Value;
impl Value {
pub fn single(&self) -> &Self {
match self {
Value::Array(v) => match v.value.first() {
None => &Value::None,
Some(v) => v,
},
v => v,
}
}
}