DEV Community

Cover image for Setup and Query Many to Many Relationships in AdonisJS
Patrick O'Dacre
Patrick O'Dacre

Posted on

7 1

Setup and Query Many to Many 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 set up and query many to many relationships.

Links:

Github Repo - Starter Branch
Github Repo - Completed Code

Related YouTube Videos

Load Related Data with Eager Loading
Apply Constraints to Queries
Use Middleware to Stay DRY

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay