Reputation: 58796
I want to be able to have add-watch to call a callback when a database table changes (via clojureql). How can I get this to work?
Upvotes: 0
Views: 94
Reputation: 214
Thats an interesting idea. Right now, all table references in ClojureQL are nothing but syntax trees which do nothing before getting de-referenced. This means that what you ask isn't directly possible.
I will be happy to consider it for inclusion in a post 1.0 release, if you would please make an issue on Github.
Thanks, Lau
Upvotes: 2