Skip to content

New option to wrap database hits #19

@vermiculus

Description

@vermiculus

It would be really nice if a function could be provided to conman/bind-connection that would wrap database-touching functions.

Something like

(conman/bind-connection *db*
  {:wrapper-func log-it}
  "sql/queries.sql")

where a theoretical create-user! call would be defined as

(defn create-user! [map]
  (REAL-create-user (log-it map)))

or something to that effect.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions