This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scheme is too complicated


hjstein@bfr.co.il (Harvey J. Stein) writes:

> One interface I'm familiar with is the one which makes an underlying
> database file look like an associative array (aka hash table).  This
> would mean (make-hash-table) would take some extra args (such as
> file name) & the hash table access routines would be different
> depending on the type of hash table created (gdbm, berkeley db,
> ...).
> 
> Is there another interface for more sophisticated databases?

Well, there has to be, yes.  The hash-table interface is appropriate
where you have a simple key-value database (such as gdbm, etc.,
provide).  

But relational databases provide lots more than this.  And that's what
Perl's DBI tries to abstract.