【文件属性】:
文件名称: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)
网友评论
相关文章
- knex:PostgreSQL,MySQL和SQLite3的查询构建器,旨在灵活,可移植且易于使用
- feathers-objection:Feathers数据库适配器,用于Objection.js,这是一个基于KnexJS SQL查询构建器的ORM,用于Postgres,Redshift,MSSQL,MySQL,MariaDB,SQLite3和Oracle。 从羽毛-叉子分叉
- MySQL、Oracle、PostgreSQL、SQLite、SQL Server、MariaDB 和/或 MongoDB
- Navicat Premium11.28 for mysql,sqlserver,oracle,sqlite,postgresql,mariaDB