Remove the line primitive (#2887)

This commit is contained in:
Jonathan Turner
2021-01-08 14:45:25 +13:00
committed by GitHub
parent eb3c2c9e76
commit ac9909112f
40 changed files with 26 additions and 153 deletions

View File

@ -47,7 +47,6 @@ fn nu_value_to_sqlite_string(v: Value) -> String {
Primitive::Filesize(u) => format!("{}", u),
Primitive::Pattern(s) => format!("'{}'", s.replace("'", "''")),
Primitive::String(s) => format!("'{}'", s.replace("'", "''")),
Primitive::Line(s) => format!("'{}'", s.replace("'", "''")),
Primitive::Boolean(true) => "1".into(),
Primitive::Boolean(_) => "0".into(),
Primitive::Date(d) => format!("'{}'", d),