diff --git a/README.md b/README.md index 74e16f2..dc5bc70 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ There are helper functions and data literals for SQL function calls, field quali => ["SELECT FOO(bar), foo.a, @var := foo.bar FROM foo WHERE a = ?" "BAZ"] ``` -To quote identifiers, pass the `:quoting` keyword option to `format`. Valid options are `:ansi`, `:mysql`, or `:sqlserver`: +To quote identifiers, pass the `:quoting` keyword option to `format`. Valid options are `:ansi` (PostgreSQL), `:mysql`, or `:sqlserver`: ```clj (-> (select :foo.a) diff --git a/src/honeysql/format.clj b/src/honeysql/format.clj index d52a2d7..4e7e6ad 100644 --- a/src/honeysql/format.clj +++ b/src/honeysql/format.clj @@ -147,8 +147,8 @@ Instead of passing parameters, you can use keyword arguments: :params - input parameters - :quoting - quoting styling to use for identifiers; one of :ansi, - :mysql, or :sqlserver" + :quoting - quote style to use for identifiers; one of :ansi (PostgreSQL), + :mysql, or :sqlserver. Defaults to no quoting." [sql-map & params-or-opts] (let [opts (when (keyword? (first params-or-opts)) (apply hash-map params-or-opts))