'Twas brillig, and Matthew Weier O'Phinney at 25/06/09 15:39 did gyre
and gimble:
One of the big hurdles with this is that not every DB flavor honors the
syntax -- which means that we cannot have a single solution at the
abstraction layer, but instead solutions for each adapter type.
If a community contributor is interested in this functionality and
willing to do the legwork to provide it to all offerred adapters, I'd
love to help shephard a proposal through.
I've had this kind of functionality in our database layer for a while
and as I'm converting things slowly to ZF, this is one of the things I
was going to take a look at eventually.
It would be fairly trivial to create an API and a generic implementation
that simply inserts one row at a time, so the the base implementation
should Just Work(tm) on all adapters. Then it would be a simple case of
providing an extended implementation that supports the extended insert
syntax and letting those adapters that support this use that instead.
If no one beats me to it I'll bash something out eventually - no
guarantees on time-scale I'm afraid!
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]