Its just a replica of the insert version with the verb INSERT changed to
REPLACE in the query string, so I don't see how this can break anything
given that MySql supports this form of query string. I had already patched
my instance of the code so I know it works. I will try to modify an example
for the distribution.
On Tue, Mar 30, 2010 at 1:52 PM, Warren Young <mysqlpp@stripped> wrote:
> On Mar 30, 2010, at 11:55 AM, David Walthour wrote:
> > It seems for symmetry reasons (and that I really want this function) that
> > there should be a function for replace that takes two iterators just like
> > insert does:
> Seems reasonable to me.
> I trust you've tested that it does what you want? It doesn't scratch my
> itch, so all I can say is that it looks sane, it builds, and it doesn't
> break the test suite.
> Perhaps you could modify one of the existing examples to show a good use of
> this new function, or create a new one?
> > template <class Iter>
> > Query& replace(Iter first, Iter last)
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe: