Re: [CDBI] Addition of store method

David Steinbrunner <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <C1F9FCEA.B65E%[email protected]>
Michael G Schwern wrote:

> Sounds like MySQL's "INSERT ... ON DUPLICATE KEY UPDATE"

Right.

Having such a store method overridden on the CDBI::mysql level would likely
be a good idea to take advantage of that syntax, too.  Currently I would
like to just have the feature in place and then optimizations at the DBD
level could be taken into consideration.

--
David Steinbrunner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.