SQLdown:用于升级的sql后端

时间:2024-06-06 04:54:29
【文件属性】:

文件名称:SQLdown:用于升级的sql后端

文件大小:11KB

文件格式:ZIP

更新时间:2024-06-06 04:54:29

JavaScript

SQLdown 一个带有knex的levelup后端(已测试sqlite3,postgres和mysql,并可能使用websql)。 npm install --save sqldown 另外,它没有任何数据库后端,因此您需要自己安装这些数据库,其中之一 npm install --save sqlite3 npm install --save pg pg-query-stream npm install --save mysql 在节点位置应该是连接字符串(例如postgres://username:password@localhost/database ),如果它不是以'dbType://'开头,则假定它是本地sqlite3数据库的路径。 表默认为sqldown,但可以通过传递table选项或设置查询参数( pg://localhost/database?table=table


【文件预览】:
SQLdown-master
----.travis.yml(549B)
----iter-stream.js(2KB)
----index.js(8KB)
----package.json(1KB)
----test()
--------test.js(5KB)
--------index.html(54B)
--------testBrowser.js(48B)
--------testCommon.js(3KB)
----encoding.js(775B)
----iterator.js(5KB)
----license.md(1KB)
----.gitignore(162B)
----README.md(2KB)
----.jshintrc(254B)

网友评论