beanquery icon indicating copy to clipboard operation
beanquery copied to clipboard

Migration instructions

Open tarioch opened this issue 8 months ago • 12 comments

Are there any migration instructions anywhere?

I see https://github.com/beancount/beanquery/blob/master/CHANGES.rst which describes some of the changes but trying to convert my code from beancount 2 over to beanquery is right now more a trial and error with some looking through the source.

e.g. I used to do

value(position, #"2020-12-31")

and I think now I need to do

value(position, date("2020-12-31"))

As I'm embedding this into my own code, there are also changes with the returned data on the run_query, before the rows were named tuples, now I think they only contain the data and I have to get the names out of the types, correct?

tarioch avatar Jun 21 '24 11:06 tarioch