Verified Commit a1fa95ee authored by Aral Balkan's avatar Aral Balkan
Browse files

Clean up IncompleteQueryProxy class

parent 6a42c730
......@@ -12,7 +12,7 @@
// ╰──────────────┬─────────────╯
// complete
//
// Note that a connective like and or or will also return an incomplete
// Note that a connective like and or or will also return an incomplete
// query proxy.
//
// If you need a good introduction to predicates, see:
......@@ -85,7 +85,7 @@ class IncompleteQueryProxy {
updatedQuery += '.toLowerCase()'
}
value = `'${value}'`
// If the propery ends with our custom CaseInsensitive, remove the suffix
// If the property ends with our custom CaseInsensitive, remove the suffix
// so that it’s correct JavaScript.
property = property.replace('CaseInsensitive', '')
updatedQuery += `.${property}(${value})`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment