- has
- whereHas
- doesntHave
- whereDoesntHave
- withCount (except with prefixes)
On composer.json
add the following:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Dibbyo456/laravel-cross-database-subqueries"
}
],
"require": {
"hoyvoy/laravel-cross-database-subqueries": "dev-main"
},
In your Models
extends from: Hoyvoy\CrossDatabase\Eloquent\Model
- >=8.1
- MySQL
- MariaDB
- PostgreSQL
- SQL Server
If you find an issue please report it or contribute by submitting a pull request.