func-map-agg.svg 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <svg xmlns="http://www.w3.org/2000/svg" width="627" height="337">
  2. <polygon points="9 17 1 13 1 21"/>
  3. <polygon points="17 17 9 13 9 21"/>
  4. <rect x="31" y="3" width="82" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="82"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">map_agg</text>
  12. <rect x="133" y="3" width="26" height="32" rx="10"/>
  13. <rect x="131"
  14. y="1"
  15. width="26"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="141" y="21">(</text>
  20. <rect x="179" y="3" width="50" height="32"/>
  21. <rect x="177" y="1" width="50" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="187" y="21">keys</text>
  23. <rect x="249" y="3" width="24" height="32" rx="10"/>
  24. <rect x="247"
  25. y="1"
  26. width="24"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="257" y="21">,</text>
  31. <rect x="293" y="3" width="62" height="32"/>
  32. <rect x="291" y="1" width="62" height="32" class="nonterminal"/>
  33. <text class="nonterminal" x="301" y="21">values</text>
  34. <rect x="45" y="113" width="68" height="32" rx="10"/>
  35. <rect x="43"
  36. y="111"
  37. width="68"
  38. height="32"
  39. class="terminal"
  40. rx="10"/>
  41. <text class="terminal" x="53" y="131">ORDER</text>
  42. <rect x="133" y="113" width="40" height="32" rx="10"/>
  43. <rect x="131"
  44. y="111"
  45. width="40"
  46. height="32"
  47. class="terminal"
  48. rx="10"/>
  49. <text class="terminal" x="141" y="131">BY</text>
  50. <rect x="213" y="113" width="64" height="32"/>
  51. <rect x="211" y="111" width="64" height="32" class="nonterminal"/>
  52. <text class="nonterminal" x="221" y="131">col_ref</text>
  53. <rect x="317" y="145" width="50" height="32" rx="10"/>
  54. <rect x="315"
  55. y="143"
  56. width="50"
  57. height="32"
  58. class="terminal"
  59. rx="10"/>
  60. <text class="terminal" x="325" y="163">ASC</text>
  61. <rect x="317" y="189" width="58" height="32" rx="10"/>
  62. <rect x="315"
  63. y="187"
  64. width="58"
  65. height="32"
  66. class="terminal"
  67. rx="10"/>
  68. <text class="terminal" x="325" y="207">DESC</text>
  69. <rect x="435" y="145" width="106" height="32" rx="10"/>
  70. <rect x="433"
  71. y="143"
  72. width="106"
  73. height="32"
  74. class="terminal"
  75. rx="10"/>
  76. <text class="terminal" x="443" y="163">NULLS LAST</text>
  77. <rect x="435" y="189" width="110" height="32" rx="10"/>
  78. <rect x="433"
  79. y="187"
  80. width="110"
  81. height="32"
  82. class="terminal"
  83. rx="10"/>
  84. <text class="terminal" x="443" y="207">NULLS FIRST</text>
  85. <rect x="213" y="69" width="24" height="32" rx="10"/>
  86. <rect x="211"
  87. y="67"
  88. width="24"
  89. height="32"
  90. class="terminal"
  91. rx="10"/>
  92. <text class="terminal" x="221" y="87">,</text>
  93. <rect x="147" y="271" width="26" height="32" rx="10"/>
  94. <rect x="145"
  95. y="269"
  96. width="26"
  97. height="32"
  98. class="terminal"
  99. rx="10"/>
  100. <text class="terminal" x="155" y="289">)</text>
  101. <rect x="213" y="303" width="66" height="32" rx="10"/>
  102. <rect x="211"
  103. y="301"
  104. width="66"
  105. height="32"
  106. class="terminal"
  107. rx="10"/>
  108. <text class="terminal" x="221" y="321">FILTER</text>
  109. <rect x="299" y="303" width="26" height="32" rx="10"/>
  110. <rect x="297"
  111. y="301"
  112. width="26"
  113. height="32"
  114. class="terminal"
  115. rx="10"/>
  116. <text class="terminal" x="307" y="321">(</text>
  117. <rect x="345" y="303" width="70" height="32" rx="10"/>
  118. <rect x="343"
  119. y="301"
  120. width="70"
  121. height="32"
  122. class="terminal"
  123. rx="10"/>
  124. <text class="terminal" x="353" y="321">WHERE</text>
  125. <rect x="435" y="303" width="98" height="32"/>
  126. <rect x="433" y="301" width="98" height="32" class="nonterminal"/>
  127. <text class="nonterminal" x="443" y="321">filter_clause</text>
  128. <rect x="553" y="303" width="26" height="32" rx="10"/>
  129. <rect x="551"
  130. y="301"
  131. width="26"
  132. height="32"
  133. class="terminal"
  134. rx="10"/>
  135. <text class="terminal" x="561" y="321">)</text>
  136. <path class="line"
  137. d="m17 17 h2 m0 0 h10 m82 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m50 0 h10 m0 0 h10 m24 0 h10 m0 0 h10 m62 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-374 110 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m68 0 h10 m0 0 h10 m40 0 h10 m20 0 h10 m64 0 h10 m20 0 h10 m0 0 h68 m-98 0 h20 m78 0 h20 m-118 0 q10 0 10 10 m98 0 q0 -10 10 -10 m-108 10 v12 m98 0 v-12 m-98 12 q0 10 10 10 m78 0 q10 0 10 -10 m-88 10 h10 m50 0 h10 m0 0 h8 m-88 -10 v20 m98 0 v-20 m-98 20 v24 m98 0 v-24 m-98 24 q0 10 10 10 m78 0 q10 0 10 -10 m-88 10 h10 m58 0 h10 m40 -76 h10 m0 0 h120 m-150 0 h20 m130 0 h20 m-170 0 q10 0 10 10 m150 0 q0 -10 10 -10 m-160 10 v12 m150 0 v-12 m-150 12 q0 10 10 10 m130 0 q10 0 10 -10 m-140 10 h10 m106 0 h10 m0 0 h4 m-140 -10 v20 m150 0 v-20 m-150 20 v24 m150 0 v-24 m-150 24 q0 10 10 10 m130 0 q10 0 10 -10 m-140 10 h10 m110 0 h10 m-372 -76 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m372 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-372 0 h10 m24 0 h10 m0 0 h328 m-560 44 h20 m560 0 h20 m-600 0 q10 0 10 10 m580 0 q0 -10 10 -10 m-590 10 v90 m580 0 v-90 m-580 90 q0 10 10 10 m560 0 q10 0 10 -10 m-570 10 h10 m0 0 h550 m22 -110 l2 0 m2 0 l2 0 m2 0 l2 0 m-502 158 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m26 0 h10 m20 0 h10 m0 0 h376 m-406 0 h20 m386 0 h20 m-426 0 q10 0 10 10 m406 0 q0 -10 10 -10 m-416 10 v12 m406 0 v-12 m-406 12 q0 10 10 10 m386 0 q10 0 10 -10 m-396 10 h10 m66 0 h10 m0 0 h10 m26 0 h10 m0 0 h10 m70 0 h10 m0 0 h10 m98 0 h10 m0 0 h10 m26 0 h10 m23 -32 h-3"/>
  138. <polygon points="617 285 625 281 625 289"/>
  139. <polygon points="617 285 609 281 609 289"/>
  140. </svg>