promiseland-pg:一个有前途的连接对象和存储模块

时间:2024-07-02 19:14:34
【文件属性】:

文件名称:promiseland-pg:一个有前途的连接对象和存储模块

文件大小:92KB

文件格式:ZIP

更新时间:2024-07-02 19:14:34

JavaScript

promiseland-pg 一个有前途的连接对象和存储模块 连接: var Con = require "promiseland-pg"; var con = new Con("postgres://postgres:pwd@localhost/mydb"); 询问: console.log(*con.query("select * from mytable")); 读表定义: var myTableDescription = *con.tableDescription({name: "mytable", schema: "myschema"}); // schema is optional var myTable = myTableDescription.table; // a node-sql object describing the table var inde


【文件预览】:
promiseland-pg-master
----tableScan.js(11KB)
----.gitignore(587B)
----test1.js(4KB)
----test1.pland(887B)
----package.json(780B)
----tableCreator.pland(6KB)
----sql.js(3KB)
----tableCreator.js(16KB)
----LICENSE(7KB)
----Storage.pland(3KB)
----Connection.pland(2KB)
----Storage.js(10KB)
----README.md(2KB)
----demo()
--------storage.js(5KB)
--------password.pland(52B)
--------password.js(1KB)
--------storage.pland(574B)
----sql.pland(32B)
----tableScan.pland(20KB)
----typeParser.pegjs(19KB)
----Connection.js(6KB)
----typeParser.js(101KB)
----sqllib()
--------functions.js(1KB)
--------node()
--------table.js(6KB)
--------joiner.js(1KB)
--------index.js(2KB)
--------dialect()
--------column.js(2KB)

网友评论