Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

339 B
Raw Blame
(ns macros.metabase-enterprise.database-routing.e2e-test)

(defmacro with-temp-dbs! [bindings & body]
  `(let [~@(interleave bindings (repeat nil))]
     ~@body))

(defmacro with-routing-setup! [[router-binding destinations] & body]
  `(let [~router-binding nil
         ~@(interleave (map first destinations) (repeat nil))]
     ~@body))