Ash FrameworkAF
Ash Framework3y ago
37 replies
jkwchui

AshCsv calculations update

I am drafting a little beginner tutorial for Ash, and figure that AshCsv + LiveBook might be a good way of minimal setup + transparency to what has changed in "the database".

I have setup a simple calculation (of a weighed average), and was expecting that once it's been loaded (Ash.Query.load([:weighed_average])) the entries would be written to the CSV file. That is not happening.

My question is, what is the right way of getting calculated values back into the file? (Or is this bad practice?)
Was this page helpful?