@arcgis/coding-components 4.31.0-next.118 → 4.31.0-next.120

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 (147) 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 +84 -94
  3. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +184 -184
  4. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +300 -300
  5. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +184 -184
  6. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +306 -306
  7. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +184 -184
  8. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +99 -99
  9. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +99 -99
  10. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +184 -184
  11. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +4 -4
  12. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +306 -306
  13. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +99 -99
  14. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +271 -271
  15. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +306 -306
  16. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +271 -271
  17. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +184 -184
  18. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +300 -300
  19. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +184 -184
  20. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +99 -99
  21. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +184 -184
  22. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +300 -300
  23. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +300 -300
  24. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +99 -99
  25. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +99 -99
  26. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +99 -99
  27. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +306 -306
  28. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +300 -300
  29. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +300 -300
  30. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +99 -99
  31. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +306 -306
  32. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +99 -99
  33. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +300 -300
  34. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +306 -306
  35. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +99 -99
  36. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +184 -184
  37. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +271 -271
  38. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +306 -306
  39. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +306 -306
  40. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +271 -271
  41. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +271 -271
  42. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +271 -271
  43. package/dist/arcgis-coding-components/index.esm.js +2 -2
  44. package/dist/arcgis-coding-components/{p-78c4eba0.js → p-1ed6d5d2.js} +2 -2
  45. package/dist/arcgis-coding-components/{p-6b839fe5.js → p-268ef762.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-a197cb71.entry.js → p-31ab280f.entry.js} +2 -2
  47. package/dist/arcgis-coding-components/{p-0a5b478b.entry.js → p-392424d7.entry.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-50518425.js → p-3d70584f.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-26debb25.js → p-5bd2ea82.js} +2 -2
  50. package/dist/arcgis-coding-components/{p-e0cdc0cd.js → p-661f1809.js} +2 -2
  51. package/dist/arcgis-coding-components/{p-7bd68e46.js → p-6f0aedeb.js} +2 -2
  52. package/dist/arcgis-coding-components/{p-d3ad750c.js → p-701b064f.js} +2 -2
  53. package/dist/arcgis-coding-components/{p-2abc9c38.js → p-8c6acbe3.js} +2 -2
  54. package/dist/arcgis-coding-components/{p-002444a6.js → p-a64345ec.js} +1 -1
  55. package/dist/arcgis-coding-components/{p-89a581be.js → p-ab0c7293.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-1127e8e6.js → p-b2478059.js} +1 -1
  57. package/dist/arcgis-coding-components/{p-a8a9dd68.js → p-c3a77297.js} +2 -2
  58. package/dist/arcgis-coding-components/{p-b5e2d7e4.js → p-d2cb652a.js} +2 -2
  59. package/dist/arcgis-coding-components/{p-6d9a702c.js → p-d8f35b42.js} +2 -2
  60. package/dist/arcgis-coding-components/{p-c48e2b97.js → p-f3067adc.js} +10 -10
  61. package/dist/arcgis-coding-components/{p-facab962.entry.js → p-fefa16f8.entry.js} +2 -2
  62. package/dist/cjs/{app-globals-a6eaeb50.js → app-globals-a5ca2733.js} +1 -1
  63. package/dist/cjs/{arcade-defaults-5ac8b83c.js → arcade-defaults-750df323.js} +3 -3
  64. package/dist/cjs/{arcade-mode-e50b4e81.js → arcade-mode-7276b964.js} +3 -3
  65. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
  66. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  67. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  68. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  69. package/dist/cjs/{css-d8ca0762.js → css-5dcbf2f9.js} +1 -1
  70. package/dist/cjs/{cssMode-0dfc36ca.js → cssMode-28dff329.js} +3 -3
  71. package/dist/cjs/{html-49bff616.js → html-7686bcbd.js} +3 -3
  72. package/dist/cjs/{htmlMode-642d7454.js → htmlMode-dc221611.js} +3 -3
  73. package/dist/cjs/{index-0c87f8c3.js → index-6fdabe00.js} +1 -1
  74. package/dist/cjs/index.cjs.js +4 -4
  75. package/dist/cjs/{javascript-a9560b85.js → javascript-6815876d.js} +4 -4
  76. package/dist/cjs/{jsonMode-e49e5dae.js → jsonMode-25d764f8.js} +3 -3
  77. package/dist/cjs/loader.cjs.js +3 -3
  78. package/dist/cjs/{sql-expr-defaults-ba1e1463.js → sql-expr-defaults-c27030fd.js} +17 -17
  79. package/dist/cjs/{sql-expr-mode-11a87d27.js → sql-expr-mode-e3c04515.js} +3 -3
  80. package/dist/cjs/{tsMode-bcadce08.js → tsMode-d397f757.js} +3 -3
  81. package/dist/cjs/{typescript-1ea634d6.js → typescript-e1976545.js} +3 -3
  82. package/dist/cjs/{useT9n-9fed1d2d.js → useT9n-2bcb3300.js} +3 -3
  83. package/dist/components/arcade-defaults.js +1 -1
  84. package/dist/components/arcade-mode.js +1 -1
  85. package/dist/components/arcade-results.js +1 -1
  86. package/dist/components/arcade-suggestions.js +1 -1
  87. package/dist/components/arcgis-arcade-editor.js +1 -1
  88. package/dist/components/arcgis-arcade-results.js +1 -1
  89. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  90. package/dist/components/arcgis-assets.d.ts +1 -1
  91. package/dist/components/arcgis-assets.js +1 -1
  92. package/dist/components/arcgis-code-editor.js +1 -1
  93. package/dist/components/arcgis-editor-variables.js +1 -1
  94. package/dist/components/arcgis-language-api-panel.js +1 -1
  95. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  96. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  97. package/dist/components/chunk-UFIZBDFE.js +1 -1
  98. package/dist/components/code-editor.js +1 -1
  99. package/dist/components/editor-variables.js +1 -1
  100. package/dist/components/fields.js +1 -1
  101. package/dist/components/index.js +1 -1
  102. package/dist/components/index2.js +1 -1
  103. package/dist/components/language-api-panel.js +1 -1
  104. package/dist/components/markdown.js +1 -1
  105. package/dist/components/sql-expr-defaults.js +8 -8
  106. package/dist/components/sql-expr-mode.js +1 -1
  107. package/dist/components/useT9n.js +1 -1
  108. package/dist/components/utilities.js +1 -1
  109. package/dist/esm/{app-globals-db9d153e.js → app-globals-248cbe6a.js} +1 -1
  110. package/dist/esm/{arcade-defaults-6f8b26d3.js → arcade-defaults-6ff6dcc1.js} +3 -3
  111. package/dist/esm/{arcade-mode-4e9c533c.js → arcade-mode-07971823.js} +3 -3
  112. package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
  113. package/dist/esm/arcgis-coding-components.js +4 -4
  114. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  115. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  116. package/dist/esm/{css-0a9928e0.js → css-d4d8c34f.js} +1 -1
  117. package/dist/esm/{cssMode-ae70c516.js → cssMode-28616dad.js} +3 -3
  118. package/dist/esm/{html-85896233.js → html-95a59c55.js} +3 -3
  119. package/dist/esm/{htmlMode-e5f2c8a2.js → htmlMode-b90373e1.js} +3 -3
  120. package/dist/esm/{index-4db609d5.js → index-d20d28ef.js} +1 -1
  121. package/dist/esm/index.js +4 -4
  122. package/dist/esm/{javascript-539096af.js → javascript-c47641c7.js} +4 -4
  123. package/dist/esm/{jsonMode-45b2f447.js → jsonMode-5006bcad.js} +3 -3
  124. package/dist/esm/loader.js +4 -4
  125. package/dist/esm/{sql-expr-defaults-a3104aa0.js → sql-expr-defaults-239b0c66.js} +17 -17
  126. package/dist/esm/{sql-expr-mode-7be17e27.js → sql-expr-mode-7ce7ae5c.js} +3 -3
  127. package/dist/esm/{tsMode-6ff21691.js → tsMode-b7619b7d.js} +3 -3
  128. package/dist/esm/{typescript-cc67db82.js → typescript-d2a6bc05.js} +3 -3
  129. package/dist/esm/{useT9n-49f45d26.js → useT9n-f1cdb123.js} +3 -3
  130. package/dist/loader/cdn.js +1 -1
  131. package/dist/loader/index.cjs.js +1 -1
  132. package/dist/loader/index.es2017.js +1 -1
  133. package/dist/loader/index.js +1 -1
  134. package/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
  135. package/package.json +14 -13
  136. package/dist/arcgis-coding-components/assets/arcade-language/api/test.json +0 -6861
  137. package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js +0 -18943
  138. package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js.map +0 -7
  139. package/dist/types/Users/fred/Projects/arcgis-web-components-work/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
  140. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +0 -0
  141. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +0 -0
  142. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
  143. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/sql-expression-editor/sql-expression-editor.stories.d.ts +0 -0
  144. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
  145. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -0
  146. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -0
  147. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -0
