Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarasikee authored Oct 4, 2022
1 parent 0c63ed0 commit bfdbba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Then you can create model with ```new Model``` function.
# CRUD

CRUD is provided by `Model` class itself. Create and retrieve methods return type of `Instance` class,
that can be converted to JSON with .toJSON() method.
that can be converted to JSON with `.toJSON()` method.

### Create:

Expand Down Expand Up @@ -169,7 +169,7 @@ const allUsers = userModel.findAll()
#### Note:

Both `find` and `findOne` methods can search by deeply nested objects. Here is
an [example]("https://github.com/Tarasikee/tinydb/blob/master/tests/findingTests.ts#L41").
an ![example](https://github.com/Tarasikee/tinydb/blob/master/tests/findingTests.ts).
But be careful because it can affect performance.

### Update:
Expand Down

0 comments on commit bfdbba0

Please sign in to comment.