I thought I responded to this, but I guess I didn't.

I tried that syntax and it didn't work. I'm assuming the support just 
doesn't exist right now.

As maintainer of Ledger, would you be willing to merge a pull request to 
support querying account information if I were to try to implement it?
I imagine the best implementation would be exposing all information via a 
struct-like syntax (as in your example). I can also run example syntax
by you before implementing anything, if that makes things easier.

On Monday, September 2, 2019 at 11:22:10 AM UTC-7, John Wiegley wrote:

> >>>>> "RG" == Richard Grayson <[email protected] <javascript:>> writes: 
>
> RG> = /^Income/ and balance(Assets:Budgets:Foo) <= $60 
> RG>     [Assets:Budgets:Foo]    0.1 
> RG>     [Assets:Savings]            -0.1 
>
> If such support existed -- and I'm not sure it does -- the syntax would 
> likely 
> be: 
>
>     = expr account =~ /^Income/ and account("Assets:Budgets:Foo").amount 
> <= $60 
>
> John 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" 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/ledger-cli/c93028b6-b530-4400-b6e8-2d2458b3977c%40googlegroups.com.

Reply via email to