I am trying to do a single transaction save for 2 related models and cant seem to get the fieldList params correct.
$options = array($fieldList = array()); $this->User->saveAll($this-data, true, $options); But what is the fieldlist for 2 models? Structure wise I mean. Is each Model an array of fields? One array? $fieldList = array( 'ModelA.field_1', 'ModelA.field_2', 'ModelB.field_1', 'ModelB.field_1') Or $fieldList = array( 'ModelA => array( 'ModelA.field_1', ModelA.field_2'), ModelB => array( 'ModelB.field_1', 'ModelB.field_1')); Thanks Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en