Liking cljdoc? Tell your friends :D

metabase.query-processor.middleware.add-source-metadata


add-source-metadata-for-source-queriesclj

(add-source-metadata-for-source-queries qp)

Middleware that attempts to recursively add :source-metadata, if not already present, to any maps with a :source-query.

:source-metadata is information about the columns we can expect to come back from the source query; this is added automatically for source queries added via the card__id source table form, but for explicit source queries that do not specify this information, we can often infer it by looking at the shape of the source query.

Middleware that attempts to recursively add `:source-metadata`, if not already present, to any maps with a
`:source-query`.

`:source-metadata` is information about the columns we can expect to come back from the source
query; this is added automatically for source queries added via the `card__id` source table form, but for *explicit*
source queries that do not specify this information, we can often infer it by looking at the shape of the source
query.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close