python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Run first migration SQLite with Adinis 5 - Cannot find module '@vscode/sqlite3'
When i run this command "node ace migration:run" the terminal show me this error:
Knex: run
$ npm install sqlite3 --save
Cannot find module '@vscode/sqlite3'
...
...
...
I am using Adonis JS...
Madson Lima
Votes: 0
Answers: 1
How to load only existing preload data in adonis js
I am working in adonis js I have a relation between my category table and my dishes table but when i preload dishes it loads dishes which have empty relation as well
const data = await Category
...
rahul modi
Votes: 0
Answers: 1
How does one find existence of (Adonis Lucid Many-to-Many) children records on one parent that meet a criteria?
I'm trying to find existence of certain Permissions on a single parent Role (many-to-many).
const roles = await Role
.query()
.preload('permissions')
this.role = roles.find(role => role.id ===...
Jordan Nelson
Votes: 0
Answers: 1
AdonisJS migration to postgresql /kubernetes
hello i am new in kubernetes and i test the deployment of a small app in adonis js with db postgresql , so i want to know how to make a migration of the model present in adonis js automatically after ...
Ilyes Elayeb
Votes: 0
Answers: 0