Skip to content

Commit c6dbcc8

Browse files
authored
Merge pull request #109 from simon-ouyang-rb/master
Update README.md file on use filter functionality
2 parents 2369279 + 108b785 commit c6dbcc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ Here is how you can use the queries and mutations generated for your data, using
317317
<pre>
318318
// filter the results using the full-text filter
319319
{
320-
allPosts({ filter: { q: "lorem" }}) {
320+
allPosts(filter: { q: "lorem" }) {
321321
title
322322
views
323323
}
@@ -341,7 +341,7 @@ Here is how you can use the queries and mutations generated for your data, using
341341
<pre>
342342
// filter the result using any of the entity fields
343343
{
344-
allPosts({ filter: { views: 254 }}) {
344+
allPosts(filter: { views: 254 }) {
345345
title
346346
views
347347
}
@@ -366,7 +366,7 @@ Here is how you can use the queries and mutations generated for your data, using
366366
// number fields get range filters
367367
// -lt, _lte, -gt, and _gte
368368
{
369-
allPosts({ filter: { views_gte: 200 } }) {
369+
allPosts(filter: { views_gte: 200 }) {
370370
title
371371
views
372372
}

0 commit comments

Comments
 (0)