Answers for "how to acces db knex"

0

how to acces 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);
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language