knex.js 是一个查询构建器,用于 PostgreSQL, MySQL 和 SQLite3。它设计灵活,轻便和有趣。特性:transactionsconnection poolingstreaming queriesboth a promise and callback APIa thorough test suitethe ability to run in the Browser例子:var knex = require('knex')({ dialect: 'sqlite3', connection: { filename: './data.db' }