Skip to content

Commit

Permalink
update doc index page for an example of numeric comparison (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
lofoyet authored Sep 26, 2023
1 parent 4f97d31 commit cbc31e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ In A/B tests you can set a user meta criteria in field `userMetaCriteria`, this
},

"age" : {
"%gt" : 32 //matches age older than 32, other compartor includes %ge, %lt and %le
"%gt" : 32 //matches age older than 32, other compartor includes %ge, %lt and %le, using those 4 comparators implies a numeric field from both User Meta Criteria in Admin UI and clients that pass in meta
},

"clientVer": {
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ The following example lists most of the criteria.
"city": "LA",
"state": "NY"
},

"age" : {
"%gt" : 32 //matches age older than 32, other compartor includes %ge, %lt and %le, using those 4 comparators implies a numeric field from both User Meta Criteria in Admin UI and clients that pass in meta
},

"clientVer": {
"%versionStart" : "1.0.0" //special filter for version strings. Matches users whose "clientVer" is later than "1.0.0"
Expand Down

0 comments on commit cbc31e6

Please sign in to comment.