by beckingz · 3y ago · 0 comments
It will probably have a bunch of JOIN client.id on transaction.client_id etc etc, but it's the easiest way to get started.
When the view stops running fast enough, switch to a scheduled materialized view.
but I think I need to use union to make a single table that is combination of accounting journal tables and view of transaction tables