Backend customisation and be->price_lookup

Neil Williams linux at
Thu Sep 22 15:19:56 EDT 2005

On Thursday 22 September 2005 7:54 pm, David Hampton wrote:
> On Thu, 2005-09-22 at 13:07 +0100, Neil Williams wrote:
> > be->price_lookup is only currently available within the GnuCash tree and
> > will be unusable once QOF is spun out as an external library, hence the
> > new mechanism.
> >
> > Alternatively, can price_lookup be dropped and a generic (QofQuery) query
> > used already?
> I think thats a different discussion.  The be->price_lookup hook is only
> used by the SQL and RPC backends, and is used to populate the in memory
> PriceDB prior to a lookup attempt.  The hook isn't needed on the file
> backend as the PriceDB is already fully populated.  If you can replace
> both of these functions (db population and db lookup) with a single
> QofQuery that would be welcome.

OK. I'll take a look. Extensions are only an idea. I'm not that fussed if they 
don't make it into the real world.


Neil Williams

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the gnucash-devel mailing list