eloquent-power-joins icon indicating copy to clipboard operation
eloquent-power-joins copied to clipboard

The Laravel magic you know, now applied to joins.

Results 21 eloquent-power-joins issues
Sort by recently updated
recently updated
newest added
trafficstars

First of all: Thank you for the awesome package and happy easter :rabbit: ! In our current project, we are using the relationshipJoins with various many-to-many relations, but do not...

enhancement
good first issue

We're attempting to use this package to easily swap out our queries written with `whereHas` to use joins instead. However, when we went to change some of our queries to...

Firstly, thanks for a great package, I use it as part of a datatables style query helper. I have a one of many relation between User and Posts, so a...

At the moment we install all our dependencies with the highest minor & patch number. Because this project support all major versions from the beginning (`X.0`) we should also test...

The first commit includes only the cs fixer setup, (config, ci action) https://github.com/kirschbaum-development/eloquent-power-joins/pull/143#issuecomment-1774179677 ref: #143

Just another one quality scoped PR. Adding some typed properties and return types, plus two deletions that are pointed below @luisdalmolin is up to your decision, again

WhereHas equivalent is provided in the docs, oddly whereDoesntHave is not. I was wondering why whereDoesntHave is not supported it's as useful as whereHas.

Hello, I join the table attributes with a MoprhMany to lookups with lookupables. In attributes I create the relation in this way `return $this->morphToMany(Lookup::class, 'lookupable')->where('lookups.type', 'attribuut_datatype');` I call the powerjoinfunction:...

I have a query: ```php Place::query() ->powerJoinDoesntHave('storageContainers') ->get() ``` Err: SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "storagecontainers" LINE 1: select "places".*, count(storageContainers.id) as storageCon.. generated sql...

The package documentation says that to apply global scopes we have to call $join->withGlobalScopes(), but if they are global scopes, it doesn't make sense for me to have to call...