diff --git a/lib/src/sql/param.rs b/lib/src/sql/param.rs index 9d61e9da..738bc2a9 100644 --- a/lib/src/sql/param.rs +++ b/lib/src/sql/param.rs @@ -42,7 +42,7 @@ impl Param { match self.first() { // The first part will be a field Some(Part::Field(v)) => match v.as_str() { - "this" => match doc { + "this" | "self" => match doc { // The base document exists Some(v) => { // Get the path parts