adonisjs / lucid

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

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

Closed RomainLanz closed 8 months ago

RomainLanz commented 8 months ago

Hey! 👋🏻

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

Adding the clause variant to findBy and findByOrFail.