fix typo in example

This commit is contained in:
Sean Corfield 2022-04-23 15:45:10 -07:00
parent e45ea8586e
commit fdc70c67a9

View file

@ -65,7 +65,7 @@ Requiring the namespace automatically registers these operators for use in expre
user=> (require '[honey.sql.pg-ops :refer [regex]]) user=> (require '[honey.sql.pg-ops :refer [regex]])
nil nil
user=> (sql/format {:select [[[regex :straw [:inline "needle"]] :match]] :from :haystack}) user=> (sql/format {:select [[[regex :straw [:inline "needle"]] :match]] :from :haystack})
["SELECT straw ~ 'needle` AS match FROM haystack"] ["SELECT straw ~ 'needle' AS match FROM haystack"]
``` ```
## JSON/JSONB ## JSON/JSONB