# mill-mysql

> mysql 模块的使用封装

Latest version **1.0.1** (published 2018-04-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install mill-mysql
pnpm add mill-mysql
yarn add mill-mysql
bun add mill-mysql
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-04-03 |
| First published | 2018-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | mill |
| Maintainers | mill1983 |
| Keywords | mysql, node, mill |

## Links

- npm: https://www.npmjs.com/package/mill-mysql
- Repository: https://github.com/mill1983/mill-mysql
- Homepage: https://github.com/mill1983/mill-mysql#readme
- Issues: https://github.com/mill1983/mill-mysql/issues
- npm.io page: https://npm.io/package/mill-mysql

## Dependencies (1)

- [mysql](https://npm.io/package/mysql.md) ^2.15.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-04-03
- 1.0.0 — 2018-04-02

## README

# mill-mysql
mysql 模块的使用封装

### 安装
```
npm install mill-mysql --save
```

### 简单使用
```
let millMysql = require("mill-mysql");

millMysql.init({password:'123'});

millMysql.query('select * from ?? where ?? = ?' ,["st_question",'t_type',1],r=>console.log(r));

millMysql.close();
```

### 默认配置项

```
var options = {
	  connectionLimit : 10,
	  host            : 'localhost',
	  user            : 'root',
	  password        : '',
	  database        : 'test'
	};
```

---
_Source: https://npm.io/package/mill-mysql · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
