Look for the HAS_ACCOUNT() function if I recall correctly

On Sun, Oct 10, 2021, 04:49 Juan Antonio Navarro Pérez <
[email protected]> wrote:

> I would like to write a query that matches all postings from transactions
> that involve a particular account. For example something like:
>
>   SELECT date, account, position FROM account ~ "Assets:Foo"
>
> Where I want to see not just postings for "Assets:Foo" (as WHERE account ~
> "Assets:Foo" would do); but also postings for Income/Expenses showing the
> accounts where the units in Assets:Foo are coming from/going to.
>
> Is such a thing possible?
>
> --
> 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/09fc9b9a-5f91-41d2-8194-c41646a9ab31n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/09fc9b9a-5f91-41d2-8194-c41646a9ab31n%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%2BhPoSu8wfue7zbN%3DF9ZvrycZBZEBH_oWHoh%3Dvk4qyCJsig%40mail.gmail.com.

Reply via email to