filmov
tv
AdonisJS Tutorial - Query Builder and Lucid ORM [ Build a Simple API - Part 6 ] (2018)

Показать описание
In this video we'll go over Lucid, Query Builder and models.
Adonis uses Knex under the hood to power the Query Builder.
Lucid is the Adonis implementation of the Active Record pattern. It wraps the Query Builder to make it easy and enjoyable to interact with the database and define relationships between our mysql tables.
Together we'll go over some simple ways to use Lucid and compare it to using the Query Builder directly.
Adonis uses Knex under the hood to power the Query Builder.
Lucid is the Adonis implementation of the Active Record pattern. It wraps the Query Builder to make it easy and enjoyable to interact with the database and define relationships between our mysql tables.
Together we'll go over some simple ways to use Lucid and compare it to using the Query Builder directly.
Комментарии