@arcgis/coding-components 4.31.0-next.100 → 4.31.0-next.101

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 (184) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +28 -28
  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 +9 -9
  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 +2 -2
  83. package/dist/arcgis-coding-components/p-0099cb0d.entry.js +6 -0
  84. package/dist/arcgis-coding-components/{p-ca5e21ae.js → p-0dce262c.js} +2 -2
  85. package/dist/arcgis-coding-components/{p-9789b25b.js → p-1858151a.js} +2 -2
  86. package/dist/arcgis-coding-components/{p-62a81db6.js → p-2de7e7b2.js} +2 -2
  87. package/dist/arcgis-coding-components/{p-f6c8c48e.js → p-2fa7b354.js} +3 -3
  88. package/dist/arcgis-coding-components/{p-4574ffe0.js → p-3b31375b.js} +1 -1
  89. package/dist/arcgis-coding-components/{p-e4107fc7.entry.js → p-6f45223d.entry.js} +2 -2
  90. package/dist/arcgis-coding-components/p-7e43a86f.js +6 -0
  91. package/dist/arcgis-coding-components/{p-707dc6c6.js → p-936afb5f.js} +2 -2
  92. package/dist/arcgis-coding-components/{p-93497829.js → p-9ce8bda4.js} +1 -1
  93. package/dist/arcgis-coding-components/{p-d499c2c8.js → p-ac165874.js} +2 -2
  94. package/dist/arcgis-coding-components/{p-71912899.js → p-b2df0560.js} +2 -2
  95. package/dist/arcgis-coding-components/{p-19787db2.js → p-cdc51488.js} +1 -1
  96. package/dist/arcgis-coding-components/{p-64ea3c58.entry.js → p-cef69bbe.entry.js} +2 -2
  97. package/dist/arcgis-coding-components/{p-6d1679d7.js → p-d1dc7e54.js} +2 -2
  98. package/dist/arcgis-coding-components/p-d515c77f.js +6 -0
  99. package/dist/arcgis-coding-components/{p-b283dbfb.js → p-eb6d6bcd.js} +10 -10
  100. package/dist/arcgis-coding-components/{p-362b106d.js → p-edfcf736.js} +2 -2
  101. package/dist/cjs/{app-globals-4b840643.js → app-globals-fa455e3b.js} +1 -1
  102. package/dist/cjs/{arcade-defaults-4fb2f0f2.js → arcade-defaults-c65f2946.js} +3 -3
  103. package/dist/cjs/{arcade-mode-99d1b659.js → arcade-mode-c26e9d6a.js} +3 -3
  104. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
  105. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  106. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +7 -7
  107. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  108. package/dist/cjs/{css-37282522.js → css-0fd2d99c.js} +1 -1
  109. package/dist/cjs/{cssMode-3f042660.js → cssMode-b80b147d.js} +3 -3
  110. package/dist/cjs/{html-bfa7b20b.js → html-da7b375d.js} +3 -3
  111. package/dist/cjs/{htmlMode-39496270.js → htmlMode-d32befb1.js} +3 -3
  112. package/dist/cjs/{index-56b575b4.js → index-7784a06f.js} +1 -1
  113. package/dist/cjs/index.cjs.js +4 -4
  114. package/dist/cjs/{javascript-a5972240.js → javascript-a868b6f5.js} +4 -4
  115. package/dist/cjs/{jsonMode-7dea9123.js → jsonMode-78dca1a7.js} +3 -3
  116. package/dist/cjs/loader.cjs.js +3 -3
  117. package/dist/cjs/{sql-expr-defaults-e6038f75.js → sql-expr-defaults-2c542856.js} +38 -28
  118. package/dist/cjs/{sql-expr-mode-7b4ee768.js → sql-expr-mode-f2d1c231.js} +4 -4
  119. package/dist/cjs/{tsMode-8b8c14e0.js → tsMode-ffa70775.js} +3 -3
  120. package/dist/cjs/{typescript-f9e9e491.js → typescript-7bebb368.js} +3 -3
  121. package/dist/cjs/{useT9n-e6815234.js → useT9n-8cbeec71.js} +7 -5
  122. package/dist/components/arcade-defaults.js +1 -1
  123. package/dist/components/arcade-mode.js +1 -1
  124. package/dist/components/arcade-results.js +2 -2
  125. package/dist/components/arcade-suggestions.js +2 -2
  126. package/dist/components/arcgis-arcade-editor.js +2 -2
  127. package/dist/components/arcgis-arcade-results.js +1 -1
  128. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  129. package/dist/components/arcgis-assets.d.ts +1 -1
  130. package/dist/components/arcgis-assets.js +1 -1
  131. package/dist/components/arcgis-code-editor.js +1 -1
  132. package/dist/components/arcgis-editor-variables.js +1 -1
  133. package/dist/components/arcgis-language-api-panel.js +1 -1
  134. package/dist/components/arcgis-sql-expression-editor.js +5 -5
  135. package/dist/components/arcgis-sql-expression-fields.js +2 -2
  136. package/dist/components/{chunk-IUUKU7EW.js → chunk-UFIZBDFE.js} +2 -2
  137. package/dist/components/code-editor.js +2 -2
  138. package/dist/components/editor-variables.js +2 -2
  139. package/dist/components/fields.js +1 -1
  140. package/dist/components/index.js +1 -1
  141. package/dist/components/index2.js +1 -1
  142. package/dist/components/language-api-panel.js +2 -2
  143. package/dist/components/markdown.js +1 -1
  144. package/dist/components/sql-expr-defaults.js +29 -19
  145. package/dist/components/sql-expr-mode.js +2 -2
  146. package/dist/components/useT9n.js +5 -3
  147. package/dist/components/utilities.js +1 -1
  148. package/dist/esm/{app-globals-b21bcc49.js → app-globals-07f5e1d4.js} +1 -1
  149. package/dist/esm/{arcade-defaults-3a1b86cd.js → arcade-defaults-d78913f5.js} +3 -3
  150. package/dist/esm/{arcade-mode-befc845e.js → arcade-mode-879e0ab7.js} +3 -3
  151. package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
  152. package/dist/esm/arcgis-coding-components.js +4 -4
  153. package/dist/esm/arcgis-sql-expression-editor.entry.js +7 -7
  154. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  155. package/dist/esm/{css-6c7e70f9.js → css-c6fb1209.js} +1 -1
  156. package/dist/esm/{cssMode-46bb8d53.js → cssMode-2015e5c2.js} +3 -3
  157. package/dist/esm/{html-6b81f908.js → html-a247b2ef.js} +3 -3
  158. package/dist/esm/{htmlMode-b25e0941.js → htmlMode-bbddb780.js} +3 -3
  159. package/dist/esm/{index-8e6962cc.js → index-03e0d6f3.js} +1 -1
  160. package/dist/esm/index.js +4 -4
  161. package/dist/esm/{javascript-0c525554.js → javascript-10c11c6a.js} +4 -4
  162. package/dist/esm/{jsonMode-c0e68cc9.js → jsonMode-31194587.js} +3 -3
  163. package/dist/esm/loader.js +4 -4
  164. package/dist/esm/{sql-expr-defaults-324e2199.js → sql-expr-defaults-4960af21.js} +38 -28
  165. package/dist/esm/{sql-expr-mode-a1cf73b7.js → sql-expr-mode-2fb66dd0.js} +4 -4
  166. package/dist/esm/{tsMode-f795e4e5.js → tsMode-9ca0ac88.js} +3 -3
  167. package/dist/esm/{typescript-3d4e668d.js → typescript-79944363.js} +3 -3
  168. package/dist/esm/{useT9n-f4687877.js → useT9n-475945b0.js} +7 -5
  169. package/dist/loader/cdn.js +1 -1
  170. package/dist/loader/index.cjs.js +1 -1
  171. package/dist/loader/index.es2017.js +1 -1
  172. package/dist/loader/index.js +1 -1
  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-expression-profile-strategy.d.ts +5 -1
  181. package/package.json +12 -12
  182. package/dist/arcgis-coding-components/p-82550582.entry.js +0 -6
  183. package/dist/arcgis-coding-components/p-c73873d0.js +0 -6
  184. package/dist/arcgis-coding-components/p-c8915176.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($0)",
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($0)",
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($0)",
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 '12/21/2016')\n```\n\nґ_Returns 21_____________________Ї\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '12/21/2016 12: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($0)",
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
+ ]