New Hacker

Mike B songofmike at yahoo.com
Thu Sep 1 19:38:40 EDT 2005



 --- Josh Sled <jsled at asynchronous.org> wrote:
 
> Account data is primarily organized in the engine's
> data objects, which
> are located in src/engine/.  The business module
> is
> nicely
> compartmentalized into src/business/, and it's
> "engine"-equivalent is in
> src/business/business-core/.
 
What I'm confused about is how to load/store these
data objects.  We can call this OR mapping or
serialization.  I was under the impression that the
backend storage could change into an actual relational
layer.
  
> What database schema?  What SQL queries?  What OR
> mapping layer?
> GnuCash doesn't have these things, in the same way
> other systems do. 

Right, so as far as I can tell I need to interface
with the storage system by using the Query objects. 
It seems like you can build queries of different
types, and that you build parameters and predicates
for them.  I haven't seen any documentation about how
this really works, and I'm unclear about how to build
hese parameters and predicates (or even what is
possible to build).  It's difficult to follow the code
through several layers of indirection in order to
discover these things, so I'm asking here.  Again, an
example would really help me.  A simple one would be
getting a list of business customers.

Thanks,

- mike



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the gnucash-devel mailing list