On Thu, Jul 08, 2004 at 06:37:51PM +0100, Tim Bunce wrote: > > > > I strongly suggest that the standard DBI v2 interface have > > native/standard support for named bind variables, in the SQL-1999 > > style like ":foo". > > I hope that will become practical when preparse() is implemented.
Could you please point me to some doc / post / thread where I could find more info about the relationship between :foo and preparse()? I'm currently supporting ? and :foo in DBD::XBase on the driver level. It'd be great if I could use DBI for this task. > > I suggest that this is not a trivial task > > I suggest you're right. :-)) > Note that the test suite will not be trying to test the database, > just the driver. And only those parts of the driver behaviour > mandated by the DBI spec. Drivers will still need their own tests > for any driver-specific behaviour. The test suite could provide sets of "nonstandard" tests that the driver author would invoke simply by saying "and run these tests for qqiweuuqweiw feature as well". Me being lazy, I admit I do not test everything that would be needed to make DBD::XBase fully tested. If I could specify what features my driver (= the database) supports and have tests run for me, that'd be great. Of course, the ->func calls and driver_ attributes will still need to be done by hand. But maybe while doing it by hand driver authors will even find ways of providing the functionality using native DBI ways. -- ------------------------------------------------------------------------ Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/ .project: Perl, mod_perl, DBI, Oracle, large Web systems, XML/XSL, ... Only self-confident people can be simple.
