Questions tagged [lucid]

Lucid is the AdonisJS implementation of the active record pattern.

Lucid is the AdonisJS implementation of the active record pattern.

If you’re familiar with Laravel or Ruby on Rails, you’ll find many similarities between Lucid and Laravel’s Eloquent or Rails' Active Record.

Lucid documentation

62 questions
0
votes
1 answer

How to run cascade seed & factories in AdonisJS?

I'm setting up a new application I'm developing using the framework AdonisJS, I'm on the process of creating seeds and factories for my models in order to manually seed data to database easily. However, my models are related to one another and I'm…
-1
votes
1 answer

how to convert snake casing to camel casing in adonis lucid database field

I have created migration in camel casing but when i run migration it will automatically convert it into a snake casing. how i can make it camel case by default. public async up() { this.schema.createTable(this.tableName, (table) => { …
Mradul Jain
  • 62
  • 12
1 2 3 4
5