Skip to content

Join Array to the same coloumn  #42

@arinalrifqi

Description

@arinalrifqi

how can I call the values from the table that joined, it joined to the same id of the table,
-------------Model-----------------
public function joinArray() {
return array(
'user|left' => 'user.user_id = notif.notif_sender_user_id',
'user|left' => 'user.user_id = notif.notif_receiver_user_id'
);
}

--------- JS View -------------
{ "data": " // the first value"},
{ "data": " // the second value"},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions