Constraints
Return constraints associated with the query expression.
Params
parameter | short | describe |
---|---|---|
workspace | -w | project path. |
query | -q | Query expression |
output | -o | Generates an output according to the following possible values [json |
url | -u | When working with a client you must pass the url of the service |
Example
lambdaorm constraints -o beautiful -q "Orders.filter(p=>p.id==id).include(p=>p.details)"
Result:
{
"entity": "Orders",
"constraints": [],
"children": [
{
"entity": "Orders.details",
"constraints": []
}
]
}