-
- Downloads
Optimize DB calls of dashboard card updates some more - 2 (#29252)
* Transform card data into the same format as that which comes out of the DB * Use `from-json` instead of toucan transformations * Remove unused require * Update docstring and rename to from-parsed-json * Oops, fixed * Remove now * Add docstring * Fix order of docstring * Don't update created_at and updated_at
Showing
- src/metabase/api/dashboard.clj 3 additions, 1 deletionsrc/metabase/api/dashboard.clj
- src/metabase/models/dashboard_card.clj 23 additions, 1 deletionsrc/metabase/models/dashboard_card.clj
- src/metabase/models/interface.clj 4 additions, 3 deletionssrc/metabase/models/interface.clj
- test/metabase/models/dashboard_card_test.clj 65 additions, 40 deletionstest/metabase/models/dashboard_card_test.clj
Please register or sign in to comment