I need to port some functionality from the original system, and it is done using custom queries with the "ON DUPLICATE KEY UPDATE".
Can it be done using the Model/Schema/Result? Do I need to write my own FULL query?, how? Here is the reason, just in case: - The target table is a multilanguage and multiversion Preferences table with key/value pairs. - I have 3 column indexes: theKey, theLang and theVersion. - So, when I save theValue, it updates an existing row using those indexes, or create a new one if needed. Thank you in advance
_______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
