fix: columns w/ dollar sign($) don't need quoting

This commit is contained in:
steve-chavez
2022-07-30 19:50:09 -05:00
committed by Steve Chavez
parent d556cea8ce
commit 84e03a16dd
6 changed files with 20 additions and 4 deletions
+5
View File
@@ -1002,6 +1002,11 @@ spec actualPgVersion = do
[json|[{":arr->ow::cast":" arrow-1 ","(inside,parens)":" parens-1 ","a.dotted.column":" dotted-1 "," col w space ":" space-1"}]|]
{ matchHeaders = [matchContentTypeJson] }
it "will select and filter a column that has dollars in(without double quoting)" $
get "/do$llar$s?select=a$num$&a$num$=eq.100" `shouldRespondWith`
[json|[{"a$num$":100}]|]
{ matchHeaders = [matchContentTypeJson] }
context "binary output" $ do
it "can query if a single column is selected" $
request methodGet "/images_base64?select=img&name=eq.A.png" (acceptHdrs "application/octet-stream") ""