Hi,

Are query directives and bean-query not intended to be used this way? Or is 
this documented somewhere and I failed to find it?

On Monday, May 5, 2025 at 1:29:18 PM UTC-7 Henry Mitchell wrote:

> Hi,
>
> I am tinkering with migrating from ledger to beancount. In bean-query, I 
> see I can run a query defined as a directive in my ledger with ".run 
> query-name". Is there a way to have the query take a parameter and pass it 
> in from beanquery?
>
> As a trivial example, suppose I wanted to pass a number to limit here:
> 2100-12-31 query "foo" "select date limit %d"
>
> Can I do so? Various attempts at ".run foo 3" seem to fail.
>

-- 
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 visit 
https://groups.google.com/d/msgid/beancount/be03eb75-ecf8-49c9-b7af-6232d8a80059n%40googlegroups.com.

Reply via email to