loopback find or create

Solutions on MaxInterview for loopback find or create by the best coders in the world

showing results for - "loopback find or create"
Betsy
16 Apr 2017
1 await server.models.Role.findOrCreate(
2 	{where: {name: val} },
3 	{name: val}
4 );