GC, QOF and queries
Derek Atkins
warlord at MIT.EDU
Thu Nov 2 22:04:12 EST 2006
Quoting Phil Longstaff <plongstaff at rogers.com>:
> On Thu, 2006-02-11 at 16:53 -0500, Chris Shoemaker wrote:
>> On Thu, Nov 02, 2006 at 08:47:30AM -0500, Phil Longstaff wrote:
>> > I have started working on a gda backend and am starting with a QofQuery
>> > -> SQL translator.
>>
>> Have you looked at just directly using the GdaQuery objects? You can
>> constuct an abstract query out of GdaQueryFieldFields,
>> GdaQueryFieldValues and such. Then, libgda will emit the
>> provider-specific SQL for that query.
>
> I hadn't yet. I had an older version of libgda which didn't have
> GdaQuery. I've downloaded the latest version and am looking at it.
What version of LibGDA do you need to get GdaQuery? Is libgda-1.9.100
recent enough? Or do you need something more recent than that? (I ask
because 1.9.100 is what FC5 has).
>> Anyway, try to avoid writing the SQL emitter, if you can.
>
> I don't really want to gut the core of GC and rebuild it around Gda.
Probably a good idea...
> Phil
-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
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list