"Code tables" as general purpose escape hatches...

Write some backend Clojure code - the system interprets it as a SQL table, use it as a SQL table. Filter, join, aggregate, etc. Better yet, save the "code table" as a view -and in production your end-users can use it and never even know it's running code.
Disclaimer: This doesn't mean you need to know Clojure to use this tool at all. But if you want to dabble, it might take your "calculated fields" to a whole new level.
Hitting an HTTP API, doing some machine learning, anything that doesn't perfectly fit a SQL model - yet it gets treated as SQL data on the front-end.
Some examples...
SQL tables? Dope.
— Ryan Robitaille (@ryrobes) November 20, 2023
Clojure code that *acts* as a SQL table? Also dope. pic.twitter.com/2IDqfH2SMf
More #Clojure seen through a "SQL looking glass". A simple thing, but becomes more interesting as code like this can be saved as a view & non-tech users can access it as such (*& JOIN w it*).
— Ryan Robitaille (@ryrobes) November 21, 2023
Bonus: code running on external nREPL server w diff libs than the core. pic.twitter.com/pmZSQH6m5s
Dashboard Tool Shit Test #143:
— Ryan Robitaille (@ryrobes) November 26, 2023
Can it compose SQL, HTTP calls, mixed media?
Yes. (everything speaks the same language... data) pic.twitter.com/2H2sQizhBn