We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ede3e commit 05b3b29Copy full SHA for 05b3b29
repl/emoji_cleanup.clj
@@ -58,9 +58,9 @@
58
;; Re-do reactions but now including the key
59
60
61
-(def reactions (d/q '[:find [?r ?m] :where [?r :reaction/message ?m]] (db)))
+(def reactions (d/q '[:find ?r ?m :where [?r :reaction/message ?m]] (db)))
62
(def tx-data (for [[r m] reactions]
63
- [:db/retract r :reaction/message ?m]))
+ [:db/retract r :reaction/message m]))
64
65
(run! (partial d/transact (conn)) (partition-all 1000 tx-data))
66
0 commit comments