0.1.11 • Published 12 years ago
itier v0.1.11
#About
itier-client is a client library for itier
Install
npm install itier
Usage
var itier = require('itier-client').createClient({
'appname' : 'username',
'apppass' : 'password',
});
itier.connect('127.0.0.1', 9999).connect('127.0.0.2');
itier.query('SELECT * FROM table WHERE c1 = :c', {
'c' : 1211
}, function(error, data, header, profile) {
if (error) {
throw new Error(error);
}
/**
* @write to cache
*/
// cache.write(key, data, header.expire + now);
});
TODO
- Query options support, such as "usecache" and "debug" done;
- Get itier service status and hosts list from config-server;
0.1.11
12 years ago
0.1.10
12 years ago
0.1.9
13 years ago
0.1.8
13 years ago
0.1.7
13 years ago
0.1.6
13 years ago
0.1.5
13 years ago
0.1.4
13 years ago
0.1.3
13 years ago
0.0.12
13 years ago
0.0.11
13 years ago
0.0.10
13 years ago
0.0.9
13 years ago
0.0.8
13 years ago
0.0.7
13 years ago
0.0.6
13 years ago
0.0.5
13 years ago
0.0.4
13 years ago
0.0.3
13 years ago