Remove unused functionality
This commit is contained in:
parent
b3c4f982ec
commit
2f033aa996
2 changed files with 0 additions and 14 deletions
|
@ -18,5 +18,4 @@ mod patch;
|
|||
mod pick;
|
||||
mod replace;
|
||||
mod set;
|
||||
mod single;
|
||||
mod value;
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue