feathers-knex:KnexJS 的服务适配器是 PostgreSQL、MySQL、MariaDB、Oracle 和 SQLite3 的查询构建器

时间:2021-07-24 16:56:40
【文件属性】:
文件名称:feathers-knex:KnexJS 的服务适配器是 PostgreSQL、MySQL、MariaDB、Oracle 和 SQLite3 的查询构建器
文件大小:184KB
文件格式:ZIP
更新时间:2021-07-24 16:56:40
feathersjs feathers-service-adapter knexjs JavaScript 羽毛膝关节 的数据库适配器,Postgres、MSSQL、MySQL、MariaDB、SQLite3 和 Oracle 的 SQL 查询构建器。 npm install --save mysql knex feathers-knex 重要提示: feathers-knex实现了和。 注意:您还需要为要使用的 DB。 应用程序接口 service(options) 返回使用给定选项初始化的新服务实例。 const knex = require ( 'knex' ) ; const service = require ( 'feathers-knex' ) ; const db = knex ( { client : 'sqlite3' , connection : { filename : './db.sqlite' } } ) ; // Create th
【文件预览】:
feathers-knex-master
----.gitignore(615B)
----package.json(2KB)
----package-lock.json(618KB)
----.travis.yml(65B)
----LICENSE(1KB)
----CHANGELOG.md(41KB)
----types()
--------tslint.json(136B)
--------tsconfig.json(544B)
--------index.test.ts(504B)
--------index.d.ts(1KB)
----.github()
--------stale.yml(1005B)
--------contributing.md(6KB)
--------issue_template.md(714B)
--------pull_request_template.md(1KB)
--------workflows()
----README.md(11KB)
----.istanbul.yml(253B)
----.mocharc.json(100B)
----lib()
--------index.js(9KB)
--------error-handler.js(3KB)
--------hooks.js(2KB)
----.npmignore(100B)
----test()
--------service-method-overrides.test.js(3KB)
--------index.test.js(15KB)
----.editorconfig(214B)

网友评论