You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sorry, ignore this i had two Datatables libraries in my project which was confusing me.
I need to return a new builder that jojns two tables. In the section named "The Query" you say to add a function query().
I tried and it seems to do nothing, not even called.
I solved by overriding the following function in my custom Class:
public function builder()
{
return User::join('purchases', 'users.id', '=', 'purchases.user_id');
}
Beta Was this translation helpful? Give feedback.
All reactions