[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: A few comments about SchemeQL
>Agreed. If/when Scheme becomes popular, people will want to use
>different drivers. DBI is one of the supposted advantages of using
>Perl - the same DB interface to any database, including flat text.
How does DBI connect to databases; does it use ODBC?
If you're using an ODBC driver to connect to a database,
there's not much advantage to linking directly to the
driver over using SrPersist. SrPersist just does a little
sanity-checking and conversion of arguments to C format.
You might get a tiny bit of speed by eliminating some of
the argument checks.
If you want to use a driver with a non-ODBC interface, you would,
as Francisco suggests, need to write a suitable unit.
But nearly every database these days supports ODBC.
-- Paul