     (lib/not-found {:id dataset-id})))
 
 (defn update-meta
-  "Update dataset meta with id. Body should conform..."
   [tenant-conn id {:strs [name]}]
   (update-dataset-meta tenant-conn {:id id :title name})
   (lib/ok {}))

            order-by-expr)))

(defn fetch-metadata
  "Fetch dataset metadata (everything apart from rows) with id"
  [conn id]
  (if-let [dataset (dataset-by-id conn {:id id})]
    (let [columns (remove #(get % "hidden") (:columns dataset))]

      (let [v (delete-maps-by-dataset-id tenant-conn {:id id})](lib/ok {:id id})))))

(defn update
  [tenant-conn config dataset-id {refresh-token "refreshToken"}]
  (if-let [{data-source-spec :spec
            data-source-id :id} (data-source-by-dataset-id tenant-conn
