insert_update on association tables #22

Closed
Surt opened this Issue Sep 16, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@Surt

Surt commented Sep 16, 2011

Hi,

i was triying to insert_update on a referenced table and seems that when inserted it does not use the reference

content 1-------many content_language

    $onecontent = $db->content[10];
    $onecontent->content_language()->insert(array('alias'=>'atest'));  // working, resulting row is referencing the content 10
    $contenidos->content_language()->insert_update(array('alias'=>'anothertest'), array('title'=>'anothertest', 'alias'=>'anothertest'));    // not working

@vrana vrana closed this in 3431a24 Sep 17, 2011

@Surt

This comment has been minimized.

Show comment Hide comment
@Surt

Surt Sep 19, 2011

Fast as hell!

Surt commented Sep 19, 2011

Fast as hell!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment