[MBQL lib] Add `Lib.extractionExpression` to get the expression directly (#41885)
Previously they could only be added to the query with `Lib.extract`, but this returns the expression the extract would add.
Showing
- docs/developers-guide/mbql-library-changelog.md 2 additions, 1 deletiondocs/developers-guide/mbql-library-changelog.md
- src/metabase/lib/core.cljc 2 additions, 1 deletionsrc/metabase/lib/core.cljc
- src/metabase/lib/extraction.cljc 10 additions, 5 deletionssrc/metabase/lib/extraction.cljc
- src/metabase/lib/js.cljs 9 additions, 0 deletionssrc/metabase/lib/js.cljs
- test/metabase/lib/extraction_test.cljc 14 additions, 0 deletionstest/metabase/lib/extraction_test.cljc
Please register or sign in to comment