node-websql:为Node.js实现的WebSQL数据库API

时间:2021-04-30 16:05:15
【文件属性】:
文件名称:node-websql:为Node.js实现的WebSQL数据库API
文件大小:917KB
文件格式:ZIP
更新时间:2021-04-30 16:05:15
JavaScript 节点WebSQL ,使用为Node实现。 在浏览器中,它退回到window.openDatabase 。 安装 npm install websql 用法 var openDatabase = require ( 'websql' ) ; 创建一个名为mydb.dbSQLite3数据库: var db = openDatabase ( 'mydb.db' , '1.0' , 'description' , 1 ) ; 创建一个内存数据库: var db = openDatabase ( ':memory:' , '1.0' , 'description' , 1 ) ; 原料药 openDatabase(名称,版本,描述,大小[,回调]) name是数据库的名称。 它已逐字传递给 。 version是数据库版本(当前被忽略-参见下文)。 description和size属
【文件预览】:
node-websql-master
----.jshintignore(68B)
----custom()
--------index.js(42B)
----package.json(2KB)
----test()
--------pouchdb-websql.js(85KB)
--------bigimage.js(883KB)
--------pouchdb-browser.js(288KB)
--------test.basics.js(34KB)
--------test.js(1KB)
--------pouchdb-node.js(227KB)
--------test.main.js(64KB)
--------test.compaction.js(63KB)
--------test.utils.js(7KB)
--------test.changes.js(73KB)
--------test.mapreduce.js(116KB)
--------test.replication.js(114KB)
--------pouchdb.js(177B)
--------test.all_docs.js(24KB)
--------test.attachments.js(131KB)
--------test.bulk_docs.js(31KB)
----LICENSE(11KB)
----.gitignore(30B)
----CHANGELOG.md(257B)
----lib()
--------sqlite()
--------browser.js(53B)
--------index.js(171B)
--------websql()
--------custom.js(929B)
----.circleci()
--------config.yml(862B)
----README.md(8KB)
----.jshintrc(507B)
----yarn.lock(101KB)

网友评论