mirror of
https://github.com/mariadb-corporation/mariadb-connector-nodejs.git
synced 2025-08-03 16:03:30 +00:00
17 lines
432 B
JavaScript
17 lines
432 B
JavaScript
"use strict";
|
|
|
|
let ConnectionCallback = require("./lib/connection-callback");
|
|
let ConnOptions = require("./lib/config/connection-options");
|
|
|
|
module.exports.createConnection = function createConnection(opts) {
|
|
return new ConnectionCallback(new ConnOptions(opts));
|
|
};
|
|
//
|
|
// exports.createPool = function createPool(config) {
|
|
// //TODO
|
|
// };
|
|
//
|
|
// exports.createPoolCluster = function createPoolCluster(config) {
|
|
// //TODO
|
|
// };
|