I don't thin you can run that one through SQL.
Just write a little script producing stats
Like one of those:
https://github.com/beancount/beanlabs/tree/master/beanlabs/scripts


On Tue, Oct 18, 2022 at 11:09 PM Triple Z <[email protected]>
wrote:

> I have tried BQL like `select count(1) from year >= 2022` but I only get
> the number of postings but not transactions.
>
> Any idea to do that?
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/272b8116-593d-47b2-b043-17423badcb7bn%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/272b8116-593d-47b2-b043-17423badcb7bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhOqkifrq%2B%3DcCmKtM%3DTc4DPPVL-05-7h%3DEnCKKvLSa8dgw%40mail.gmail.com.

Reply via email to