Perl Plugin with SQL

Colin Law clanlaw at googlemail.com
Mon Jan 4 16:51:51 EST 2010


2010/1/4 Derek Atkins <warlord at mit.edu>:
> Pascal Vizeli <pascal.vizeli at piraten-partei.ch> writes:
>
>> Hi
>>
>> I'll write a api for gnucash perl plugins. I'll use the DBI class for sql
>> connections.
>>
>> I see that all records store in the table splits and all texts store in
>> transactions. But I'm not understand how I generate the IDs? Is it a hash?
>> Exists a better idee how I implement this interface to perl?
>
> Yes, use SWIG and wrap the GnuCash APIs.
>
> Thou Shalt Not Write to the GnuCash Database Outside the GnuCash APIs.

Tricky to obey this when one is writing a web app based on Ruby on
Rails.  Certainly one does it at ones own risk.

Colin L


More information about the gnucash-devel mailing list