Skip to content

Commit

Permalink
edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
heifade committed Nov 29, 2017
1 parent 0f5e202 commit 7b727a8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ mysql-i的主要特点:
>
> > save 保存一条数据
>
> > saves 保存多条数据(并发)
> > saves 保存多条数据,并发执行
>
> > savesSeq 保存多条数据(顺序)
> > savesWithTran 保存多条数据,并发执行(事务)
>
> > savesSeq 保存多条数据,顺序执行
>
> > savesSeqWithTran 保存多条数据,顺序执行(事务)
>
> Exec 执行SQL
>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mysql-i",
"version": "2.1.0",
"version": "2.1.1",
"description": "mysql interface, base on mysql",
"main": "./es/index.js",
"module": "./es/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/Save.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class Save {

/**
* <pre>
* 保存多个,并发执行(事务)
* 保存多条数据,并发执行(事务)
* 当所有保存执行成功时,返回Promise为成功,如果其中一个保存执行出错,返回的Promise为失败。
* 注意:此方法单独开启事务。如需不开启事务,见 {@link saves}
* </pre>
Expand Down Expand Up @@ -236,7 +236,7 @@ export class Save {

/**
* <pre>
* 保存多个,顺序执行(事务)
* 保存多条数据,顺序执行(事务)
* 当所有保存执行成功时,返回Promise为成功,如果其中一个保存执行出错,返回的Promise为失败。
* 注意:此方法单独开启事务。如需不开启事务,见 {@link savesSeq}
* </pre>
Expand Down

0 comments on commit 7b727a8

Please sign in to comment.