Skip to content

Commit

Permalink
chore: typo fix lifecircle
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
fengmk2 committed Mar 6, 2023
1 parent c31b4f0 commit d7e60c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

### Bug Fixes

* support multi lifecricle hooks ([#105](https://github.com/ali-sdk/ali-rds/issues/105)) ([53b0a70](https://github.com/ali-sdk/ali-rds/commit/53b0a7058e4f3e583dc4610b1d1338014b9f2c15))
* support multi lifecircle hooks ([#105](https://github.com/ali-sdk/ali-rds/issues/105)) ([53b0a70](https://github.com/ali-sdk/ali-rds/commit/53b0a7058e4f3e583dc4610b1d1338014b9f2c15))

## [5.1.0](https://github.com/ali-sdk/ali-rds/compare/v5.0.0...v5.1.0) (2023-03-05)


### Features

* support custom query lifecricle ([#104](https://github.com/ali-sdk/ali-rds/issues/104)) ([5941c69](https://github.com/ali-sdk/ali-rds/commit/5941c69b461ad581aa88c211ee6c60a88d4f5420))
* support custom query lifecircle ([#104](https://github.com/ali-sdk/ali-rds/issues/104)) ([5941c69](https://github.com/ali-sdk/ali-rds/commit/5941c69b461ad581aa88c211ee6c60a88d4f5420))

## [5.0.0](https://github.com/ali-sdk/ali-rds/compare/v4.1.0...v5.0.0) (2023-03-04)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ const rows = await db.query('SELECT * FROM your_table WHERE id=:id', { id: 123 }
console.log(rows);
```

### Custom query lifecricle
### Custom query lifecircle

```ts
db.beforeQuery((sql: string) => {
Expand Down
2 changes: 1 addition & 1 deletion test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ describe('test/client.test.ts', () => {
});
});

describe('query lifecricle work', () => {
describe('query lifecircle work', () => {
it('should work on client and transactions', async () => {
const db = new RDSClient(config);
let count = 0;
Expand Down

0 comments on commit d7e60c8

Please sign in to comment.