@arcgis/coding-components 4.31.0-next.98 → 4.32.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +3 -3
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +43 -43
  3. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ar.json +2 -1
  4. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bg.json +2 -1
  5. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bs.json +2 -1
  6. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ca.json +2 -1
  7. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.cs.json +2 -1
  8. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.da.json +2 -1
  9. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.de.json +2 -1
  10. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.el.json +2 -1
  11. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.es.json +2 -1
  12. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.et.json +2 -1
  13. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fi.json +2 -1
  14. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fr.json +2 -1
  15. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.he.json +2 -1
  16. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hr.json +2 -1
  17. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hu.json +2 -1
  18. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.id.json +2 -1
  19. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.it.json +2 -1
  20. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ja.json +2 -1
  21. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ko.json +2 -1
  22. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lt.json +2 -1
  23. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lv.json +2 -1
  24. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nb.json +2 -1
  25. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nl.json +2 -1
  26. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pl.json +2 -1
  27. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-BR.json +2 -1
  28. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-PT.json +2 -1
  29. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ro.json +2 -1
  30. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ru.json +2 -1
  31. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sk.json +2 -1
  32. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sl.json +2 -1
  33. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sr.json +2 -1
  34. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sv.json +2 -1
  35. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.th.json +2 -1
  36. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.tr.json +2 -1
  37. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.uk.json +2 -1
  38. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.vi.json +2 -1
  39. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-CN.json +2 -1
  40. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-HK.json +2 -1
  41. package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-TW.json +2 -1
  42. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +758 -0
  43. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +758 -0
  44. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +758 -0
  45. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +758 -0
  46. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +758 -0
  47. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +758 -0
  48. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +758 -0
  49. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +758 -0
  50. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +18 -18
  51. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +758 -0
  52. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +758 -0
  53. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +758 -0
  54. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +758 -0
  55. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +758 -0
  56. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +758 -0
  57. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +758 -0
  58. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +758 -0
  59. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +758 -0
  60. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +758 -0
  61. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +758 -0
  62. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +758 -0
  63. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +758 -0
  64. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +758 -0
  65. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +758 -0
  66. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +758 -0
  67. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +758 -0
  68. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +758 -0
  69. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +758 -0
  70. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +758 -0
  71. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +758 -0
  72. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +758 -0
  73. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +758 -0
  74. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +758 -0
  75. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +758 -0
  76. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +758 -0
  77. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +758 -0
  78. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +758 -0
  79. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +758 -0
  80. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +758 -0
  81. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +758 -0
  82. package/dist/arcgis-coding-components/index.esm.js +3 -3
  83. package/dist/arcgis-coding-components/{p-34cda426.js → p-21f33673.js} +3 -3
  84. package/dist/arcgis-coding-components/{p-fe538f7b.js → p-397cd035.js} +3 -3
  85. package/dist/arcgis-coding-components/{p-cd706357.js → p-39946a0f.js} +2 -2
  86. package/dist/arcgis-coding-components/{p-861aa068.js → p-3abd5d93.js} +3 -3
  87. package/dist/arcgis-coding-components/{p-8436fc3b.js → p-4d9c89e8.js} +11 -11
  88. package/dist/arcgis-coding-components/{p-eb65c18a.js → p-609b503d.js} +3 -3
  89. package/dist/arcgis-coding-components/p-642cb3ba.entry.js +6 -0
  90. package/dist/arcgis-coding-components/p-69492dd1.js +6 -0
  91. package/dist/arcgis-coding-components/{p-86185974.js → p-8d52ce65.js} +3 -3
  92. package/dist/arcgis-coding-components/{p-7f656e14.js → p-8e28481b.js} +2 -2
  93. package/dist/arcgis-coding-components/{p-500278d2.js → p-8eb0bf11.js} +3 -3
  94. package/dist/arcgis-coding-components/{p-c0e14552.js → p-942a3112.js} +3 -3
  95. package/dist/arcgis-coding-components/{p-8ce2a1af.js → p-95967a1d.js} +3 -3
  96. package/dist/arcgis-coding-components/p-b72de164.js +6 -0
  97. package/dist/arcgis-coding-components/{p-cb46a8b1.entry.js → p-beb4b118.entry.js} +3 -3
  98. package/dist/arcgis-coding-components/p-cbb89767.js +6 -0
  99. package/dist/arcgis-coding-components/{p-f8b015e0.entry.js → p-dd590647.entry.js} +3 -3
  100. package/dist/arcgis-coding-components/{p-52bbb39b.js → p-fe436d02.js} +3 -3
  101. package/dist/cjs/{app-globals-33fab07e.js → app-globals-f2405bb9.js} +2 -2
  102. package/dist/cjs/{arcade-defaults-7de31bf8.js → arcade-defaults-a73dd954.js} +4 -4
  103. package/dist/cjs/{arcade-mode-dd8f44b9.js → arcade-mode-91a5e99e.js} +4 -4
  104. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +8 -8
  105. package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
  106. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +8 -8
  107. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +5 -5
  108. package/dist/cjs/{css-4ce7df7f.js → css-69287236.js} +2 -2
  109. package/dist/cjs/{cssMode-85125fdd.js → cssMode-52fa0cd4.js} +4 -4
  110. package/dist/cjs/{html-b97c7c47.js → html-7fd6c69f.js} +4 -4
  111. package/dist/cjs/{htmlMode-1dd79e3f.js → htmlMode-98ed691c.js} +4 -4
  112. package/dist/cjs/{index-183b9560.js → index-7cdfac26.js} +2 -2
  113. package/dist/cjs/index.cjs.js +5 -5
  114. package/dist/cjs/{javascript-8791760c.js → javascript-a0746b24.js} +5 -5
  115. package/dist/cjs/{jsonMode-14de22b2.js → jsonMode-43f926c2.js} +4 -4
  116. package/dist/cjs/loader.cjs.js +4 -4
  117. package/dist/cjs/{sql-expr-defaults-00a9dcb5.js → sql-expr-defaults-7849269b.js} +39 -29
  118. package/dist/cjs/{sql-expr-mode-179953e1.js → sql-expr-mode-67b27235.js} +5 -5
  119. package/dist/cjs/{tsMode-b2e3cebf.js → tsMode-f358944a.js} +4 -4
  120. package/dist/cjs/{typescript-cfbd1c72.js → typescript-62f57b1c.js} +4 -4
  121. package/dist/cjs/{useT9n-0cd27204.js → useT9n-1090bf48.js} +8 -6
  122. package/dist/components/arcade-defaults.js +2 -2
  123. package/dist/components/arcade-mode.js +2 -2
  124. package/dist/components/arcade-results.js +3 -3
  125. package/dist/components/arcade-suggestions.js +3 -3
  126. package/dist/components/arcgis-arcade-editor.js +3 -3
  127. package/dist/components/arcgis-arcade-results.js +2 -2
  128. package/dist/components/arcgis-arcade-suggestions.js +2 -2
  129. package/dist/components/arcgis-assets.d.ts +2 -2
  130. package/dist/components/arcgis-assets.js +2 -2
  131. package/dist/components/arcgis-code-editor.js +2 -2
  132. package/dist/components/arcgis-editor-variables.js +2 -2
  133. package/dist/components/arcgis-language-api-panel.js +2 -2
  134. package/dist/components/arcgis-sql-expression-editor.js +6 -6
  135. package/dist/components/arcgis-sql-expression-fields.js +3 -3
  136. package/dist/components/{chunk-IUUKU7EW.js → chunk-72CFD2QZ.js} +3 -3
  137. package/dist/components/code-editor.js +3 -3
  138. package/dist/components/editor-variables.js +3 -3
  139. package/dist/components/fields.js +2 -2
  140. package/dist/components/index.js +2 -2
  141. package/dist/components/index2.js +2 -2
  142. package/dist/components/language-api-panel.js +3 -3
  143. package/dist/components/markdown.js +2 -2
  144. package/dist/components/sql-expr-defaults.js +30 -20
  145. package/dist/components/sql-expr-mode.js +3 -3
  146. package/dist/components/useT9n.js +6 -4
  147. package/dist/components/utilities.js +2 -2
  148. package/dist/esm/{app-globals-913cca84.js → app-globals-94d7a32e.js} +2 -2
  149. package/dist/esm/{arcade-defaults-fce78edf.js → arcade-defaults-f8b8b18f.js} +4 -4
  150. package/dist/esm/{arcade-mode-84eef194.js → arcade-mode-4cc42af6.js} +4 -4
  151. package/dist/esm/arcgis-arcade-editor_6.entry.js +8 -8
  152. package/dist/esm/arcgis-coding-components.js +5 -5
  153. package/dist/esm/arcgis-sql-expression-editor.entry.js +8 -8
  154. package/dist/esm/arcgis-sql-expression-fields.entry.js +5 -5
  155. package/dist/esm/{css-906fbdfa.js → css-4eeff876.js} +2 -2
  156. package/dist/esm/{cssMode-9f6312d5.js → cssMode-2056ff0a.js} +4 -4
  157. package/dist/esm/{html-aab3c828.js → html-ffcf003f.js} +4 -4
  158. package/dist/esm/{htmlMode-a3a50c83.js → htmlMode-e93a32a0.js} +4 -4
  159. package/dist/esm/{index-aedc5d3b.js → index-011c2912.js} +2 -2
  160. package/dist/esm/index.js +5 -5
  161. package/dist/esm/{javascript-ab01de7f.js → javascript-e0a600c3.js} +5 -5
  162. package/dist/esm/{jsonMode-deacacde.js → jsonMode-7559691e.js} +4 -4
  163. package/dist/esm/loader.js +5 -5
  164. package/dist/esm/{sql-expr-defaults-0ac6e3bd.js → sql-expr-defaults-91ae9bb2.js} +39 -29
  165. package/dist/esm/{sql-expr-mode-49313741.js → sql-expr-mode-6547aee6.js} +5 -5
  166. package/dist/esm/{tsMode-176d24ae.js → tsMode-47248b4e.js} +4 -4
  167. package/dist/esm/{typescript-4cee163a.js → typescript-66f4b785.js} +4 -4
  168. package/dist/esm/{useT9n-d33c26b0.js → useT9n-7fbdf543.js} +8 -6
  169. package/dist/loader/cdn.js +2 -2
  170. package/dist/loader/index.cjs.js +2 -2
  171. package/dist/loader/index.es2017.js +2 -2
  172. package/dist/loader/index.js +2 -2
  173. package/dist/types/components/arcade-editor/arcade-editor.d.ts +8 -21
  174. package/dist/types/components/arcade-results/arcade-results.d.ts +13 -31
  175. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +6 -17
  176. package/dist/types/components/editor-variables/editor-variables.d.ts +9 -23
  177. package/dist/types/components/language-api-panel/language-api-panel.d.ts +8 -21
  178. package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +4 -13
  179. package/dist/types/components/sql-expression-fields/sql-expression-fields.d.ts +4 -13
  180. package/dist/types/utils/sql-expr-monaco/sql-expr-completion.d.ts +1 -0
  181. package/dist/types/utils/sql-expr-monaco/sql-expr-validation-diagnostic-adapter.d.ts +1 -0
  182. package/dist/types/utils/sql-expr-monaco/sql-expr-validation-utils.d.ts +8 -23
  183. package/dist/types/utils/sql-expr-monaco/sql-expression-profile-strategy.d.ts +5 -1
  184. package/dist/types/utils/sql-expr-monaco/types.d.ts +1 -0
  185. package/package.json +15 -15
  186. package/dist/arcgis-coding-components/p-484f6ab3.js +0 -6
  187. package/dist/arcgis-coding-components/p-557614cc.js +0 -6
  188. package/dist/arcgis-coding-components/p-6cdef0c0.entry.js +0 -6
  189. package/dist/arcgis-coding-components/p-fb4e9b2f.js +0 -6
