DEV Community

Cover image for Customize Database Queries in AdonisJS
Patrick O'Dacre
Patrick O'Dacre

Posted on

1 3

Customize Database Queries 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 customize Lucid database queries based on user input or other logic to make your API routes more reusable.

This information will help you a lot if you want to create filterable / searchable lists of data.

Links:

Github Repo

Related YouTube Videos

Use Lucid ORM to Query Related Data from a MySQL Database

Apply Constraints to Lucid Relationships in AdonisJS

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

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

Okay