Cómo acceder a DB Knex
const options = {
client: 'mysql2',
connection: {
host: '127.0.0.1',
user: 'user12',
password: 's$cret',
database: 'mydb'
}
}
//These are the connection options for MySQL.
const knex = require('knex')(options);
Possessed Dolphin