David Osguthorpe <david.osgutho...@gmail.com> writes:

> what is the Query interface - is that the libqof functions??

yes, see qofquery.h

> Is there an example which shows how this is done - I dont remember
> seeing any query functions
> for budgets in gnc-budget.c

They wouldn't be there.  QofQuery is a generic framework used for
everything.

But much of GnuCash doesn't use it because it has always loaded all data
from the data store into RAM and then used that cache.  For multi-user
support it cannot do that anymore and all uses must change to use the
Query interface to pull from the database.

> David

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warl...@mit.edu                        PGP key available
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to