@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.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +84 -94
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +4 -4
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +300 -300
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +99 -99
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +184 -184
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +306 -306
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +271 -271
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +271 -271
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-78c4eba0.js → p-1ed6d5d2.js} +2 -2
- package/dist/arcgis-coding-components/{p-6b839fe5.js → p-268ef762.js} +2 -2
- package/dist/arcgis-coding-components/{p-a197cb71.entry.js → p-31ab280f.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-0a5b478b.entry.js → p-392424d7.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-50518425.js → p-3d70584f.js} +2 -2
- package/dist/arcgis-coding-components/{p-26debb25.js → p-5bd2ea82.js} +2 -2
- package/dist/arcgis-coding-components/{p-e0cdc0cd.js → p-661f1809.js} +2 -2
- package/dist/arcgis-coding-components/{p-7bd68e46.js → p-6f0aedeb.js} +2 -2
- package/dist/arcgis-coding-components/{p-d3ad750c.js → p-701b064f.js} +2 -2
- package/dist/arcgis-coding-components/{p-2abc9c38.js → p-8c6acbe3.js} +2 -2
- package/dist/arcgis-coding-components/{p-002444a6.js → p-a64345ec.js} +1 -1
- package/dist/arcgis-coding-components/{p-89a581be.js → p-ab0c7293.js} +1 -1
- package/dist/arcgis-coding-components/{p-1127e8e6.js → p-b2478059.js} +1 -1
- package/dist/arcgis-coding-components/{p-a8a9dd68.js → p-c3a77297.js} +2 -2
- package/dist/arcgis-coding-components/{p-b5e2d7e4.js → p-d2cb652a.js} +2 -2
- package/dist/arcgis-coding-components/{p-6d9a702c.js → p-d8f35b42.js} +2 -2
- package/dist/arcgis-coding-components/{p-c48e2b97.js → p-f3067adc.js} +10 -10
- package/dist/arcgis-coding-components/{p-facab962.entry.js → p-fefa16f8.entry.js} +2 -2
- package/dist/cjs/{app-globals-a6eaeb50.js → app-globals-a5ca2733.js} +1 -1
- package/dist/cjs/{arcade-defaults-5ac8b83c.js → arcade-defaults-750df323.js} +3 -3
- package/dist/cjs/{arcade-mode-e50b4e81.js → arcade-mode-7276b964.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-d8ca0762.js → css-5dcbf2f9.js} +1 -1
- package/dist/cjs/{cssMode-0dfc36ca.js → cssMode-28dff329.js} +3 -3
- package/dist/cjs/{html-49bff616.js → html-7686bcbd.js} +3 -3
- package/dist/cjs/{htmlMode-642d7454.js → htmlMode-dc221611.js} +3 -3
- package/dist/cjs/{index-0c87f8c3.js → index-6fdabe00.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-a9560b85.js → javascript-6815876d.js} +4 -4
- package/dist/cjs/{jsonMode-e49e5dae.js → jsonMode-25d764f8.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-ba1e1463.js → sql-expr-defaults-c27030fd.js} +17 -17
- package/dist/cjs/{sql-expr-mode-11a87d27.js → sql-expr-mode-e3c04515.js} +3 -3
- package/dist/cjs/{tsMode-bcadce08.js → tsMode-d397f757.js} +3 -3
- package/dist/cjs/{typescript-1ea634d6.js → typescript-e1976545.js} +3 -3
- package/dist/cjs/{useT9n-9fed1d2d.js → useT9n-2bcb3300.js} +3 -3
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +1 -1
- package/dist/components/arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +1 -1
- package/dist/components/arcgis-sql-expression-fields.js +1 -1
- package/dist/components/chunk-UFIZBDFE.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/editor-variables.js +1 -1
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/language-api-panel.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +8 -8
- package/dist/components/sql-expr-mode.js +1 -1
- package/dist/components/useT9n.js +1 -1
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-db9d153e.js → app-globals-248cbe6a.js} +1 -1
- package/dist/esm/{arcade-defaults-6f8b26d3.js → arcade-defaults-6ff6dcc1.js} +3 -3
- package/dist/esm/{arcade-mode-4e9c533c.js → arcade-mode-07971823.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-0a9928e0.js → css-d4d8c34f.js} +1 -1
- package/dist/esm/{cssMode-ae70c516.js → cssMode-28616dad.js} +3 -3
- package/dist/esm/{html-85896233.js → html-95a59c55.js} +3 -3
- package/dist/esm/{htmlMode-e5f2c8a2.js → htmlMode-b90373e1.js} +3 -3
- package/dist/esm/{index-4db609d5.js → index-d20d28ef.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-539096af.js → javascript-c47641c7.js} +4 -4
- package/dist/esm/{jsonMode-45b2f447.js → jsonMode-5006bcad.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-a3104aa0.js → sql-expr-defaults-239b0c66.js} +17 -17
- package/dist/esm/{sql-expr-mode-7be17e27.js → sql-expr-mode-7ce7ae5c.js} +3 -3
- package/dist/esm/{tsMode-6ff21691.js → tsMode-b7619b7d.js} +3 -3
- package/dist/esm/{typescript-cc67db82.js → typescript-d2a6bc05.js} +3 -3
- package/dist/esm/{useT9n-49f45d26.js → useT9n-f1cdb123.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- 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
- package/package.json +14 -13
- package/dist/arcgis-coding-components/assets/arcade-language/api/test.json +0 -6861
- package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js +0 -18943
- package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js.map +0 -7
- package/dist/types/Users/fred/Projects/arcgis-web-components-work/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
- /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
- /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
- /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
- /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
- /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
- /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
- /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
- /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": "
|
|
4
|
+
"title": "Datumske funkcije",
|
|
5
5
|
"items": [
|
|
6
6
|
{
|
|
7
7
|
"type": "function",
|
|
8
8
|
"name": "current_date",
|
|
9
9
|
"bundle": "date",
|
|
10
|
-
"description": "
|
|
11
|
-
"examples": "\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": "
|
|
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": "
|
|
34
|
-
"examples": "\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": "
|
|
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": "
|
|
57
|
-
"examples": "\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": "
|
|
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": "
|
|
80
|
-
"examples": "\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": "
|
|
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": "
|
|
102
|
-
"title": "
|
|
101
|
+
"id": "string_functions",
|
|
102
|
+
"title": "Funkcije niza",
|
|
103
103
|
"items": [
|
|
104
104
|
{
|
|
105
105
|
"type": "function",
|
|
106
|
-
"name": "
|
|
107
|
-
"bundle": "
|
|
108
|
-
"description": "
|
|
109
|
-
"examples": "\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": "
|
|
112
|
-
"detail": "
|
|
113
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
130
|
-
"bundle": "
|
|
131
|
-
"description": "
|
|
132
|
-
"examples": "\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": "
|
|
135
|
-
"detail": "
|
|
136
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
147
|
-
"max": 1
|
|
146
|
+
"min": 2,
|
|
147
|
+
"max": -1
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"type": "function",
|
|
152
|
-
"name": "
|
|
153
|
-
"bundle": "
|
|
154
|
-
"description": "
|
|
155
|
-
"examples": "\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": "
|
|
158
|
-
"detail": "
|
|
159
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
170
|
-
"max":
|
|
169
|
+
"min": 2,
|
|
170
|
+
"max": 2
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"type": "function",
|
|
175
|
-
"name": "
|
|
176
|
-
"bundle": "
|
|
177
|
-
"description": "
|
|
178
|
-
"examples": "\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": "
|
|
181
|
-
"detail": "
|
|
182
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
193
|
-
"max":
|
|
192
|
+
"min": 0,
|
|
193
|
+
"max": 0
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"type": "function",
|
|
198
|
-
"name": "
|
|
199
|
-
"bundle": "
|
|
200
|
-
"description": "
|
|
201
|
-
"examples": "\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": "
|
|
204
|
-
"detail": "
|
|
205
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
216
|
-
"max":
|
|
215
|
+
"min": 1,
|
|
216
|
+
"max": 1
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"type": "function",
|
|
221
|
-
"name": "
|
|
222
|
-
"bundle": "
|
|
223
|
-
"description": "
|
|
224
|
-
"examples": "\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": "
|
|
227
|
-
"detail": "
|
|
228
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
239
|
-
"max":
|
|
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": "
|
|
245
|
-
"bundle": "
|
|
246
|
-
"description": "
|
|
247
|
-
"examples": "\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": "
|
|
250
|
-
"detail": "
|
|
251
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
262
|
-
"max":
|
|
309
|
+
"min": 3,
|
|
310
|
+
"max": 3
|
|
263
311
|
}
|
|
264
312
|
},
|
|
265
313
|
{
|
|
266
314
|
"type": "function",
|
|
267
|
-
"name": "
|
|
268
|
-
"bundle": "
|
|
269
|
-
"description": "
|
|
270
|
-
"examples": "\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": "
|
|
273
|
-
"detail": "
|
|
274
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
344
|
+
"name": "abs",
|
|
291
345
|
"bundle": "numeric",
|
|
292
|
-
"description": "
|
|
293
|
-
"examples": "\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": "
|
|
296
|
-
"detail": "
|
|
297
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
367
|
+
"name": "acos",
|
|
314
368
|
"bundle": "numeric",
|
|
315
|
-
"description": "
|
|
316
|
-
"examples": "\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": "
|
|
319
|
-
"detail": "
|
|
320
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
390
|
+
"name": "asin",
|
|
337
391
|
"bundle": "numeric",
|
|
338
|
-
"description": "
|
|
339
|
-
"examples": "\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": "
|
|
342
|
-
"detail": "
|
|
343
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
354
|
-
"max":
|
|
407
|
+
"min": 1,
|
|
408
|
+
"max": 1
|
|
355
409
|
}
|
|
356
410
|
},
|
|
357
411
|
{
|
|
358
412
|
"type": "function",
|
|
359
|
-
"name": "
|
|
413
|
+
"name": "atan",
|
|
360
414
|
"bundle": "numeric",
|
|
361
|
-
"description": "
|
|
362
|
-
"examples": "\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": "
|
|
365
|
-
"detail": "
|
|
366
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
377
|
-
"max":
|
|
430
|
+
"min": 1,
|
|
431
|
+
"max": 1
|
|
378
432
|
}
|
|
379
433
|
},
|
|
380
434
|
{
|
|
381
435
|
"type": "function",
|
|
382
|
-
"name": "
|
|
436
|
+
"name": "cast",
|
|
383
437
|
"bundle": "numeric",
|
|
384
|
-
"description": "
|
|
385
|
-
"examples": "\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": "
|
|
388
|
-
"detail": "
|
|
389
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
459
|
+
"name": "ceiling",
|
|
406
460
|
"bundle": "numeric",
|
|
407
|
-
"description": "
|
|
408
|
-
"examples": "\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": "
|
|
411
|
-
"detail": "
|
|
412
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
423
|
-
"max":
|
|
476
|
+
"min": 1,
|
|
477
|
+
"max": 1
|
|
424
478
|
}
|
|
425
479
|
},
|
|
426
480
|
{
|
|
427
481
|
"type": "function",
|
|
428
|
-
"name": "
|
|
482
|
+
"name": "cos",
|
|
429
483
|
"bundle": "numeric",
|
|
430
|
-
"description": "
|
|
431
|
-
"examples": "\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": "
|
|
434
|
-
"detail": "
|
|
435
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
505
|
+
"name": "floor",
|
|
452
506
|
"bundle": "numeric",
|
|
453
|
-
"description": "
|
|
454
|
-
"examples": "\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": "
|
|
457
|
-
"detail": "
|
|
458
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
528
|
+
"name": "log",
|
|
475
529
|
"bundle": "numeric",
|
|
476
|
-
"description": "
|
|
477
|
-
"examples": "\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": "
|
|
480
|
-
"detail": "
|
|
481
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
551
|
+
"name": "log10",
|
|
498
552
|
"bundle": "numeric",
|
|
499
|
-
"description": "
|
|
500
|
-
"examples": "\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": "
|
|
503
|
-
"detail": "
|
|
504
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
515
|
-
"max":
|
|
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": "
|
|
527
|
-
"bundle": "
|
|
528
|
-
"description": "
|
|
529
|
-
"examples": "\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": "
|
|
532
|
-
"detail": "
|
|
533
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
544
|
-
"max":
|
|
591
|
+
"min": 2,
|
|
592
|
+
"max": 2
|
|
545
593
|
}
|
|
546
594
|
},
|
|
547
595
|
{
|
|
548
596
|
"type": "function",
|
|
549
|
-
"name": "
|
|
550
|
-
"bundle": "
|
|
551
|
-
"description": "Š_Returns
|
|
552
|
-
"examples": "\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": "
|
|
555
|
-
"detail": "
|
|
556
|
-
"insertText": "
|
|
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
|
|
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":
|
|
615
|
+
"max": 2
|
|
568
616
|
}
|
|
569
617
|
},
|
|
570
618
|
{
|
|
571
619
|
"type": "function",
|
|
572
|
-
"name": "
|
|
573
|
-
"bundle": "
|
|
574
|
-
"description": "
|
|
575
|
-
"examples": "\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": "
|
|
578
|
-
"detail": "
|
|
579
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
596
|
-
"bundle": "
|
|
597
|
-
"description": "
|
|
598
|
-
"examples": "\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": "
|
|
601
|
-
"detail": "
|
|
602
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
613
|
-
"max":
|
|
660
|
+
"min": 2,
|
|
661
|
+
"max": 2
|
|
614
662
|
}
|
|
615
663
|
},
|
|
616
664
|
{
|
|
617
665
|
"type": "function",
|
|
618
|
-
"name": "
|
|
619
|
-
"bundle": "
|
|
620
|
-
"description": "
|
|
621
|
-
"examples": "\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": "
|
|
624
|
-
"detail": "
|
|
625
|
-
"insertText": "
|
|
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": "
|
|
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": "
|
|
642
|
-
"bundle": "
|
|
643
|
-
"description": "
|
|
644
|
-
"examples": "\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": "
|
|
647
|
-
"detail": "
|
|
648
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
659
|
-
"max":
|
|
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": "
|
|
713
|
-
"bundle": "
|
|
714
|
-
"description": "
|
|
715
|
-
"examples": "\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": "
|
|
718
|
-
"detail": "
|
|
719
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
730
|
-
"max":
|
|
729
|
+
"min": 1,
|
|
730
|
+
"max": 1
|
|
731
731
|
}
|
|
732
732
|
},
|
|
733
733
|
{
|
|
734
734
|
"type": "function",
|
|
735
|
-
"name": "
|
|
736
|
-
"bundle": "
|
|
737
|
-
"description": "
|
|
738
|
-
"examples": "\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": "
|
|
741
|
-
"detail": "
|
|
742
|
-
"insertText": "
|
|
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": "
|
|
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":
|
|
753
|
-
"max":
|
|
752
|
+
"min": 2,
|
|
753
|
+
"max": 2
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
]
|