Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
636 stars 200 forks source link

Allow Multiple Connections for Laravel 5.4 #238

Closed v4lerio closed 4 years ago

v4lerio commented 7 years ago

This will allow a custom definition of the connection to use in each single model.

The following line must be added to your model to overwrite the default connection:

protected $connectionName = "YOUR_CONNECTION_NAME";

Mulkave commented 6 years ago

Sounds great. Please rebase to be able to merge.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.