Hello, I am writing a tool that should operate on a selection of entries from a Benacount ledger. I could come up with my own little DSL to do the selection, but we already have BQL, thus I think reusing it would be nice.
To this extent, I was expecting to do simply something like: from beancount.query import query query.run_query(entries, options, f"PRINT FROM {where:}") and get back a list of entries, but it crashes. Apparently the PRINT command is not supposed to be executed in this context. Is there a way to use BQL to filter the entries in a ledger? Thank you. Cheers, Dan -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/beda2376-5215-9418-3428-5e69c1cde8d7%40grinta.net.