Laravel Community Tools by Tighten

phazei

Joined: 11 years ago
Total tricks: 1
Last trick: 11 years ago

Submitted tricks

Since Eloquent doesn't do a real join when using "with" this will add a simple join method without having to worry about the join columns since it's all stored with the models anyway. It will also select all the columns from the joined table with an added prefix of the table name.
phazei 11 years ago 45232