Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

95 строки
2.1 KiB

  1. {
  2. "meta": {
  3. "$_GET": [
  4. {
  5. "type": "text",
  6. "name": "sort"
  7. },
  8. {
  9. "type": "text",
  10. "name": "dir"
  11. },
  12. {
  13. "type": "text",
  14. "name": "filter"
  15. }
  16. ]
  17. },
  18. "exec": {
  19. "steps": {
  20. "name": "query",
  21. "module": "dbconnector",
  22. "action": "select",
  23. "options": {
  24. "connection": "authdb",
  25. "sql": {
  26. "type": "select",
  27. "columns": [
  28. {
  29. "table": "roles",
  30. "column": "id"
  31. },
  32. {
  33. "table": "roles",
  34. "column": "name"
  35. }
  36. ],
  37. "params": [],
  38. "table": {
  39. "name": "roles"
  40. },
  41. "primary": "id",
  42. "joins": [],
  43. "wheres": {
  44. "condition": "AND",
  45. "rules": [
  46. {
  47. "id": "roles.isDepartment",
  48. "field": "roles.isDepartment",
  49. "type": "boolean",
  50. "operator": "equal",
  51. "value": true,
  52. "data": {
  53. "table": "roles",
  54. "column": "isDepartment",
  55. "type": "boolean",
  56. "columnObj": {
  57. "type": "boolean",
  58. "primary": false,
  59. "unique": false,
  60. "nullable": true,
  61. "name": "isDepartment"
  62. }
  63. },
  64. "operation": "=",
  65. "table": "roles"
  66. }
  67. ],
  68. "conditional": null,
  69. "valid": true
  70. },
  71. "query": "select `id`, `name` from `roles` where `roles`.`isDepartment` = ? order by `name` ASC",
  72. "orders": [
  73. {
  74. "table": "roles",
  75. "column": "name",
  76. "direction": "ASC"
  77. }
  78. ]
  79. }
  80. },
  81. "output": true,
  82. "meta": [
  83. {
  84. "type": "number",
  85. "name": "id"
  86. },
  87. {
  88. "type": "text",
  89. "name": "name"
  90. }
  91. ],
  92. "outputType": "array"
  93. }
  94. }
  95. }