@@ -0,0 +1,758 @@
1
+ [
2
+ {
3
+ "id": "date_functions",
4
+ "title": "π_Date functions_______________Ω",
5
+ "items": [
6
+ {
7
+ "type": "function",
8
+ "name": "current_date",
9
+ "bundle": "date",
10
+ "description": "π_Returns the current date in UTC_________________Ω.",
11
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns the current date in UTC_________________Ω.\n\n```sql\nCURRENT_DATE\n```\n\n",
12
+ "completion": {
13
+ "label": "CURRENT_DATE",
14
+ "detail": "CURRENT_DATE -> Datetime",
15
+ "insertText": "CURRENT_DATE",
16
+ "insertTextMode": 2,
17
+ "insertTextFormat": 2,
18
+ "kind": 3,
19
+ "documentation": {
20
+ "kind": "markdown",
21
+ "value": "π_Returns the current date in UTC_________________Ω.\n\n**π_Return value_____________Ω**: Datetime"
22
+ }
23
+ },
24
+ "parametersInfo": {
25
+ "min": 0,
26
+ "max": 0
27
+ }
28
+ },
29
+ {
30
+ "type": "function",
31
+ "name": "current_time",
32
+ "bundle": "date",
33
+ "description": "π_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ω.",
34
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ω.\n\n```sql\nCURRENT_TIME\n```\n\n",
35
+ "completion": {
36
+ "label": "CURRENT_TIME",
37
+ "detail": "CURRENT_TIME -> Datetime",
38
+ "insertText": "CURRENT_TIME",
39
+ "insertTextMode": 2,
40
+ "insertTextFormat": 2,
41
+ "kind": 3,
42
+ "documentation": {
43
+ "kind": "markdown",
44
+ "value": "π_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ω.\n\n**π_Return value_____________Ω**: Datetime"
45
+ }
46
+ },
47
+ "parametersInfo": {
48
+ "min": 0,
49
+ "max": 0
50
+ }
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "current_timestamp",
55
+ "bundle": "date",
56
+ "description": "π_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ω.",
57
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ω.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\n",
58
+ "completion": {
59
+ "label": "CURRENT_TIMESTAMP",
60
+ "detail": "CURRENT_TIMESTAMP -> Datetime",
61
+ "insertText": "CURRENT_TIMESTAMP",
62
+ "insertTextMode": 2,
63
+ "insertTextFormat": 2,
64
+ "kind": 3,
65
+ "documentation": {
66
+ "kind": "markdown",
67
+ "value": "π_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ω.\n\n**π_Return value_____________Ω**: Datetime"
68
+ }
69
+ },
70
+ "parametersInfo": {
71
+ "min": 0,
72
+ "max": 0
73
+ }
74
+ },
75
+ {
76
+ "type": "function",
77
+ "name": "extract",
78
+ "bundle": "date",
79
+ "description": "π_Returns a single part of a datetime, such as year, month, day, hour, minute, or second_____________________________________________Ω.",
80
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 12_____________________Ω\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nπ_Returns 21_____________________Ω\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nπ_Returns 30_____________________Ω\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\n",
81
+ "completion": {
82
+ "label": "EXTRACT",
83
+ "detail": "EXTRACT(part, datetime) -> Number",
84
+ "insertText": "EXTRACT(${1:part_} FROM ${2:datetime_})$0",
85
+ "insertTextMode": 2,
86
+ "insertTextFormat": 2,
87
+ "kind": 3,
88
+ "documentation": {
89
+ "kind": "markdown",
90
+ "value": "π_Returns a single part of a datetime, such as year, month, day, hour, minute, or second_____________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **part**: π_The part to extract from the date. Possible values: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`_____________________________________________________Ω.\n- **datetime**: π_The date to extract a part from_________________Ω.\n\n**π_Return value_____________Ω**: Number"
91
+ }
92
+ },
93
+ "parametersInfo": {
94
+ "min": 2,
95
+ "max": 2
96
+ }
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "id": "numeric_functions",
102
+ "title": "π_Numeric functions__________________Ω",
103
+ "items": [
104
+ {
105
+ "type": "function",
106
+ "name": "abs",
107
+ "bundle": "numeric",
108
+ "description": "π_Returns the absolute value of the number______________________Ω.",
109
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 2___________________Ω\n\n```sql\nABS(-2)\n```\n\n",
110
+ "completion": {
111
+ "label": "ABS",
112
+ "detail": "ABS(number) -> Number",
113
+ "insertText": "ABS(${1:number_})$0",
114
+ "insertTextMode": 2,
115
+ "insertTextFormat": 2,
116
+ "kind": 3,
117
+ "documentation": {
118
+ "kind": "markdown",
119
+ "value": "π_Returns the absolute value of the number______________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number on which to perform the operation_______________________Ω.\n\n**π_Return value_____________Ω**: Number"
120
+ }
121
+ },
122
+ "parametersInfo": {
123
+ "min": 1,
124
+ "max": 1
125
+ }
126
+ },
127
+ {
128
+ "type": "function",
129
+ "name": "acos",
130
+ "bundle": "numeric",
131
+ "description": "π_Returns the arc cosine of a number___________________Ω.",
132
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 1.26610367___________________Ω\n\n```sql\nACOS(0.3)\n```\n\n",
133
+ "completion": {
134
+ "label": "ACOS",
135
+ "detail": "ACOS(number) -> Number",
136
+ "insertText": "ACOS(${1:number_})$0",
137
+ "insertTextMode": 2,
138
+ "insertTextFormat": 2,
139
+ "kind": 3,
140
+ "documentation": {
141
+ "kind": "markdown",
142
+ "value": "π_Returns the arc cosine of a number___________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number between -1 and 1 on which to perform the operation_______________________________Ω.\n\n**π_Return value_____________Ω**: Number"
143
+ }
144
+ },
145
+ "parametersInfo": {
146
+ "min": 1,
147
+ "max": 1
148
+ }
149
+ },
150
+ {
151
+ "type": "function",
152
+ "name": "asin",
153
+ "bundle": "numeric",
154
+ "description": "π_Returns the arc sine of a number__________________Ω.",
155
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 0.30469265___________________Ω\n\n```sql\nASIN(0.3)\n```\n\n",
156
+ "completion": {
157
+ "label": "ASIN",
158
+ "detail": "ASIN(number) -> Number",
159
+ "insertText": "ASIN(${1:number_})$0",
160
+ "insertTextMode": 2,
161
+ "insertTextFormat": 2,
162
+ "kind": 3,
163
+ "documentation": {
164
+ "kind": "markdown",
165
+ "value": "π_Returns the arc sine of a number__________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number between -1 and 1 on which to perform the operation_______________________________Ω.\n\n**π_Return value_____________Ω**: Number"
166
+ }
167
+ },
168
+ "parametersInfo": {
169
+ "min": 1,
170
+ "max": 1
171
+ }
172
+ },
173
+ {
174
+ "type": "function",
175
+ "name": "atan",
176
+ "bundle": "numeric",
177
+ "description": "π_Returns the arc tangent of a number___________________Ω.",
178
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 0.78539816___________________Ω\n\n```sql\nATAN(1)\n```\n\n",
179
+ "completion": {
180
+ "label": "ATAN",
181
+ "detail": "ATAN(number) -> Number",
182
+ "insertText": "ATAN(${1:number_})$0",
183
+ "insertTextMode": 2,
184
+ "insertTextFormat": 2,
185
+ "kind": 3,
186
+ "documentation": {
187
+ "kind": "markdown",
188
+ "value": "π_Returns the arc tangent of a number___________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number on which to perform the operation_______________________Ω.\n\n**π_Return value_____________Ω**: Number"
189
+ }
190
+ },
191
+ "parametersInfo": {
192
+ "min": 1,
193
+ "max": 1
194
+ }
195
+ },
196
+ {
197
+ "type": "function",
198
+ "name": "cast",
199
+ "bundle": "numeric",
200
+ "description": "π_Converts a value from one data type to another. The dataType parameter will determine what type the value is converted to. FLOAT converts the value to a double, INTEGER converts the value to an integer, etc_________________________________________________________________________________________________________Ω.",
201
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 2___________________Ω\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nπ_Returns '1:00 PM'__________________Ω\n\n```sql\nCAST('13:00' AS TIME)\n```\n\nπ_Returns 50_____________________Ω\n\n```sql\nCAST(50 AS VARCHAR(20))\n```\n\n",
202
+ "completion": {
203
+ "label": "CAST",
204
+ "detail": "CAST(value, dataType) -> Number,Datetime,String",
205
+ "insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
206
+ "insertTextMode": 2,
207
+ "insertTextFormat": 2,
208
+ "kind": 3,
209
+ "documentation": {
210
+ "kind": "markdown",
211
+ "value": "π_Converts a value from one data type to another. The dataType parameter will determine what type the value is converted to. FLOAT converts the value to a double, INTEGER converts the value to an integer, etc_________________________________________________________________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **value**: π_The value to convert to another data type______________________Ω.\n- **dataType**: π_The data type to convert the value to. Possible values: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`_____________________________________________________________________Ω.\n\n**π_Return value_____________Ω**: Number,Datetime,String"
212
+ }
213
+ },
214
+ "parametersInfo": {
215
+ "min": 2,
216
+ "max": 2
217
+ }
218
+ },
219
+ {
220
+ "type": "function",
221
+ "name": "ceiling",
222
+ "bundle": "numeric",
223
+ "description": "π_Returns the smallest integer greater than or equal to the number__________________________________Ω.",
224
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 235____________Ω\n\n```sql\nCEILING(234.042)\n```\n\n",
225
+ "completion": {
226
+ "label": "CEILING",
227
+ "detail": "CEILING(number) -> Number",
228
+ "insertText": "CEILING(${1:number_})$0",
229
+ "insertTextMode": 2,
230
+ "insertTextFormat": 2,
231
+ "kind": 3,
232
+ "documentation": {
233
+ "kind": "markdown",
234
+ "value": "π_Returns the smallest integer greater than or equal to the number__________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_The number to round upward____________________________Ω.\n\n**π_Return value_____________Ω**: Number"
235
+ }
236
+ },
237
+ "parametersInfo": {
238
+ "min": 1,
239
+ "max": 1
240
+ }
241
+ },
242
+ {
243
+ "type": "function",
244
+ "name": "cos",
245
+ "bundle": "numeric",
246
+ "description": "π_Returns the trigonometric cosine of the number, which is assumed to be an angle in radians_______________________________________________Ω.",
247
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns -0.41614684____________________Ω\n\n```sql\nCOS(2)\n```\n\n",
248
+ "completion": {
249
+ "label": "COS",
250
+ "detail": "COS(number) -> Number",
251
+ "insertText": "COS(${1:number_})$0",
252
+ "insertTextMode": 2,
253
+ "insertTextFormat": 2,
254
+ "kind": 3,
255
+ "documentation": {
256
+ "kind": "markdown",
257
+ "value": "π_Returns the trigonometric cosine of the number, which is assumed to be an angle in radians_______________________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_An angle in radians on which to perform the operation____________________________Ω.\n\n**π_Return value_____________Ω**: Number"
258
+ }
259
+ },
260
+ "parametersInfo": {
261
+ "min": 1,
262
+ "max": 1
263
+ }
264
+ },
265
+ {
266
+ "type": "function",
267
+ "name": "floor",
268
+ "bundle": "numeric",
269
+ "description": "π_Returns the largest integer that is less than or equal to the number____________________________________Ω.",
270
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 12_____________________Ω\n\n```sql\nFLOOR(12.9942)\n```\n\n",
271
+ "completion": {
272
+ "label": "FLOOR",
273
+ "detail": "FLOOR(number) -> Number",
274
+ "insertText": "FLOOR(${1:number_})$0",
275
+ "insertTextMode": 2,
276
+ "insertTextFormat": 2,
277
+ "kind": 3,
278
+ "documentation": {
279
+ "kind": "markdown",
280
+ "value": "π_Returns the largest integer that is less than or equal to the number____________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_The number to round downward______________________________Ω.\n\n**π_Return value_____________Ω**: Number"
281
+ }
282
+ },
283
+ "parametersInfo": {
284
+ "min": 1,
285
+ "max": 1
286
+ }
287
+ },
288
+ {
289
+ "type": "function",
290
+ "name": "log",
291
+ "bundle": "numeric",
292
+ "description": "π_Returns the natural logarithm (base e) of the number____________________________Ω.",
293
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 2.302585_________________Ω\n\n```sql\nLOG(10)\n```\n\n",
294
+ "completion": {
295
+ "label": "LOG",
296
+ "detail": "LOG(number) -> Number",
297
+ "insertText": "LOG(${1:number_})$0",
298
+ "insertTextMode": 2,
299
+ "insertTextFormat": 2,
300
+ "kind": 3,
301
+ "documentation": {
302
+ "kind": "markdown",
303
+ "value": "π_Returns the natural logarithm (base e) of the number____________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number greater than 0 on which to perform the operation______________________________Ω.\n\n**π_Return value_____________Ω**: Number"
304
+ }
305
+ },
306
+ "parametersInfo": {
307
+ "min": 1,
308
+ "max": 1
309
+ }
310
+ },
311
+ {
312
+ "type": "function",
313
+ "name": "log10",
314
+ "bundle": "numeric",
315
+ "description": "π_Returns the base-10 logarithm of the number_______________________Ω.",
316
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 0.301030_________________Ω\n\n```sql\nLOG10(2)\n```\n\n",
317
+ "completion": {
318
+ "label": "LOG10",
319
+ "detail": "LOG10(number) -> Number",
320
+ "insertText": "LOG10(${1:number_})$0",
321
+ "insertTextMode": 2,
322
+ "insertTextFormat": 2,
323
+ "kind": 3,
324
+ "documentation": {
325
+ "kind": "markdown",
326
+ "value": "π_Returns the base-10 logarithm of the number_______________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number on which to perform the operation that is greater than 0__________________________________Ω.\n\n**π_Return value_____________Ω**: Number"
327
+ }
328
+ },
329
+ "parametersInfo": {
330
+ "min": 1,
331
+ "max": 1
332
+ }
333
+ },
334
+ {
335
+ "type": "function",
336
+ "name": "mod",
337
+ "bundle": "numeric",
338
+ "description": "π_Returns the remainder after dividing a dividend by a divisor. Both the divindend and divisor must be integers________________________________________________________Ω.",
339
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 2___________________Ω\n\n```sql\nMOD(18, 4)\n```\n\n",
340
+ "completion": {
341
+ "label": "MOD",
342
+ "detail": "MOD(x, y) -> Number",
343
+ "insertText": "MOD(${1:x_}, ${2:y_})$0",
344
+ "insertTextMode": 2,
345
+ "insertTextFormat": 2,
346
+ "kind": 3,
347
+ "documentation": {
348
+ "kind": "markdown",
349
+ "value": "π_Returns the remainder after dividing a dividend by a divisor. Both the divindend and divisor must be integers________________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **x**: π_The number representing the dividend____________________Ω.\n- **y**: π_The number representing the divisor___________________Ω.\n\n**π_Return value_____________Ω**: Number"
350
+ }
351
+ },
352
+ "parametersInfo": {
353
+ "min": 2,
354
+ "max": 2
355
+ }
356
+ },
357
+ {
358
+ "type": "function",
359
+ "name": "nullif",
360
+ "bundle": "numeric",
361
+ "description": "π_Returns `NULL` if expression1 is equal to expression2. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0_______________________________________________________________________Ω.",
362
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns `null`_______________Ω\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nπ_Returns 32_____________________Ω\n\n```sql\nNULLIF(32, 0)\n```\n\nπ_Returns `null` if POP18 is equal to 0, otherwise, returns the value of TOTALPOP / POP18_____________________________________________Ω.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\n",
363
+ "completion": {
364
+ "label": "NULLIF",
365
+ "detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
366
+ "insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
367
+ "insertTextMode": 2,
368
+ "insertTextFormat": 2,
369
+ "kind": 3,
370
+ "documentation": {
371
+ "kind": "markdown",
372
+ "value": "π_Returns `NULL` if expression1 is equal to expression2. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0_______________________________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **expression1**: π_A value on which to perform the operation______________________Ω.\n- **expression2**: π_A value on which to perform the operation______________________Ω.\n\n**π_Return value_____________Ω**: Number,String,Datetime"
373
+ }
374
+ },
375
+ "parametersInfo": {
376
+ "min": 2,
377
+ "max": 2
378
+ }
379
+ },
380
+ {
381
+ "type": "function",
382
+ "name": "power",
383
+ "bundle": "numeric",
384
+ "description": "π_Returns the value of the number raised to the specified power________________________________Ω.",
385
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 8___________________Ω\n\n```sql\nPOWER(2, 3)\n```\n\n",
386
+ "completion": {
387
+ "label": "POWER",
388
+ "detail": "POWER(x, y) -> Number",
389
+ "insertText": "POWER(${1:x_}, ${2:y_})$0",
390
+ "insertTextMode": 2,
391
+ "insertTextFormat": 2,
392
+ "kind": 3,
393
+ "documentation": {
394
+ "kind": "markdown",
395
+ "value": "π_Returns the value of the number raised to the specified power________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **x**: π_The number on which to perform the operation________________________Ω.\n- **y**: π_The exponent indicating the number of times to multiply the number by itself________________________________________Ω.\n\n**π_Return value_____________Ω**: Number"
396
+ }
397
+ },
398
+ "parametersInfo": {
399
+ "min": 2,
400
+ "max": 2
401
+ }
402
+ },
403
+ {
404
+ "type": "function",
405
+ "name": "round",
406
+ "bundle": "numeric",
407
+ "description": "π_Rounds the number to the specified length______________________Ω.",
408
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 3.98_____________Ω\n\n```sql\nROUND(3.98024, 2)\n```\n\nπ_Returns 200____________Ω\n\n```sql\nROUND(192.1, -2)\n```\n\n",
409
+ "completion": {
410
+ "label": "ROUND",
411
+ "detail": "ROUND(number, length) -> Number",
412
+ "insertText": "ROUND(${1:number_}, ${2:length_})$0",
413
+ "insertTextMode": 2,
414
+ "insertTextFormat": 2,
415
+ "kind": 3,
416
+ "documentation": {
417
+ "kind": "markdown",
418
+ "value": "π_Rounds the number to the specified length______________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **number**: π_The number to round_____________________Ω.\n- **length**: π_The number of decimal places to round the number to. A positive length rounds the number to the specified decimal place. A negative length will round the number to the left of the decimal point__________________________________________________________________________________________________Ω.\n\n**π_Return value_____________Ω**: Number"
419
+ }
420
+ },
421
+ "parametersInfo": {
422
+ "min": 2,
423
+ "max": 2
424
+ }
425
+ },
426
+ {
427
+ "type": "function",
428
+ "name": "sign",
429
+ "bundle": "numeric",
430
+ "description": "π_Returns the sign of a given number. A negative number will return -1. A positive number will return 1____________________________________________________Ω.",
431
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns -1_____________________Ω\n\n```sql\nSIGN(-132)\n```\n\nπ_Returns 0___________________Ω\n\n```sql\nSIGN(0)\n```\n\nπ_Returns 1___________________Ω\n\n```sql\nSIGN(42)\n```\n\n",
432
+ "completion": {
433
+ "label": "SIGN",
434
+ "detail": "SIGN(number) -> Number",
435
+ "insertText": "SIGN(${1:number_})$0",
436
+ "insertTextMode": 2,
437
+ "insertTextFormat": 2,
438
+ "kind": 3,
439
+ "documentation": {
440
+ "kind": "markdown",
441
+ "value": "π_Returns the sign of a given number. A negative number will return -1. A positive number will return 1____________________________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_A number on which to perform the operation_______________________Ω.\n\n**π_Return value_____________Ω**: Number"
442
+ }
443
+ },
444
+ "parametersInfo": {
445
+ "min": 1,
446
+ "max": 1
447
+ }
448
+ },
449
+ {
450
+ "type": "function",
451
+ "name": "sin",
452
+ "bundle": "numeric",
453
+ "description": "π_Returns the trigonometric sine of the number, which is assumed to be an angle in radians______________________________________________Ω.",
454
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 0.84147098___________________Ω\n\n```sql\nSIN(1)\n```\n\n",
455
+ "completion": {
456
+ "label": "SIN",
457
+ "detail": "SIN(number) -> Number",
458
+ "insertText": "SIN(${1:number_})$0",
459
+ "insertTextMode": 2,
460
+ "insertTextFormat": 2,
461
+ "kind": 3,
462
+ "documentation": {
463
+ "kind": "markdown",
464
+ "value": "π_Returns the trigonometric sine of the number, which is assumed to be an angle in radians______________________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_An angle in radians on which to perform the operation____________________________Ω.\n\n**π_Return value_____________Ω**: Number"
465
+ }
466
+ },
467
+ "parametersInfo": {
468
+ "min": 1,
469
+ "max": 1
470
+ }
471
+ },
472
+ {
473
+ "type": "function",
474
+ "name": "tan",
475
+ "bundle": "numeric",
476
+ "description": "π_Returns the tangent of a number, which is assumed to be an angle in radians_______________________________________Ω.",
477
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 2.57215162___________________Ω\n\n```sql\nTAN(1.2)\n```\n\n",
478
+ "completion": {
479
+ "label": "TAN",
480
+ "detail": "TAN(number) -> Number",
481
+ "insertText": "TAN(${1:number_})$0",
482
+ "insertTextMode": 2,
483
+ "insertTextFormat": 2,
484
+ "kind": 3,
485
+ "documentation": {
486
+ "kind": "markdown",
487
+ "value": "π_Returns the tangent of a number, which is assumed to be an angle in radians_______________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **number**: π_An angle in radians on which to perform the operation____________________________Ω.\n\n**π_Return value_____________Ω**: Number"
488
+ }
489
+ },
490
+ "parametersInfo": {
491
+ "min": 1,
492
+ "max": 1
493
+ }
494
+ },
495
+ {
496
+ "type": "function",
497
+ "name": "truncate",
498
+ "bundle": "numeric",
499
+ "description": "π_Returns a truncated number____________________________Ω.",
500
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 91.3_____________Ω\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nπ_Returns 124____________Ω\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nπ_Returns 1900_____________Ω\n\n```sql\nTRUNCATE(1982.83, -2)\n```\n\n",
501
+ "completion": {
502
+ "label": "TRUNCATE",
503
+ "detail": "TRUNCATE(number, decimals) -> Number",
504
+ "insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
505
+ "insertTextMode": 2,
506
+ "insertTextFormat": 2,
507
+ "kind": 3,
508
+ "documentation": {
509
+ "kind": "markdown",
510
+ "value": "π_Returns a truncated number____________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **number**: π_A number to truncate______________________Ω.\n- **decimals**: π_A positive value truncates the number to the specified decimal place. A negative value truncates the number to the left of the decimal point________________________________________________________________________Ω.\n\n**π_Return value_____________Ω**: Number"
511
+ }
512
+ },
513
+ "parametersInfo": {
514
+ "min": 2,
515
+ "max": 2
516
+ }
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "id": "string_functions",
522
+ "title": "π_String functions_________________Ω",
523
+ "items": [
524
+ {
525
+ "type": "function",
526
+ "name": "char_length",
527
+ "bundle": "string",
528
+ "description": "π_Returns the number of characters in the text string as an integer__________________________________Ω.",
529
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 11_____________________Ω\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
530
+ "completion": {
531
+ "label": "CHAR_LENGTH",
532
+ "detail": "CHAR_LENGTH(string) -> Number",
533
+ "insertText": "CHAR_LENGTH(${1:string_})$0",
534
+ "insertTextMode": 2,
535
+ "insertTextFormat": 2,
536
+ "kind": 3,
537
+ "documentation": {
538
+ "kind": "markdown",
539
+ "value": "π_Returns the number of characters in the text string as an integer__________________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **string**: π_The text string to return the length of_____________________Ω.\n\n**π_Return value_____________Ω**: Number"
540
+ }
541
+ },
542
+ "parametersInfo": {
543
+ "min": 1,
544
+ "max": 1
545
+ }
546
+ },
547
+ {
548
+ "type": "function",
549
+ "name": "coalesce",
550
+ "bundle": "string",
551
+ "description": "π_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________Ω.",
552
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 'Green goldfish'_________________________Ω\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nπ_Returns -21____________Ω\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
553
+ "completion": {
554
+ "label": "COALESCE",
555
+ "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
556
+ "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
557
+ "insertTextMode": 2,
558
+ "insertTextFormat": 2,
559
+ "kind": 3,
560
+ "documentation": {
561
+ "kind": "markdown",
562
+ "value": "π_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **value1**: π_The first value________________Ω\n- **valueN**: π_N value_______________Ω\n\n**π_Return value_____________Ω**: String,Number,Datetime"
563
+ }
564
+ },
565
+ "parametersInfo": {
566
+ "min": 2,
567
+ "max": -1
568
+ }
569
+ },
570
+ {
571
+ "type": "function",
572
+ "name": "concat",
573
+ "bundle": "string",
574
+ "description": "π_Concatenates two strings together__________________Ω.",
575
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 'Maple syrup'______________________Ω\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
576
+ "completion": {
577
+ "label": "CONCAT",
578
+ "detail": "CONCAT(string1, string2) -> String",
579
+ "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
580
+ "insertTextMode": 2,
581
+ "insertTextFormat": 2,
582
+ "kind": 3,
583
+ "documentation": {
584
+ "kind": "markdown",
585
+ "value": "π_Concatenates two strings together__________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **string1**: π_The first text string_______________________Ω.\n- **string2**: π_The text string to concatenate to the first text string_____________________________Ω.\n\n**π_Return value_____________Ω**: String"
586
+ }
587
+ },
588
+ "parametersInfo": {
589
+ "min": 2,
590
+ "max": 2
591
+ }
592
+ },
593
+ {
594
+ "type": "function",
595
+ "name": "current_user",
596
+ "bundle": "string",
597
+ "description": "π_Returns the username of the user currently signed into the portal__________________________________Ω.",
598
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns the username of the user currently signed into the portal__________________________________Ω.\n\n```sql\nCURRENT_USER\n```\n\n",
599
+ "completion": {
600
+ "label": "CURRENT_USER",
601
+ "detail": "CURRENT_USER -> String",
602
+ "insertText": "CURRENT_USER",
603
+ "insertTextMode": 2,
604
+ "insertTextFormat": 2,
605
+ "kind": 3,
606
+ "documentation": {
607
+ "kind": "markdown",
608
+ "value": "π_Returns the username of the user currently signed into the portal__________________________________Ω.\n\n**π_Return value_____________Ω**: String"
609
+ }
610
+ },
611
+ "parametersInfo": {
612
+ "min": 0,
613
+ "max": 0
614
+ }
615
+ },
616
+ {
617
+ "type": "function",
618
+ "name": "lower",
619
+ "bundle": "string",
620
+ "description": "π_Converts all characters in the text string to lowercase_____________________________Ω.",
621
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 'hello world'______________________Ω\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
622
+ "completion": {
623
+ "label": "LOWER",
624
+ "detail": "LOWER(string) -> String",
625
+ "insertText": "LOWER(${1:string_})$0",
626
+ "insertTextMode": 2,
627
+ "insertTextFormat": 2,
628
+ "kind": 3,
629
+ "documentation": {
630
+ "kind": "markdown",
631
+ "value": "π_Converts all characters in the text string to lowercase_____________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **string**: π_The text string to convert to lowercase_____________________Ω.\n\n**π_Return value_____________Ω**: String"
632
+ }
633
+ },
634
+ "parametersInfo": {
635
+ "min": 1,
636
+ "max": 1
637
+ }
638
+ },
639
+ {
640
+ "type": "function",
641
+ "name": "position",
642
+ "bundle": "string",
643
+ "description": "π_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________Ω.",
644
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 6___________________Ω\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nπ_Returns 9___________________Ω\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
645
+ "completion": {
646
+ "label": "POSITION",
647
+ "detail": "POSITION(substring, string) -> Number",
648
+ "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
649
+ "insertTextMode": 2,
650
+ "insertTextFormat": 2,
651
+ "kind": 3,
652
+ "documentation": {
653
+ "kind": "markdown",
654
+ "value": "π_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **substring**: π_The text string to search for_______________________________Ω.\n- **string**: π_The string that will be searched for the substring___________________________Ω.\n\n**π_Return value_____________Ω**: Number"
655
+ }
656
+ },
657
+ "parametersInfo": {
658
+ "min": 2,
659
+ "max": 2
660
+ }
661
+ },
662
+ [
663
+ {
664
+ "type": "function",
665
+ "name": "substring",
666
+ "bundle": "string",
667
+ "description": "π_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ω.",
668
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 'City'_______________Ω\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
669
+ "completion": {
670
+ "label": "SUBSTRING",
671
+ "detail": "SUBSTRING(string, start, length) -> String",
672
+ "insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
673
+ "insertTextMode": 2,
674
+ "insertTextFormat": 2,
675
+ "kind": 3,
676
+ "documentation": {
677
+ "kind": "markdown",
678
+ "value": "π_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **string**: π_The text string to extract from_________________Ω.\n- **start**: π_The integer value that specifies where the returned characters will start______________________________________Ω.\n- **length**: π_The number of characters to extract___________________Ω.\n\n**π_Return value_____________Ω**: String"
679
+ }
680
+ },
681
+ "parametersInfo": {
682
+ "min": 3,
683
+ "max": 3
684
+ }
685
+ },
686
+ {
687
+ "type": "function",
688
+ "name": "substring",
689
+ "bundle": "string",
690
+ "description": "π_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ω.",
691
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 'City'_______________Ω\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nπ_Returns 'New York'___________________Ω\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
692
+ "completion": {
693
+ "label": "SUBSTRING",
694
+ "detail": "SUBSTRING(string, start, length) -> String",
695
+ "insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
696
+ "insertTextMode": 2,
697
+ "insertTextFormat": 2,
698
+ "kind": 3,
699
+ "documentation": {
700
+ "kind": "markdown",
701
+ "value": "π_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **string**: π_The text string to extract from_________________Ω.\n- **start**: π_The integer value that specifies where the returned characters will start______________________________________Ω.\n- **length**: π_The number of characters to extract___________________Ω.\n\n**π_Return value_____________Ω**: String"
702
+ }
703
+ },
704
+ "parametersInfo": {
705
+ "min": 3,
706
+ "max": 3
707
+ }
708
+ }
709
+ ],
710
+ {
711
+ "type": "function",
712
+ "name": "trim",
713
+ "bundle": "string",
714
+ "description": "π_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________Ω.",
715
+ "examples": "\n##### π_Examples_________________Ω\n\nπ_Returns 'myFunc'_________________Ω\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nπ_Returns ' hello world'________________________Ω\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nπ_Returns 'hello world'______________________Ω\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
716
+ "completion": {
717
+ "label": "TRIM",
718
+ "detail": "TRIM(side, character, string) -> String",
719
+ "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
720
+ "insertTextMode": 2,
721
+ "insertTextFormat": 2,
722
+ "kind": 3,
723
+ "documentation": {
724
+ "kind": "markdown",
725
+ "value": "π_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________Ω.\n\n**π_Parameters_____________________Ω**\n\n- **side**: π_The side of the text string where the space(s) or character(s) will be removed. Possible values: `LEADING`, `TRAILING`, `BOTH`_________________________________________________________________Ω.\n- **character**: π_The character(s) that will be trimmed from the text string_______________________________Ω.\n- **string**: π_The text string to trim_________________________Ω.\n\n**π_Return value_____________Ω**: String"
726
+ }
727
+ },
728
+ "parametersInfo": {
729
+ "min": 3,
730
+ "max": 3
731
+ }
732
+ },
733
+ {
734
+ "type": "function",
735
+ "name": "upper",
736
+ "bundle": "string",
737
+ "description": "π_Converts all characters in the text string to uppercase_____________________________Ω.",
738
+ "examples": "\n##### π_Example_______________Ω\n\nπ_Returns 'QUICK RED FOX'________________________Ω\n\n```sql\nUPPER('quick red fox')\n```\n\n",
739
+ "completion": {
740
+ "label": "UPPER",
741
+ "detail": "UPPER(string) -> String",
742
+ "insertText": "UPPER(${1:string_})$0",
743
+ "insertTextMode": 2,
744
+ "insertTextFormat": 2,
745
+ "kind": 3,
746
+ "documentation": {
747
+ "kind": "markdown",
748
+ "value": "π_Converts all characters in the text string to uppercase_____________________________Ω.\n\n**π_Parameter___________________Ω**\n\n- **string**: π_The string to convert to uppercase___________________Ω.\n\n**π_Return value_____________Ω**: String"
749
+ }
750
+ },
751
+ "parametersInfo": {
752
+ "min": 1,
753
+ "max": 1
754
+ }
755
+ }
756
+ ]
757
+ }
758
+ ]