var mysqlConfig = {
connectionLimit: 20,
host: "127.0.0.1",
port: 3306,
user: 'hewenhan',
password: '123456',
database: 'uu'
};
require("mysql-pool-crud")(mysqlConfig);
var selectJson = {
tableName: "test.users"
};
select(selectJson, function (err, rows, sql) {
if (err) {
console.log(sql);
console.log(err);
return;
}
console.log(rows);
});
-
Notifications
You must be signed in to change notification settings - Fork 0
hewenhan/mysql-pool-crud
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
mysql-pool-crud
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published