|
MantisBase v0.3.4
|
Struct instance for handling evaluation of database access rules. More...
#include <expr_evaluator.h>
Static Public Member Functions | |
| static bool | eval (const std::string &expr, const std::unordered_map< std::string, nlohmann::json > &vars={}) |
| Evaluates a given expression in a context of the given TokenMap variables. | |
Struct instance for handling evaluation of database access rules.
|
static |
Evaluates a given expression in a context of the given TokenMap variables.
| expr | Access rule expression |
| vars | Parameter tokens |