From: Teemu <te...@io...> - 2003-05-28 19:32:20
|
Hi, I noticed a couple of errors in the OpenInteract::SQLInstall Pod documentation. In the documentation, there are a couple of $cleanup examples, for example: $cleanup = [ { sql_type => 'delete', sql_table => 'sys_group_user', where => "group_id = ? and user_id = ?" }, [ 1, 1 ] ]; Unfortunately this doesn't work. "where =>" should be "sql_where =>" and "field_order => [ qw(group_id user_id) ]" is totally missing. I don't know if this is necessary for SPOPS but atleast method OpenInteract::SQLInstall->transform_data() assumes you have field_order specified. -- Sincerely, Teemu Arina http://www.mimerdesk.org |