| 1 |
-->macro_varg Crud %CMD% |
| 2 |
-->callmacro Crud_set_%CMD% %VAR_ARGS% |
| 3 |
-->endmacro |
| 4 |
|
| 5 |
|
| 6 |
-->macro Crud_set_ |
| 7 |
-->endmacro |
| 8 |
|
| 9 |
|
| 10 |
-->macro_varg Crud_set_Table2 %TABLE% %SCHEMA% |
| 11 |
-->varlet %PAYLOAD% %PAYLOAD% collection { name: '%TABLE%' schema: '%SCHEMA%' } |
| 12 |
-->varlet %PAYLOAD% %PAYLOAD% data_model: TABLE |
| 13 |
-->callmacro Crud %VAR_ARGS% |
| 14 |
-->endmacro |
| 15 |
|
| 16 |
|
| 17 |
-->macro_varg Crud_set_Table1 %TABLE% |
| 18 |
-->varlet %PAYLOAD% %PAYLOAD% collection { name: %TABLE% } |
| 19 |
-->varlet %PAYLOAD% %PAYLOAD% data_model: TABLE |
| 20 |
-->callmacro Crud %VAR_ARGS% |
| 21 |
-->endmacro |
| 22 |
|
| 23 |
|
| 24 |
-->macro_varg Crud_set_Collection2 %TABLE% %SCHEMA% |
| 25 |
-->varlet %PAYLOAD% %PAYLOAD% collection { name: %TABLE% schema: %SCHEMA% } |
| 26 |
-->varlet %PAYLOAD% %PAYLOAD% data_model: DOCUMENT |
| 27 |
-->callmacro Crud %VAR_ARGS% |
| 28 |
-->endmacro |
| 29 |
|
| 30 |
|
| 31 |
-->macro_varg Crud_set_Collection1 %TABLE% |
| 32 |
-->varlet %PAYLOAD% %PAYLOAD% collection { name: %TABLE% } |
| 33 |
-->varlet %PAYLOAD% %PAYLOAD% data_model: DOCUMENT |
| 34 |
-->callmacro Crud %VAR_ARGS% |
| 35 |
-->endmacro |
| 36 |
|
| 37 |
-->macro_varg Crud_set_Limit1 %ROWS% |
| 38 |
-->varlet %PAYLOAD% %PAYLOAD% limit { row_count: %ROWS% } |
| 39 |
-->callmacro Crud %VAR_ARGS% |
| 40 |
-->endmacro |
| 41 |
|
| 42 |
-->macro_varg Crud_set_Limit2 %ROWS% %OFFSET% |
| 43 |
-->varlet %PAYLOAD% %PAYLOAD% limit { row_count: %ROWS% offset: %OFFSET%} |
| 44 |
-->callmacro Crud %VAR_ARGS% |
| 45 |
-->endmacro |
| 46 |
|
| 47 |
-->macro_varg Crud_set_Limit_expr2 %ROWS% %OFFSET% |
| 48 |
-->varlet %PAYLOAD% %PAYLOAD% limit_expr {row_count{type:LITERAL literal {type:V_SINT v_signed_int:%ROWS%}} offset{type:LITERAL literal {type:V_SINT v_signed_int:%OFFSET%}}} |
| 49 |
-->callmacro Crud %VAR_ARGS% |
| 50 |
-->endmacro |
| 51 |
|
| 52 |
-->macro_varg Crud_set_Limit_expr1 %ROWS% %OFFSET% |
| 53 |
-->varlet %PAYLOAD% %PAYLOAD% limit_expr {row_count{type:LITERAL literal {type:V_SINT v_signed_int:%ROWS%}} } |
| 54 |
-->callmacro Crud %VAR_ARGS% |
| 55 |
-->endmacro |