DEV Community

Cover image for Apply Constraints to Lucid Relationships in AdonisJS
Patrick O'Dacre
Patrick O'Dacre

Posted on

Apply Constraints to Lucid Relationships in AdonisJS

Subscribe to my YouTube channel for more tutorials on working with VueJS and AdonisJS -- an MVC framework for NodeJS!

In this video I show you how to use Lucid to apply runtime constraints to any related data you add to your main query. ie: Limiting related customer projects to only those that are incomplete.

Links:

Github Repo

Related YouTube Videos

Use Lucid ORM to Query Related Data from a MySQL Database

Discussion (0)