CacheControl / CacheControl/json-rules-engine
Complex rule for the fact
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3.1k
- Forks
- 507
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Suppose the fact is
const fact={
id:1,
username:'sureshk',
student:[{name:'zbc',percentage:100},{name:'zb',percentage:10}],
role:['coach','mentor'],
sport:['hockey','base']
}
and the rule should be
rule criteria => (student.name ='zbc' AND student.percentage=100) AND id=1 AND username='sureshk' AND role = 'coach' AND sport='hockey'
what will the json rules for the above rule criteria and facts
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.