>Now for the $15,000 question: does anyone else agree with this ? If
>PEAR::DB is not abstracting the database what is the purpose of such a
>library ?
a) unifed API
You havn't to think about the name of the command to send a query,

b) it offers helpful functionality
I.e. don't care about quoting and escaping in SQL-Statments, the query command
does it for you. PEAR:DB contains different possibilties to access the result
set... (Yes you can write such functions too, but why recreate the wheel?)

c) _helps_ to keep portability
You have 'only' to change the SQL-statments, not the functions.

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to