Skip to content

Commit

Permalink
chore: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IcaroSilvaFK committed Jul 24, 2024
1 parent cc5876c commit 17126be
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/thick-guests-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@icarowhyy/pnpjs-query": patch
---

change docs
5 changes: 5 additions & 0 deletions .changeset/wild-bobcats-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@icarowhyy/pnpjs-query": minor
---

Add supports from date
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ const query = new Query().ge("age", 10).build();
*/
```

<h5>Date example</h5>

```js
const query = new Query().ge("createdAt", new Date()).build();
/* output
createdAt ge '2022-01-01T00:00:00.000Z'
*/
```

### Install

```shell
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": "@icarowhyy/pnpjs-query",
"version": "1.0.2",
"version": "1.0.3",
"description": "OData query for JavaScript",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit 17126be

Please sign in to comment.