From be42b3e7c9df2c8d10cec614901c134c7f0ce0c3 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 1 Apr 2023 18:48:17 +0100 Subject: [PATCH] Ensure strings are parsed last --- lib/src/sql/value/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/sql/value/value.rs b/lib/src/sql/value/value.rs index 8128f1d7..6ff92148 100644 --- a/lib/src/sql/value/value.rs +++ b/lib/src/sql/value/value.rs @@ -1618,7 +1618,6 @@ pub fn select(i: &str) -> IResult<&str, Value> { map(future, Value::from), map(unique, Value::from), map(number, Value::from), - map(strand, Value::from), map(object, Value::from), map(array, Value::from), map(block, Value::from), @@ -1629,6 +1628,7 @@ pub fn select(i: &str) -> IResult<&str, Value> { map(range, Value::from), map(thing, Value::from), map(table, Value::from), + map(strand, Value::from), )), ))(i) }