special_character_params.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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": {
  50. "type": "valueNumber",
  51. "unit": null,
  52. "value": "100",
  53. "parsed": {"value": 100}
  54. }
  55. },
  56. {"type": "spaces", "value": ""}
  57. ]
  58. },
  59. {
  60. "query": "count_if(user.email,equals,\"something,with,commas\"):>100",
  61. "result": [
  62. {
  63. "type": "spaces",
  64. "value": ""
  65. },
  66. {
  67. "type": "filter",
  68. "filter": "aggregateNumeric",
  69. "negated": false,
  70. "key": {
  71. "type": "keyAggregate",
  72. "name": {"type": "keySimple", "value": "count_if", "quoted": false},
  73. "args": {
  74. "type": "keyAggregateArgs",
  75. "args": [
  76. {
  77. "separator": "",
  78. "value": {
  79. "type": "keyAggregateParam",
  80. "value": "user.email",
  81. "quoted": false
  82. }
  83. },
  84. {
  85. "separator": ",",
  86. "value": {
  87. "type": "keyAggregateParam",
  88. "value": "equals",
  89. "quoted": false
  90. }
  91. },
  92. {
  93. "separator": ",",
  94. "value": {
  95. "type": "keyAggregateParam",
  96. "value": "\"something,with,commas\"",
  97. "quoted": true
  98. }
  99. }
  100. ]
  101. },
  102. "argsSpaceBefore": {"type": "spaces", "value": ""},
  103. "argsSpaceAfter": {"type": "spaces", "value": ""}
  104. },
  105. "operator": ">",
  106. "value": {
  107. "type": "valueNumber",
  108. "unit": null,
  109. "value": "100",
  110. "parsed": {"value": 100}
  111. }
  112. },
  113. {"type": "spaces", "value": ""}
  114. ]
  115. },
  116. {
  117. "query": "count_if(user.email,equals,\"I, got my own \\\"quotes\\\"\"):>100",
  118. "result": [
  119. {
  120. "type": "spaces",
  121. "value": ""
  122. },
  123. {
  124. "type": "filter",
  125. "filter": "aggregateNumeric",
  126. "negated": false,
  127. "key": {
  128. "type": "keyAggregate",
  129. "name": {"type": "keySimple", "value": "count_if", "quoted": false},
  130. "args": {
  131. "type": "keyAggregateArgs",
  132. "args": [
  133. {
  134. "separator": "",
  135. "value": {
  136. "type": "keyAggregateParam",
  137. "value": "user.email",
  138. "quoted": false
  139. }
  140. },
  141. {
  142. "separator": ",",
  143. "value": {
  144. "type": "keyAggregateParam",
  145. "value": "equals",
  146. "quoted": false
  147. }
  148. },
  149. {
  150. "separator": ",",
  151. "value": {
  152. "type": "keyAggregateParam",
  153. "value": "\"I, got my own \\\"quotes\\\"\"",
  154. "quoted": true
  155. }
  156. }
  157. ]
  158. },
  159. "argsSpaceBefore": {"type": "spaces", "value": ""},
  160. "argsSpaceAfter": {"type": "spaces", "value": ""}
  161. },
  162. "operator": ">",
  163. "value": {
  164. "type": "valueNumber",
  165. "unit": null,
  166. "value": "100",
  167. "parsed": {"value": 100}
  168. }
  169. },
  170. {"type": "spaces", "value": ""}
  171. ]
  172. }
  173. ]