How to get a list of all (cached) transactions?

Dave Peticolas dave@krondo.com
Tue, 06 Mar 2001 13:19:09 -0800


Derek Atkins writes:
> Hi,
> 
> What's the best way to get a list of all the transactions in an
> accountgroup, recursively?  At least, I'm assuming the 'sync()'
> Backend callback is expected to act recursively on the children
> of all accounts, so I need a way to determine all the transactions
> in all the accounts.
> 
> It sounds like all the staged traversal code is non-recursive...
> Is there a documented way to do this?

Hmm, the docs for xaccGroupForEachTransaction are wrong.
It *does* recursively descend the hierarchy. I will fix
this.

Anyway, xaccGroupForEachTransaction is probably the best
way.


dave