   nil)
 
 (defn set-default-quoting-style!
-  "Set the default quoting style that should be used to quote identifiers. Defaults to `:ansi`, but you can instead set
-  it to `:mysql` or `:sqlserver`."
+  "Set the default quoting style that should be used to quote identifiers. Defaults to `:ansi`, but you can instead
+  set it to `:mysql` or `:sqlserver`."
   [new-quoting-style]
   (reset! default-quoting-style new-quoting-style))
 
 (defn quoting-style
-  "Fetch the HoneySQL quoting style that should be used to quote identifiers. One of `:ansi`, `:mysql`, or `:sqlserver`.
+  "Fetch the HoneySQL quoting style that should be used to quote identifiers. One of `:ansi`, `:mysql`, or
+  `:sqlserver`.
 
   Returns the value of `*quoting-style*` if it is bound, otherwise returns the default quoting style, which is
   normally `:ansi`; this can be changed by calling `set-default-quoting-style!`."

  (not (nil? (find-protocol-method models/IModel methodk model))))

(defn update!
  "Update a single row in the database. Returns `true` if a row was affected, `false` otherwise. Accepts either a single
  map of updates to make or kwargs. `entity` is automatically resolved, and `pre-update` is called on `kvs` before the
  object is inserted into the database.

     (db/update! 'Label 11 :name \"ToucanFriendly\")
     (db/update! 'Label 11 {:name \"ToucanFriendly\"})"

  (jdbc/query (connection) (honeysql->sql honeysql-form) options))

(defn reducible-query
  "Compile `honeysql-from` and call `jdbc/reducible-query` against the application database. Options are passed along
  to `jdbc/reducible-query`. Note that the query won't actually be executed until it's reduced."
  [honeysql-form & {:as options}]
  (jdbc/reducible-query (connection) (honeysql->sql honeysql-form) options))