@@ -1,14 +1,14 @@
1
1
  [
2
2
  {
3
3
  "id": "date_functions",
4
- "title": "Š_Date functions_______________č",
4
+ "title": "Datumske funkcije",
5
5
  "items": [
6
6
  {
7
7
  "type": "function",
8
8
  "name": "current_date",
9
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",
10
+ "description": "Vrne trenutni datum v UTC.",
11
+ "examples": "\n##### Primer\n\nVrne trenutni datum v UTC.\n\n```sql\nCURRENT_DATE\n```\n\n",
12
12
  "completion": {
13
13
  "label": "CURRENT_DATE",
14
14
  "detail": "CURRENT_DATE -> Datetime",
@@ -18,7 +18,7 @@
18
18
  "kind": 3,
19
19
  "documentation": {
20
20
  "kind": "markdown",
21
- "value": "Š_Returns the current date in UTC_________________č.\n\n**Š_Return value_____________č**: Datetime"
21
+ "value": "Vrne trenutni datum v UTC.\n\n**Vrnjena vrednost**: Datetime"
22
22
  }
23
23
  },
24
24
  "parametersInfo": {
@@ -30,8 +30,8 @@
30
30
  "type": "function",
31
31
  "name": "current_time",
32
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",
33
+ "description": "Vrne trenutni datum po UTC-ju in čas v urah, minutah in sekundah.",
34
+ "examples": "\n##### Primer\n\nVrne trenutni datum po UTC-ju in čas v urah, minutah in sekundah.\n\n```sql\nCURRENT_TIME\n```\n\n",
35
35
  "completion": {
36
36
  "label": "CURRENT_TIME",
37
37
  "detail": "CURRENT_TIME -> Datetime",
@@ -41,7 +41,7 @@
41
41
  "kind": 3,
42
42
  "documentation": {
43
43
  "kind": "markdown",
44
- "value": "Š_Returns the current UTC date and time in hours, minutes, and seconds____________________________________č.\n\n**Š_Return value_____________č**: Datetime"
44
+ "value": "Vrne trenutni datum po UTC-ju in čas v urah, minutah in sekundah.\n\n**Vrnjena vrednost**: Datetime"
45
45
  }
46
46
  },
47
47
  "parametersInfo": {
@@ -53,8 +53,8 @@
53
53
  "type": "function",
54
54
  "name": "current_timestamp",
55
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",
56
+ "description": "Vrne trenutni datum po UTC-ju in čas v urah, minutah, sekundah in milisekundah.",
57
+ "examples": "\n##### Primer\n\nVrne trenutni datum po UTC-ju in čas v urah, minutah, sekundah in milisekundah.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\n",
58
58
  "completion": {
59
59
  "label": "CURRENT_TIMESTAMP",
60
60
  "detail": "CURRENT_TIMESTAMP -> Datetime",
@@ -64,7 +64,7 @@
64
64
  "kind": 3,
65
65
  "documentation": {
66
66
  "kind": "markdown",
67
- "value": "Š_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________č.\n\n**Š_Return value_____________č**: Datetime"
67
+ "value": "Vrne trenutni datum po UTC-ju in čas v urah, minutah, sekundah in milisekundah.\n\n**Vrnjena vrednost**: Datetime"
68
68
  }
69
69
  },
70
70
  "parametersInfo": {
@@ -76,8 +76,8 @@
76
76
  "type": "function",
77
77
  "name": "extract",
78
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",
79
+ "description": "Vrne en del datuma/časa, kot je leto, mesec, dan, ura, minuta ali sekunda.",
80
+ "examples": "\n##### Primeri\n\nVrne 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nVrne 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nVrne 30\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\n",
81
81
  "completion": {
82
82
  "label": "EXTRACT",
83
83
  "detail": "EXTRACT(part, datetime) -> Number",
@@ -87,7 +87,7 @@
87
87
  "kind": 3,
88
88
  "documentation": {
89
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"
90
+ "value": "Vrne en del datuma/časa, kot je leto, mesec, dan, ura, minuta ali sekunda.\n\n**Parametri**\n\n- **part**: Del, ki ga želite ekstrahirati iz datuma. Možne vrednosti: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: Datum, iz katerega želite ekstrahirati del.\n\n**Vrnjena vrednost**: Number"
91
91
  }
92
92
  },
93
93
  "parametersInfo": {
@@ -98,25 +98,25 @@
98
98
  ]
99
99
  },
100
100
  {
101
- "id": "numeric_functions",
102
- "title": "Š_Numeric functions__________________č",
101
+ "id": "string_functions",
102
+ "title": "Funkcije niza",
103
103
  "items": [
104
104
  {
105
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",
106
+ "name": "char_length",
107
+ "bundle": "string",
108
+ "description": "Vrne število znakov v besedilnem nizu kot celo število.",
109
+ "examples": "\n##### Primer\n\nVrne 11\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
110
110
  "completion": {
111
- "label": "ABS",
112
- "detail": "ABS(number) -> Number",
113
- "insertText": "ABS(${1:number_})$0",
111
+ "label": "CHAR_LENGTH",
112
+ "detail": "CHAR_LENGTH(string) -> Number",
113
+ "insertText": "CHAR_LENGTH(${1:string_})$0",
114
114
  "insertTextMode": 2,
115
115
  "insertTextFormat": 2,
116
116
  "kind": 3,
117
117
  "documentation": {
118
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"
119
+ "value": "Vrne število znakov v besedilnem nizu kot celo število.\n\n**Parameter**\n\n- **string**: Besedilni niz, katerega dolžina bo vrnjena.\n\n**Vrnjena vrednost**: Number"
120
120
  }
121
121
  },
122
122
  "parametersInfo": {
@@ -126,181 +126,235 @@
126
126
  },
127
127
  {
128
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",
129
+ "name": "coalesce",
130
+ "bundle": "string",
131
+ "description": "Vrne prvo vrednost v seznamu, ki ni `NULL`. Vse vrednosti, posredovane v funkcijo, morajo biti istega tipa, razen vrednosti `NULL`.",
132
+ "examples": "\n##### Primeri\n\nVrne 'Green goldfish'\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nVrne -21\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
133
133
  "completion": {
134
- "label": "ACOS",
135
- "detail": "ACOS(number) -> Number",
136
- "insertText": "ACOS(${1:number_})$0",
134
+ "label": "COALESCE",
135
+ "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
136
+ "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
137
137
  "insertTextMode": 2,
138
138
  "insertTextFormat": 2,
139
139
  "kind": 3,
140
140
  "documentation": {
141
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"
142
+ "value": "Vrne prvo vrednost v seznamu, ki ni `NULL`. Vse vrednosti, posredovane v funkcijo, morajo biti istega tipa, razen vrednosti `NULL`.\n\n**Parametri**\n\n- **value1**: Š_The first value in the list_____________________________č.\n- **valueN**: Š_The subsequent value(s) in the list___________________č.\n\n**Vrnjena vrednost**: String,Number,Datetime"
143
143
  }
144
144
  },
145
145
  "parametersInfo": {
146
- "min": 1,
147
- "max": 1
146
+ "min": 2,
147
+ "max": -1
148
148
  }
149
149
  },
150
150
  {
151
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",
152
+ "name": "concat",
153
+ "bundle": "string",
154
+ "description": "Spoji dva niza skupaj.",
155
+ "examples": "\n##### Primer\n\nVrne 'Maple syrup'\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
156
156
  "completion": {
157
- "label": "ASIN",
158
- "detail": "ASIN(number) -> Number",
159
- "insertText": "ASIN(${1:number_})$0",
157
+ "label": "CONCAT",
158
+ "detail": "CONCAT(string1, string2) -> String",
159
+ "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
160
160
  "insertTextMode": 2,
161
161
  "insertTextFormat": 2,
162
162
  "kind": 3,
163
163
  "documentation": {
164
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"
165
+ "value": "Spoji dva niza skupaj.\n\n**Parametri**\n\n- **string1**: Prvi besedilni niz.\n- **string2**: Besedilni niz, ki bo spojen s prvim besedilnim nizom.\n\n**Vrnjena vrednost**: String"
166
166
  }
167
167
  },
168
168
  "parametersInfo": {
169
- "min": 1,
170
- "max": 1
169
+ "min": 2,
170
+ "max": 2
171
171
  }
172
172
  },
173
173
  {
174
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",
175
+ "name": "current_user",
176
+ "bundle": "string",
177
+ "description": "Vrne uporabniško ime za trenutno prijavljenega uporabnika portala.",
178
+ "examples": "\n##### Primer\n\nVrne uporabniško ime za trenutno prijavljenega uporabnika portala.\n\n```sql\nCURRENT_USER\n```\n\n",
179
179
  "completion": {
180
- "label": "ATAN",
181
- "detail": "ATAN(number) -> Number",
182
- "insertText": "ATAN(${1:number_})$0",
180
+ "label": "CURRENT_USER",
181
+ "detail": "CURRENT_USER -> String",
182
+ "insertText": "CURRENT_USER",
183
183
  "insertTextMode": 2,
184
184
  "insertTextFormat": 2,
185
185
  "kind": 3,
186
186
  "documentation": {
187
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"
188
+ "value": "Vrne uporabniško ime za trenutno prijavljenega uporabnika portala.\n\n**Vrnjena vrednost**: String"
189
189
  }
190
190
  },
191
191
  "parametersInfo": {
192
- "min": 1,
193
- "max": 1
192
+ "min": 0,
193
+ "max": 0
194
194
  }
195
195
  },
196
196
  {
197
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",
198
+ "name": "lower",
199
+ "bundle": "string",
200
+ "description": "Pretvori vse znake v besedilnem nizu v male črke.",
201
+ "examples": "\n##### Primer\n\nVrne 'hello world'\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
202
202
  "completion": {
203
- "label": "CAST",
204
- "detail": "CAST(value, dataType) -> Number,Datetime,String",
205
- "insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
203
+ "label": "LOWER",
204
+ "detail": "LOWER(string) -> String",
205
+ "insertText": "LOWER(${1:string_})$0",
206
206
  "insertTextMode": 2,
207
207
  "insertTextFormat": 2,
208
208
  "kind": 3,
209
209
  "documentation": {
210
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"
211
+ "value": "Pretvori vse znake v besedilnem nizu v male črke.\n\n**Parameter**\n\n- **string**: Besedilni niz, ki bo pretvorjen v male črke.\n\n**Vrnjena vrednost**: String"
212
212
  }
213
213
  },
214
214
  "parametersInfo": {
215
- "min": 2,
216
- "max": 2
215
+ "min": 1,
216
+ "max": 1
217
217
  }
218
218
  },
219
219
  {
220
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",
221
+ "name": "position",
222
+ "bundle": "string",
223
+ "description": "Vrne prvi pojav podniza v drugem besedilnem nizu. Vrne 0, če podniz ni najden.",
224
+ "examples": "\n##### Primeri\n\nVrne 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nVrne 9\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
225
225
  "completion": {
226
- "label": "CEILING",
227
- "detail": "CEILING(number) -> Number",
228
- "insertText": "CEILING(${1:number_})$0",
226
+ "label": "POSITION",
227
+ "detail": "POSITION(substring, string) -> Number",
228
+ "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
229
229
  "insertTextMode": 2,
230
230
  "insertTextFormat": 2,
231
231
  "kind": 3,
232
232
  "documentation": {
233
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"
234
+ "value": "Vrne prvi pojav podniza v drugem besedilnem nizu. Vrne 0, če podniz ni najden.\n\n**Parametri**\n\n- **substring**: Besedilni niz za iskanje.\n- **string**: Niz, v katerem se bo iskal podniz.\n\n**Vrnjena vrednost**: Number"
235
235
  }
236
236
  },
237
237
  "parametersInfo": {
238
- "min": 1,
239
- "max": 1
238
+ "min": 2,
239
+ "max": 2
240
240
  }
241
241
  },
242
+ [
243
+ {
244
+ "type": "function",
245
+ "name": "substring",
246
+ "bundle": "string",
247
+ "description": "Vrne podizbor znakov v besedilnem nizu od začetne točke do navedene dolžine niza.",
248
+ "examples": "\n##### Primer\n\nVrne 'City'\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
249
+ "completion": {
250
+ "label": "SUBSTRING",
251
+ "detail": "SUBSTRING(string, start, length) -> String",
252
+ "insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
253
+ "insertTextMode": 2,
254
+ "insertTextFormat": 2,
255
+ "kind": 3,
256
+ "documentation": {
257
+ "kind": "markdown",
258
+ "value": "Vrne podizbor znakov v besedilnem nizu od začetne točke do navedene dolžine niza.\n\n**Parametri**\n\n- **string**: Besedilni niz za ekstrahiranje.\n- **start**: Vrednost celega števila, ki določa, kje se bodo začeli vrnjeni znaki.\n- **length**: Število znakov za ekstrakcijo.\n\n**Vrnjena vrednost**: String"
259
+ }
260
+ },
261
+ "parametersInfo": {
262
+ "min": 3,
263
+ "max": 3
264
+ }
265
+ },
266
+ {
267
+ "type": "function",
268
+ "name": "substring",
269
+ "bundle": "string",
270
+ "description": "Vrne podizbor znakov v besedilnem nizu od začetne točke do navedene dolžine niza.",
271
+ "examples": "\n##### Primeri\n\nVrne 'City'\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nVrne 'New York'\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
272
+ "completion": {
273
+ "label": "SUBSTRING",
274
+ "detail": "SUBSTRING(string, start, length) -> String",
275
+ "insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
276
+ "insertTextMode": 2,
277
+ "insertTextFormat": 2,
278
+ "kind": 3,
279
+ "documentation": {
280
+ "kind": "markdown",
281
+ "value": "Vrne podizbor znakov v besedilnem nizu od začetne točke do navedene dolžine niza.\n\n**Parametri**\n\n- **string**: Besedilni niz za ekstrahiranje.\n- **start**: Vrednost celega števila, ki določa, kje se bodo začeli vrnjeni znaki.\n- **length**: Število znakov za ekstrakcijo.\n\n**Vrnjena vrednost**: String"
282
+ }
283
+ },
284
+ "parametersInfo": {
285
+ "min": 3,
286
+ "max": 3
287
+ }
288
+ }
289
+ ],
242
290
  {
243
291
  "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",
292
+ "name": "trim",
293
+ "bundle": "string",
294
+ "description": "Vrne besedilni niz, kjer so vsi začetni in/ali končni presledki ali drugi navedeni znaki odstranjeni. LEADING bo obrezal vodilno stran besedilnega niza, TRAILING bo obrezal zaključno stran besedilnega niza, medtem ko bo BOTH obrezal obe strani besedilnega niza.",
295
+ "examples": "\n##### Primeri\n\nVrne 'myFunc'\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nVrne 'hello world'\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nVrne 'hello world'\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
248
296
  "completion": {
249
- "label": "COS",
250
- "detail": "COS(number) -> Number",
251
- "insertText": "COS(${1:number_})$0",
297
+ "label": "TRIM",
298
+ "detail": "TRIM(side, character, string) -> String",
299
+ "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
252
300
  "insertTextMode": 2,
253
301
  "insertTextFormat": 2,
254
302
  "kind": 3,
255
303
  "documentation": {
256
304
  "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"
305
+ "value": "Vrne besedilni niz, kjer so vsi začetni in/ali končni presledki ali drugi navedeni znaki odstranjeni. LEADING bo obrezal vodilno stran besedilnega niza, TRAILING bo obrezal zaključno stran besedilnega niza, medtem ko bo BOTH obrezal obe strani besedilnega niza.\n\n**Parametri**\n\n- **side**: Stran besedilnega niza, kjer bodo presledki ali znaki odstranjeni. Možne vrednosti: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: Znaki, ki bodo odrezani iz besedilnega niza.\n- **string**: Besedilni niz, ki ga je treba obrezati.\n\n**Vrnjena vrednost**: String"
258
306
  }
259
307
  },
260
308
  "parametersInfo": {
261
- "min": 1,
262
- "max": 1
309
+ "min": 3,
310
+ "max": 3
263
311
  }
264
312
  },
265
313
  {
266
314
  "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",
315
+ "name": "upper",
316
+ "bundle": "string",
317
+ "description": "Pretvori vse znake v besedilnem nizu v velike črke.",
318
+ "examples": "\n##### Primer\n\nVrne 'QUICK RED FOX'\n\n```sql\nUPPER('quick red fox')\n```\n\n",
271
319
  "completion": {
272
- "label": "FLOOR",
273
- "detail": "FLOOR(number) -> Number",
274
- "insertText": "FLOOR(${1:number_})$0",
320
+ "label": "UPPER",
321
+ "detail": "UPPER(string) -> String",
322
+ "insertText": "UPPER(${1:string_})$0",
275
323
  "insertTextMode": 2,
276
324
  "insertTextFormat": 2,
277
325
  "kind": 3,
278
326
  "documentation": {
279
327
  "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"
328
+ "value": "Pretvori vse znake v besedilnem nizu v velike črke.\n\n**Parameter**\n\n- **string**: Niz, ki bo pretvorjen v velike črke.\n\n**Vrnjena vrednost**: String"
281
329
  }
282
330
  },
283
331
  "parametersInfo": {
284
332
  "min": 1,
285
333
  "max": 1
286
334
  }
287
- },
335
+ }
336
+ ]
337
+ },
338
+ {
339
+ "id": "numeric_functions",
340
+ "title": "Številske funkcije",
341
+ "items": [
288
342
  {
289
343
  "type": "function",
290
- "name": "log",
344
+ "name": "abs",
291
345
  "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",
346
+ "description": "Vrne absolutno vrednost števila.",
347
+ "examples": "\n##### Primer\n\nVrne 2\n\n```sql\nABS(-2)\n```\n\n",
294
348
  "completion": {
295
- "label": "LOG",
296
- "detail": "LOG(number) -> Number",
297
- "insertText": "LOG(${1:number_})$0",
349
+ "label": "ABS",
350
+ "detail": "ABS(number) -> Number",
351
+ "insertText": "ABS(${1:number_})$0",
298
352
  "insertTextMode": 2,
299
353
  "insertTextFormat": 2,
300
354
  "kind": 3,
301
355
  "documentation": {
302
356
  "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"
357
+ "value": "Vrne absolutno vrednost števila.\n\n**Parameter**\n\n- **number**: Številka, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
304
358
  }
305
359
  },
306
360
  "parametersInfo": {
@@ -310,20 +364,20 @@
310
364
  },
311
365
  {
312
366
  "type": "function",
313
- "name": "log10",
367
+ "name": "acos",
314
368
  "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",
369
+ "description": "Vrne arkus kosinus števila.",
370
+ "examples": "\n##### Primer\n\nVrne 1.26610367\n\n```sql\nACOS(0.3)\n```\n\n",
317
371
  "completion": {
318
- "label": "LOG10",
319
- "detail": "LOG10(number) -> Number",
320
- "insertText": "LOG10(${1:number_})$0",
372
+ "label": "ACOS",
373
+ "detail": "ACOS(number) -> Number",
374
+ "insertText": "ACOS(${1:number_})$0",
321
375
  "insertTextMode": 2,
322
376
  "insertTextFormat": 2,
323
377
  "kind": 3,
324
378
  "documentation": {
325
379
  "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"
380
+ "value": "Vrne arkus kosinus števila.\n\n**Parameter**\n\n- **number**: Številka med –1 in 1, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
327
381
  }
328
382
  },
329
383
  "parametersInfo": {
@@ -333,66 +387,66 @@
333
387
  },
334
388
  {
335
389
  "type": "function",
336
- "name": "mod",
390
+ "name": "asin",
337
391
  "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",
392
+ "description": "Vrne arkus sinus števila.",
393
+ "examples": "\n##### Primer\n\nVrne 0.30469265\n\n```sql\nASIN(0.3)\n```\n\n",
340
394
  "completion": {
341
- "label": "MOD",
342
- "detail": "MOD(x, y) -> Number",
343
- "insertText": "MOD(${1:x_}, ${2:y_})$0",
395
+ "label": "ASIN",
396
+ "detail": "ASIN(number) -> Number",
397
+ "insertText": "ASIN(${1:number_})$0",
344
398
  "insertTextMode": 2,
345
399
  "insertTextFormat": 2,
346
400
  "kind": 3,
347
401
  "documentation": {
348
402
  "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"
403
+ "value": "Vrne arkus sinus števila.\n\n**Parameter**\n\n- **number**: Številka med –1 in 1, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
350
404
  }
351
405
  },
352
406
  "parametersInfo": {
353
- "min": 2,
354
- "max": 2
407
+ "min": 1,
408
+ "max": 1
355
409
  }
356
410
  },
357
411
  {
358
412
  "type": "function",
359
- "name": "nullif",
413
+ "name": "atan",
360
414
  "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",
415
+ "description": "Vrne arkus tangens števila.",
416
+ "examples": "\n##### Primer\n\nVrne 0.78539816\n\n```sql\nATAN(1)\n```\n\n",
363
417
  "completion": {
364
- "label": "NULLIF",
365
- "detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
366
- "insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
418
+ "label": "ATAN",
419
+ "detail": "ATAN(number) -> Number",
420
+ "insertText": "ATAN(${1:number_})$0",
367
421
  "insertTextMode": 2,
368
422
  "insertTextFormat": 2,
369
423
  "kind": 3,
370
424
  "documentation": {
371
425
  "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"
426
+ "value": "Vrne arkus tangens števila.\n\n**Parameter**\n\n- **number**: Številka, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
373
427
  }
374
428
  },
375
429
  "parametersInfo": {
376
- "min": 2,
377
- "max": 2
430
+ "min": 1,
431
+ "max": 1
378
432
  }
379
433
  },
380
434
  {
381
435
  "type": "function",
382
- "name": "power",
436
+ "name": "cast",
383
437
  "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",
438
+ "description": "Pretvori vrednost iz enega tipa podatkov v drugega. Parameter dataType bo določil, v katero vrsto se vrednost pretvori. FLOAT pretvori vrednost v dvojno, INTEGER pretvori vrednost v celo število itd.",
439
+ "examples": "\n##### Primeri\n\nVrne 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nVrne \"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",
386
440
  "completion": {
387
- "label": "POWER",
388
- "detail": "POWER(x, y) -> Number",
389
- "insertText": "POWER(${1:x_}, ${2:y_})$0",
441
+ "label": "CAST",
442
+ "detail": "CAST(value, dataType) -> Number,Datetime,String",
443
+ "insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
390
444
  "insertTextMode": 2,
391
445
  "insertTextFormat": 2,
392
446
  "kind": 3,
393
447
  "documentation": {
394
448
  "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"
449
+ "value": "Pretvori vrednost iz enega tipa podatkov v drugega. Parameter dataType bo določil, v katero vrsto se vrednost pretvori. FLOAT pretvori vrednost v dvojno, INTEGER pretvori vrednost v celo število itd.\n\n**Parametri**\n\n- **value**: Vrednost, ki bo pretvorjena v drug tip podatkov.\n- **dataType**: Tip podatkov, v katerega želite pretvoriti vrednost. Možne vrednosti: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Vrnjena vrednost**: Number,Datetime,String"
396
450
  }
397
451
  },
398
452
  "parametersInfo": {
@@ -402,43 +456,43 @@
402
456
  },
403
457
  {
404
458
  "type": "function",
405
- "name": "round",
459
+ "name": "ceiling",
406
460
  "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",
461
+ "description": "Vrne najmanjše celo število, ki je večje ali enako številu.",
462
+ "examples": "\n##### Primer\n\nVrne 235\n\n```sql\nCEILING(234.042)\n```\n\n",
409
463
  "completion": {
410
- "label": "ROUND",
411
- "detail": "ROUND(number, length) -> Number",
412
- "insertText": "ROUND(${1:number_}, ${2:length_})$0",
464
+ "label": "CEILING",
465
+ "detail": "CEILING(number) -> Number",
466
+ "insertText": "CEILING(${1:number_})$0",
413
467
  "insertTextMode": 2,
414
468
  "insertTextFormat": 2,
415
469
  "kind": 3,
416
470
  "documentation": {
417
471
  "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"
472
+ "value": "Vrne najmanjše celo število, ki je večje ali enako številu.\n\n**Parameter**\n\n- **number**: Številka za zaokroževanje navzgor.\n\n**Vrnjena vrednost**: Number"
419
473
  }
420
474
  },
421
475
  "parametersInfo": {
422
- "min": 2,
423
- "max": 2
476
+ "min": 1,
477
+ "max": 1
424
478
  }
425
479
  },
426
480
  {
427
481
  "type": "function",
428
- "name": "sign",
482
+ "name": "cos",
429
483
  "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",
484
+ "description": "Vrne trigonometrični kosinus števila, za katerega se predvideva, da je kot v radianih.",
485
+ "examples": "\n##### Primer\n\nVrne -0.41614684\n\n```sql\nCOS(2)\n```\n\n",
432
486
  "completion": {
433
- "label": "SIGN",
434
- "detail": "SIGN(number) -> Number",
435
- "insertText": "SIGN(${1:number_})$0",
487
+ "label": "COS",
488
+ "detail": "COS(number) -> Number",
489
+ "insertText": "COS(${1:number_})$0",
436
490
  "insertTextMode": 2,
437
491
  "insertTextFormat": 2,
438
492
  "kind": 3,
439
493
  "documentation": {
440
494
  "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"
495
+ "value": "Vrne trigonometrični kosinus števila, za katerega se predvideva, da je kot v radianih.\n\n**Parameter**\n\n- **number**: Kot v radianih, na katerem se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
442
496
  }
443
497
  },
444
498
  "parametersInfo": {
@@ -448,20 +502,20 @@
448
502
  },
449
503
  {
450
504
  "type": "function",
451
- "name": "sin",
505
+ "name": "floor",
452
506
  "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",
507
+ "description": "Vrne največje celo število, ki je manjše ali enako številu.",
508
+ "examples": "\n##### Primer\n\nVrne 12\n\n```sql\nFLOOR(12.9942)\n```\n\n",
455
509
  "completion": {
456
- "label": "SIN",
457
- "detail": "SIN(number) -> Number",
458
- "insertText": "SIN(${1:number_})$0",
510
+ "label": "FLOOR",
511
+ "detail": "FLOOR(number) -> Number",
512
+ "insertText": "FLOOR(${1:number_})$0",
459
513
  "insertTextMode": 2,
460
514
  "insertTextFormat": 2,
461
515
  "kind": 3,
462
516
  "documentation": {
463
517
  "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"
518
+ "value": "Vrne največje celo število, ki je manjše ali enako številu.\n\n**Parameter**\n\n- **number**: Število, ki bo zaokroženo navzdol.\n\n**Vrnjena vrednost**: Number"
465
519
  }
466
520
  },
467
521
  "parametersInfo": {
@@ -471,20 +525,20 @@
471
525
  },
472
526
  {
473
527
  "type": "function",
474
- "name": "tan",
528
+ "name": "log",
475
529
  "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",
530
+ "description": "Vrne naravni logaritem (osnova e) od števila.",
531
+ "examples": "\n##### Primer\n\nVrne 2.302585\n\n```sql\nLOG(10)\n```\n\n",
478
532
  "completion": {
479
- "label": "TAN",
480
- "detail": "TAN(number) -> Number",
481
- "insertText": "TAN(${1:number_})$0",
533
+ "label": "LOG",
534
+ "detail": "LOG(number) -> Number",
535
+ "insertText": "LOG(${1:number_})$0",
482
536
  "insertTextMode": 2,
483
537
  "insertTextFormat": 2,
484
538
  "kind": 3,
485
539
  "documentation": {
486
540
  "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"
541
+ "value": "Vrne naravni logaritem (osnova e) od števila.\n\n**Parameter**\n\n- **number**: Številka večja od 0, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
488
542
  }
489
543
  },
490
544
  "parametersInfo": {
@@ -494,95 +548,89 @@
494
548
  },
495
549
  {
496
550
  "type": "function",
497
- "name": "truncate",
551
+ "name": "log10",
498
552
  "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",
553
+ "description": "Vrne logaritem števila z osnovo 10.",
554
+ "examples": "\n##### Primer\n\nVrne 0.301030\n\n```sql\nLOG10(2)\n```\n\n",
501
555
  "completion": {
502
- "label": "TRUNCATE",
503
- "detail": "TRUNCATE(number, decimals) -> Number",
504
- "insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
556
+ "label": "LOG10",
557
+ "detail": "LOG10(number) -> Number",
558
+ "insertText": "LOG10(${1:number_})$0",
505
559
  "insertTextMode": 2,
506
560
  "insertTextFormat": 2,
507
561
  "kind": 3,
508
562
  "documentation": {
509
563
  "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"
564
+ "value": "Vrne logaritem števila z osnovo 10.\n\n**Parameter**\n\n- **number**: Številka, na kateri se izvaja operacija, ki je večja od 0.\n\n**Vrnjena vrednost**: Number"
511
565
  }
512
566
  },
513
567
  "parametersInfo": {
514
- "min": 2,
515
- "max": 2
568
+ "min": 1,
569
+ "max": 1
516
570
  }
517
- }
518
- ]
519
- },
520
- {
521
- "id": "string_functions",
522
- "title": "Š_String functions_________________č",
523
- "items": [
571
+ },
524
572
  {
525
573
  "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",
574
+ "name": "mod",
575
+ "bundle": "numeric",
576
+ "description": "Vrne ostanek po deljenju deljenca z deliteljem. Tako deljenec kot delitelj morata biti cela števila.",
577
+ "examples": "\n##### Primer\n\nVrne 2\n\n```sql\nMOD(18, 4)\n```\n\n",
530
578
  "completion": {
531
- "label": "CHAR_LENGTH",
532
- "detail": "CHAR_LENGTH(string) -> Number",
533
- "insertText": "CHAR_LENGTH(${1:string_})$0",
579
+ "label": "MOD",
580
+ "detail": "MOD(x, y) -> Number",
581
+ "insertText": "MOD(${1:x_}, ${2:y_})$0",
534
582
  "insertTextMode": 2,
535
583
  "insertTextFormat": 2,
536
584
  "kind": 3,
537
585
  "documentation": {
538
586
  "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"
587
+ "value": "Vrne ostanek po deljenju deljenca z deliteljem. Tako deljenec kot delitelj morata biti cela števila.\n\n**Parametri**\n\n- **x**: Številka, ki predstavlja deljenca.\n- **y**: Številka, ki predstavlja delitelja.\n\n**Vrnjena vrednost**: Number"
540
588
  }
541
589
  },
542
590
  "parametersInfo": {
543
- "min": 1,
544
- "max": 1
591
+ "min": 2,
592
+ "max": 2
545
593
  }
546
594
  },
547
595
  {
548
596
  "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",
597
+ "name": "nullif",
598
+ "bundle": "numeric",
599
+ "description": "Š_Returns `NULL` if expression1 is equal to expression2, otherwise returns expression1. Values for expression1 and expression2 must be the same type. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0______________________________________________________________________________________________________________________č.",
600
+ "examples": "\n##### Primeri\n\nVrne `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nVrne 32\n\n```sql\nNULLIF(32, 0)\n```\n\nVrne `null` če je POP18 enak 0, drugače vrne vrednost TOTALPOP / POP18.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\n",
553
601
  "completion": {
554
- "label": "COALESCE",
555
- "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
556
- "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
602
+ "label": "NULLIF",
603
+ "detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
604
+ "insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
557
605
  "insertTextMode": 2,
558
606
  "insertTextFormat": 2,
559
607
  "kind": 3,
560
608
  "documentation": {
561
609
  "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"
610
+ "value": "Š_Returns `NULL` if expression1 is equal to expression2, otherwise returns expression1. Values for expression1 and expression2 must be the same type. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0______________________________________________________________________________________________________________________č.\n\n**Parametri**\n\n- **expression1**: Vrednost, na kateri se izvaja operacija.\n- **expression2**: Vrednost, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number,String,Datetime"
563
611
  }
564
612
  },
565
613
  "parametersInfo": {
566
614
  "min": 2,
567
- "max": -1
615
+ "max": 2
568
616
  }
569
617
  },
570
618
  {
571
619
  "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",
620
+ "name": "power",
621
+ "bundle": "numeric",
622
+ "description": "Vrne vrednost števila, povečano na določeno potenco.",
623
+ "examples": "\n##### Primer\n\nVrne 8\n\n```sql\nPOWER(2, 3)\n```\n\n",
576
624
  "completion": {
577
- "label": "CONCAT",
578
- "detail": "CONCAT(string1, string2) -> String",
579
- "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
625
+ "label": "POWER",
626
+ "detail": "POWER(x, y) -> Number",
627
+ "insertText": "POWER(${1:x_}, ${2:y_})$0",
580
628
  "insertTextMode": 2,
581
629
  "insertTextFormat": 2,
582
630
  "kind": 3,
583
631
  "documentation": {
584
632
  "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"
633
+ "value": "Vrne vrednost števila, povečano na določeno potenco.\n\n**Parametri**\n\n- **x**: Številka, na kateri se izvaja operacija.\n- **y**: Eksponent, ki prikazuje, kolikokrat je število treba množiti s samim sabo.\n\n**Vrnjena vrednost**: Number"
586
634
  }
587
635
  },
588
636
  "parametersInfo": {
@@ -592,43 +640,43 @@
592
640
  },
593
641
  {
594
642
  "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",
643
+ "name": "round",
644
+ "bundle": "numeric",
645
+ "description": "Zaokroži število na določeno dolžino.",
646
+ "examples": "\n##### Primeri\n\nVrne 3.98\n\n```sql\nROUND(3.98024, 2)\n```\n\nVrne 200\n\n```sql\nROUND(192.1, -2)\n```\n\n",
599
647
  "completion": {
600
- "label": "CURRENT_USER",
601
- "detail": "CURRENT_USER -> String",
602
- "insertText": "CURRENT_USER",
648
+ "label": "ROUND",
649
+ "detail": "ROUND(number, length) -> Number",
650
+ "insertText": "ROUND(${1:number_}, ${2:length_})$0",
603
651
  "insertTextMode": 2,
604
652
  "insertTextFormat": 2,
605
653
  "kind": 3,
606
654
  "documentation": {
607
655
  "kind": "markdown",
608
- "value": "Š_Returns the username of the user currently signed into the portal__________________________________č.\n\n**Š_Return value_____________č**: String"
656
+ "value": "Zaokroži število na določeno dolžino.\n\n**Parametri**\n\n- **number**: Število za zaokroževanje.\n- **length**: Število decimalnih mest, na katera se zaokroži število. Pozitivna dolžina zaokroži število na določeno decimalno mesto. Negativna dolžina bo zaokrožila število levo od decimalne vejice.\n\n**Vrnjena vrednost**: Number"
609
657
  }
610
658
  },
611
659
  "parametersInfo": {
612
- "min": 0,
613
- "max": 0
660
+ "min": 2,
661
+ "max": 2
614
662
  }
615
663
  },
616
664
  {
617
665
  "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",
666
+ "name": "sign",
667
+ "bundle": "numeric",
668
+ "description": "Vrne predznak danega števila. Negativno število bo vrnilo -1. Pozitivno število bo vrnilo 1.",
669
+ "examples": "\n##### Primeri\n\nVrne -1\n\n```sql\nSIGN(-132)\n```\n\nVrne 0\n\n```sql\nSIGN(0)\n```\n\nVrne 1\n\n```sql\nSIGN(42)\n```\n\n",
622
670
  "completion": {
623
- "label": "LOWER",
624
- "detail": "LOWER(string) -> String",
625
- "insertText": "LOWER(${1:string_})$0",
671
+ "label": "SIGN",
672
+ "detail": "SIGN(number) -> Number",
673
+ "insertText": "SIGN(${1:number_})$0",
626
674
  "insertTextMode": 2,
627
675
  "insertTextFormat": 2,
628
676
  "kind": 3,
629
677
  "documentation": {
630
678
  "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"
679
+ "value": "Vrne predznak danega števila. Negativno število bo vrnilo -1. Pozitivno število bo vrnilo 1.\n\n**Parameter**\n\n- **number**: Številka, na kateri se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
632
680
  }
633
681
  },
634
682
  "parametersInfo": {
@@ -638,119 +686,71 @@
638
686
  },
639
687
  {
640
688
  "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",
689
+ "name": "sin",
690
+ "bundle": "numeric",
691
+ "description": "Vrne trigonometrični sinus števila, za katerega se predvideva, da je kot v radianih.",
692
+ "examples": "\n##### Primer\n\nVrne 0.84147098\n\n```sql\nSIN(1)\n```\n\n",
645
693
  "completion": {
646
- "label": "POSITION",
647
- "detail": "POSITION(substring, string) -> Number",
648
- "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
694
+ "label": "SIN",
695
+ "detail": "SIN(number) -> Number",
696
+ "insertText": "SIN(${1:number_})$0",
649
697
  "insertTextMode": 2,
650
698
  "insertTextFormat": 2,
651
699
  "kind": 3,
652
700
  "documentation": {
653
701
  "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"
702
+ "value": "Vrne trigonometrični sinus števila, za katerega se predvideva, da je kot v radianih.\n\n**Parameter**\n\n- **number**: Kot v radianih, na katerem se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
655
703
  }
656
704
  },
657
705
  "parametersInfo": {
658
- "min": 2,
659
- "max": 2
706
+ "min": 1,
707
+ "max": 1
660
708
  }
661
709
  },
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
710
  {
711
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",
712
+ "name": "tan",
713
+ "bundle": "numeric",
714
+ "description": "Vrne tangens števila, za katerega se predvideva, da je kot v radianih.",
715
+ "examples": "\n##### Primer\n\nVrne 2.57215162\n\n```sql\nTAN(1.2)\n```\n\n",
716
716
  "completion": {
717
- "label": "TRIM",
718
- "detail": "TRIM(side, character, string) -> String",
719
- "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
717
+ "label": "TAN",
718
+ "detail": "TAN(number) -> Number",
719
+ "insertText": "TAN(${1:number_})$0",
720
720
  "insertTextMode": 2,
721
721
  "insertTextFormat": 2,
722
722
  "kind": 3,
723
723
  "documentation": {
724
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"
725
+ "value": "Vrne tangens števila, za katerega se predvideva, da je kot v radianih.\n\n**Parameter**\n\n- **number**: Kot v radianih, na katerem se izvaja operacija.\n\n**Vrnjena vrednost**: Number"
726
726
  }
727
727
  },
728
728
  "parametersInfo": {
729
- "min": 3,
730
- "max": 3
729
+ "min": 1,
730
+ "max": 1
731
731
  }
732
732
  },
733
733
  {
734
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",
735
+ "name": "truncate",
736
+ "bundle": "numeric",
737
+ "description": "Vrne skrajšano število.",
738
+ "examples": "\n##### Primeri\n\nVrne 91.3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nVrne 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nVrne 1900\n\n```sql\nTRUNCATE(1982.83, -2)\n```\n\n",
739
739
  "completion": {
740
- "label": "UPPER",
741
- "detail": "UPPER(string) -> String",
742
- "insertText": "UPPER(${1:string_})$0",
740
+ "label": "TRUNCATE",
741
+ "detail": "TRUNCATE(number, decimals) -> Number",
742
+ "insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
743
743
  "insertTextMode": 2,
744
744
  "insertTextFormat": 2,
745
745
  "kind": 3,
746
746
  "documentation": {
747
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"
748
+ "value": "Vrne skrajšano število.\n\n**Parametri**\n\n- **number**: Število, ki bo krajšano.\n- **decimals**: Pozitivna vrednost skrajša število na določeno decimalno mesto. Negativna vrednost skrajša število levo od decimalne vejice.\n\n**Vrnjena vrednost**: Number"
749
749
  }
750
750
  },
751
751
  "parametersInfo": {
752
- "min": 1,
753
- "max": 1
752
+ "min": 2,
753
+ "max": 2
754
754
  }
755
755
  }
756
756
  ]