On Fri, Jul 09, 2004 at 09:06:03AM +0200, Honza Pazdziora wrote:
> 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've talked about it in the past but couldn't find anything with a
quick google. These two give some idea though:

http://search.cpan.org/src/TIMB/DBI_AdvancedTalk_2004/sld083.htm

http://search.cpan.org/src/TIMB/DBI-1.43/t/60preparse.t

There's a basic preparse() implemented in C within the DBI but it
doesn't support the brace-escape format and needs to be redone in
pure-perl. That's high on the list for DBI v2.

Tim.

Reply via email to