adonisjs / lucid

AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more
https://lucid.adonisjs.com/
MIT License
1.02k stars 189 forks source link

feat(base_model): add clause variant to findBy method #1020

Closed RomainLanz closed 3 months ago

RomainLanz commented 3 months ago

Hey! 👋🏻

Same as https://github.com/adonisjs/lucid/pull/1010.

Adding the clause variant to findBy and findByOrFail.