lib/knex.js
function connection() {
  return {
    ssl: JSON.parse(JSON.stringify(process.env.DATABASE_SSL || "")),
    host: process.env.DATABASE_HOST || "localhost",
    user: process.env.DATABASE_USER || "",
    charset: process.env.DATABASE_CHARSET || "utf8",
    password: process.env.DATABASE_PASS || "",
    database: process.env.DATABASE_NAME || ""
  };
}
function connection() {
  return {
    ssl: JSON.parse(JSON.stringify(process.env.DATABASE_SSL || "")),
    host: process.env.DATABASE_HOST || "localhost",
    user: process.env.DATABASE_USER || "",
    charset: process.env.DATABASE_CHARSET || "utf8",
    password: process.env.DATABASE_PASS || "",
    database: process.env.DATABASE_NAME || ""
  };
}
function connection ( ) { return { ssl : JSON . parse ( JSON . stringify ( process . env . DATABASE_SSL || "" ) ) , host : process . env . DATABASE_HOST || "localhost" , user : process . env . DATABASE_USER || "" , charset : process . env . DATABASE_CHARSET || "utf8" , password : process . env . DATABASE_PASS || "" , database : process . env . DATABASE_NAME || "" } ; }
Return connection configuration.
Return connection configuration .