                      (range 0 (dec num-cols)))))))
 
 
-;;; # ------------------------------------------------------------ COLUMN DETAILS  ------------------------------------------------------------
+;;; # ---------------------------------------- COLUMN DETAILS  ----------------------------------------
 
 
 (defn- format-col [col]

                             [foreign-key :refer [ForeignKey]])
            [metabase.util :as u]))

;;; # ------------------------------------------------------------ QUERY DICT ADDITIONAL INFO  ------------------------------------------------------------

(defn- collapse-field [field]
  (into {} (-> field

           :breakout     (mapv collapse-field (:breakout query)))))


;;; # ---------------------------------------- COLUMN RESOLUTION & ORDERING  ----------------------------------------

(defn- breakout-fieldo [{breakout-fields :breakout} field]
  (membero field breakout-fields))
