Skip to content

Commit

Permalink
Added excludeFieldsInLog docs on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nataniel López committed Nov 28, 2019
1 parent 5a99ffa commit 5fb3dd0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
## Added
- `excludeFieldsInLog` getter documented on readme

## [3.3.2] - 2019-11-22
### Fixed
- `getPaged` method is now guaranteed to process every page
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ You can add database connection settings by adding the field names from the rece

## API

### Getters

* **excludeFieldsInLog** (*getter*).
Returns the fields that will be removed from the logs as an array of strings. For example: `['password', 'super-secret']`

### const items = await myModel.get(params)
- Returns items from database
Params is an optional Object with filters, order, paginator.
Expand Down

0 comments on commit 5fb3dd0

Please sign in to comment.