The v1.0.8 has been released with the following new elegant features:
- Add the ability to order the result using the
HasOne
,HasMany
,BelongsTo
, andBelongsToMany
relationships which keeps you from performing the "join" manually. - Add the ability to use the
Local Scopes
andGlobal Scopes
in one place.
In Laravel, ordering results by model relationships typically requires manual "join" queries, which can be time-consuming. Easy Model simplifies this process by intelligently guessing the foreign and primary keys needed for the join, based on the relationship type. Furthermore, it allows you to use Local and Global Scopes seamlessly in one place, WITHOUT overriding the global scopes already defined in the model.
Also, it comes with the following improvements:
Fix the issue of ordering the result by model relationship.
Optimize the query time.
Full Changelog: v1.0.7...v1.0.8
Enjoy and donβt miss out on the next release. β¨
Top comments (0)