0.0.4 • Published 6 years ago

xamd v0.0.4

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
6 years ago

Chinese

一个基于 Node.js的数据库接口适配器,与数据库无关的接口库 使用的时候只要

let xamd = require("xamd");
let db = xamd();

db.getList({
    paras : {},
    success : () => {}
});

最后用 db 变量来调用定义好的方法,如:

db.getList(); // 这个list 方法定义在 sql.json 中

xamd只负责将 getList 要进行的是哪种操作(增删改查)、所要操作的sql 等
映射到各个数据库驱动中去,但 如何实现 getList
实际的操作依然还是交给各个数据库驱动自己去实现

声明

Coralian 属于私有不开源的代码,请自行实现相关功能。

License

Apache-2.0

English

This is a database driver adapter for nodejs.
The common interface without any database used, the program could coding one time.

let xamd = require("xamd");
let db = xamd();

db.getList({
    paras : {},
    success : () => {}
});

About

Coralian is private codes, please to find a substitue by self to insetead them.

License

Apache-2.0