On Mon, Feb 21, 2000 at 10:44:04PM -0500, Andrew Turner wrote:
> On Tue, Feb 22, 2000 at 01:50:37AM +0000, Tim Bunce wrote:
> > It does need a better name, and description.
> >
> > What does "Wrapper for DBI that generates SQL" actually mean?
> > You could post the docs here, that would help.
>
> I'll include the description from the POD below. The complete POD is pretty
> long. It can be found here:
>
> http://members.mint.net/turner/db/html/SQL/DBI.html
>
> By the way, the module itself lives here:
>
> http://members.mint.net/turner/db/SQLDBI-latest.tar.gz
>
> This module provides methods for doing manipulating database tables. It
> provides methods for all of the more important SQL commands (like SELECT,
> INSERT, REPLACE, UPDATE, DELETE).
>
> It endeavors to produce an interface that will be intuitive to those already
> familiar with SQL.
>
> Notable features include:
>
> * data_source generation for some DBD drivers.
> * Can check to make sure the connection is not stale and reconnect if it is.
> * Controls statement handles for you.
> * Can delay writes.
> * Generates complex where clauses from hashes and arrays.
> * Shortcuts (convenience functions) for some common cases. (Like
> select_all_to_hashref.)
I can't see any good reason for it to be in the SQL:: category. It's
actually hiding SQL from the user. If I was looking for a module that
let me avoid SQL when using the DBI then I wouldn't look in the SQL::
category.
The DBIx:: category is where most DBI extensions live and this is certainly
a DBI extension.
How about DBIx::Abstract, DBIx::AbstractSQL, etc?
Tim.