Skip to content

Instantly share code, notes, and snippets.

@jlongster
Created February 15, 2016 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlongster/84e2e1ab2cb8d1db2002 to your computer and use it in GitHub Desktop.
Save jlongster/84e2e1ab2cb8d1db2002 to your computer and use it in GitHub Desktop.
(defmethod mutatef 'transaction/update
[{:keys [state ast]} _ params]
{:action (fn []
(run-sql
state :transactions schema
(sql/generate-update :transactions ast schema))
nil)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment