undefined

Lucid

Lucid is AdonisJS' Object Relational Mapping (ORM). It's a first-party package that follows the active record pattern. With it you can easily perform CRUD operations, add database hooks, normalize data, and so much more.

10 Series
152 Lessons
Database

Snippets

AdonisJS
Lucid

Accessing Lucid's Knex Connection Client

Ever need to directly access KnexJS, the query builder Lucid wraps around? Here's how you can do it!

Lucid
AdonisJS

Using Transaction Events To Defer Actions

We can bind handlers to transaction events to easily defer specific actions until after the transaction has been committed and our changes have persisted to the database.

Showing 1 to 2 of 2 results