Im integratting Neo4j and Laravel 5 with NeoEloquent. I cant get a node by a property, only by node id like the example:
User::find(1);
What I want:
User::findByName('Some Name');
Im integratting Neo4j and Laravel 5 with NeoEloquent. I cant get a node by a property, only by node id like the example:
User::find(1);
What I want:
User::findByName('Some Name');
Copyright © 2021 Jogjafile Inc.
The typical way to get Eloquent to do this is:
You could add a static
findByName
function to your User model to do this asUser::findByName
if you like.