Advertisement
Guest User

Untitled

a guest
Jan 10th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defn max-block [conn]
  2.   (let [item (d/q '[:find (max ?block_nr)
  3.                     :where [_ :item/block_nr ?block_nr]]
  4.                   (d/db conn))]
  5.     (touch conn item)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement