special_character_params.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. [
  2. {
  3. "query": "count_if(user.email,equals,test+something@example.com):>100",
  4. "result": [
  5. {
  6. "type": "spaces",
  7. "value": ""
  8. },
  9. {
  10. "type": "filter",
  11. "filter": "aggregateNumeric",
  12. "negated": false,
  13. "key": {
  14. "type": "keyAggregate",
  15. "name": {"type": "keySimple", "value": "count_if", "quoted": false},
  16. "args": {
  17. "type": "keyAggregateArgs",
  18. "args": [
  19. {
  20. "separator": "",
  21. "value": {
  22. "type": "keyAggregateParam",
  23. "value": "user.email",
  24. "quoted": false
  25. }
  26. },
  27. {
  28. "separator": ",",
  29. "value": {
  30. "type": "keyAggregateParam",
  31. "value": "equals",
  32. "quoted": false
  33. }
  34. },
  35. {
  36. "separator": ",",
  37. "value": {
  38. "type": "keyAggregateParam",
  39. "value": "test+something@example.com",
  40. "quoted": false
  41. }
  42. }
  43. ]
  44. },
  45. "argsSpaceBefore": {"type": "spaces", "value": ""},
  46. "argsSpaceAfter": {"type": "spaces", "value": ""}
  47. },
  48. "operator": ">",
  49. "value": {"type": "valueNumber", "rawValue": 100, "unit": null, "value": "100"}
  50. },
  51. {"type": "spaces", "value": ""}
  52. ]
  53. },
  54. {
  55. "query": "count_if(user.email,equals,\"something,with,commas\"):>100",
  56. "result": [
  57. {
  58. "type": "spaces",
  59. "value": ""
  60. },
  61. {
  62. "type": "filter",
  63. "filter": "aggregateNumeric",
  64. "negated": false,
  65. "key": {
  66. "type": "keyAggregate",
  67. "name": {"type": "keySimple", "value": "count_if", "quoted": false},
  68. "args": {
  69. "type": "keyAggregateArgs",
  70. "args": [
  71. {
  72. "separator": "",
  73. "value": {
  74. "type": "keyAggregateParam",
  75. "value": "user.email",
  76. "quoted": false
  77. }
  78. },
  79. {
  80. "separator": ",",
  81. "value": {
  82. "type": "keyAggregateParam",
  83. "value": "equals",
  84. "quoted": false
  85. }
  86. },
  87. {
  88. "separator": ",",
  89. "value": {
  90. "type": "keyAggregateParam",
  91. "value": "\"something,with,commas\"",
  92. "quoted": true
  93. }
  94. }
  95. ]
  96. },
  97. "argsSpaceBefore": {"type": "spaces", "value": ""},
  98. "argsSpaceAfter": {"type": "spaces", "value": ""}
  99. },
  100. "operator": ">",
  101. "value": {"type": "valueNumber", "rawValue": 100, "unit": null, "value": "100"}
  102. },
  103. {"type": "spaces", "value": ""}
  104. ]
  105. },
  106. {
  107. "query": "count_if(user.email,equals,\"I, got my own \\\"quotes\\\"\"):>100",
  108. "result": [
  109. {
  110. "type": "spaces",
  111. "value": ""
  112. },
  113. {
  114. "type": "filter",
  115. "filter": "aggregateNumeric",
  116. "negated": false,
  117. "key": {
  118. "type": "keyAggregate",
  119. "name": {"type": "keySimple", "value": "count_if", "quoted": false},
  120. "args": {
  121. "type": "keyAggregateArgs",
  122. "args": [
  123. {
  124. "separator": "",
  125. "value": {
  126. "type": "keyAggregateParam",
  127. "value": "user.email",
  128. "quoted": false
  129. }
  130. },
  131. {
  132. "separator": ",",
  133. "value": {
  134. "type": "keyAggregateParam",
  135. "value": "equals",
  136. "quoted": false
  137. }
  138. },
  139. {
  140. "separator": ",",
  141. "value": {
  142. "type": "keyAggregateParam",
  143. "value": "\"I, got my own \\\"quotes\\\"\"",
  144. "quoted": true
  145. }
  146. }
  147. ]
  148. },
  149. "argsSpaceBefore": {"type": "spaces", "value": ""},
  150. "argsSpaceAfter": {"type": "spaces", "value": ""}
  151. },
  152. "operator": ">",
  153. "value": {"type": "valueNumber", "rawValue": 100, "unit": null, "value": "100"}
  154. },
  155. {"type": "spaces", "value": ""}
  156. ]
  157. }
  158. ]