Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Join Array to the same coloumn #42

Open
arinalrifqi opened this issue Jan 31, 2018 · 0 comments
Open

Join Array to the same coloumn #42

arinalrifqi opened this issue Jan 31, 2018 · 0 comments

Comments

@arinalrifqi
Copy link

arinalrifqi commented Jan 31, 2018

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"},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant