Re: [CDBI] Addition of store method
Marius Feraru <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Organization | N0i.Net |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Steinbrunner wrote: > 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. Only if you warn your users *very* consciously about it, as no CDBI triggers/constraints will work when using this tweak. ;-) - -- Marius Feraru -----BEGIN PGP SIGNATURE----- iD8DBQFF1MyxtZHp/AYZiNkRAr4NAJ9kEwH8QxME9OGSFI7z/u7jsU4INgCeI28m m+JZFUOu2xMZfj34rF5Na7o= =H0GU -----END PGP SIGNATURE-----