[Dbix-class] how to avoid adding duplicate row to table
containing unique field/column
edencardim at gmail.com
Sat Oct 15 17:05:45 GMT 2011
>>>>> "Fahad" == Fahad Khan <fahad.a.khan at hotmail.com> writes:
Fahad> Sorry that I am not answering your question directly. As this
Fahad> appears to be for testing, consider writing your test such
Fahad> that it cleans up after itself and reverts any changes to the
Fahad> database. This will also help avoid tests failing
See Test::DBIx::Class for an automated way to do this.
Code Monkey http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
More information about the DBIx-Class