@arcgis/coding-components 4.31.0-next.117 → 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 +38 -38
- 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-f4192303.js → p-1ed6d5d2.js} +2 -2
- package/dist/arcgis-coding-components/{p-7510add7.js → p-268ef762.js} +2 -2
- package/dist/arcgis-coding-components/{p-465435e1.entry.js → p-31ab280f.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-1ad930cc.entry.js → p-392424d7.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-8d0b03d6.js → p-3d70584f.js} +2 -2
- package/dist/arcgis-coding-components/{p-7f7da482.js → p-5bd2ea82.js} +2 -2
- package/dist/arcgis-coding-components/{p-93a3652f.js → p-661f1809.js} +2 -2
- package/dist/arcgis-coding-components/{p-ca5cde7d.js → p-6f0aedeb.js} +2 -2
- package/dist/arcgis-coding-components/{p-df7f4e90.js → p-701b064f.js} +2 -2
- package/dist/arcgis-coding-components/{p-128a0aee.js → p-8c6acbe3.js} +3 -3
- package/dist/arcgis-coding-components/{p-9d9b509b.js → p-a64345ec.js} +1 -1
- package/dist/arcgis-coding-components/{p-1a9f475d.js → p-ab0c7293.js} +1 -1
- package/dist/arcgis-coding-components/{p-68b7973f.js → p-b2478059.js} +1 -1
- package/dist/arcgis-coding-components/{p-f793651c.js → p-c3a77297.js} +2 -2
- package/dist/arcgis-coding-components/{p-60b0ff5a.js → p-d2cb652a.js} +2 -2
- package/dist/arcgis-coding-components/{p-524b5196.js → p-d8f35b42.js} +2 -2
- package/dist/arcgis-coding-components/{p-a09a2995.js → p-f3067adc.js} +10 -10
- package/dist/arcgis-coding-components/{p-8c9338b6.entry.js → p-fefa16f8.entry.js} +2 -2
- package/dist/cjs/{app-globals-ef1b44a9.js → app-globals-a5ca2733.js} +1 -1
- package/dist/cjs/{arcade-defaults-4d3a6776.js → arcade-defaults-750df323.js} +3 -3
- package/dist/cjs/{arcade-mode-9f1102b2.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-d1b6a768.js → css-5dcbf2f9.js} +1 -1
- package/dist/cjs/{cssMode-a52f34b0.js → cssMode-28dff329.js} +3 -3
- package/dist/cjs/{html-a8fd5819.js → html-7686bcbd.js} +3 -3
- package/dist/cjs/{htmlMode-38e44197.js → htmlMode-dc221611.js} +3 -3
- package/dist/cjs/{index-9ee06dbb.js → index-6fdabe00.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-4b0f387a.js → javascript-6815876d.js} +4 -4
- package/dist/cjs/{jsonMode-f9197c41.js → jsonMode-25d764f8.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-28864bc0.js → sql-expr-defaults-c27030fd.js} +17 -17
- package/dist/cjs/{sql-expr-mode-ff0b079a.js → sql-expr-mode-e3c04515.js} +3 -3
- package/dist/cjs/{tsMode-5edab23c.js → tsMode-d397f757.js} +3 -3
- package/dist/cjs/{typescript-6aeb5725.js → typescript-e1976545.js} +3 -3
- package/dist/cjs/{useT9n-5f495adc.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-091b87ba.js → app-globals-248cbe6a.js} +1 -1
- package/dist/esm/{arcade-defaults-413bb46c.js → arcade-defaults-6ff6dcc1.js} +3 -3
- package/dist/esm/{arcade-mode-9c21be34.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-930b25a7.js → css-d4d8c34f.js} +1 -1
- package/dist/esm/{cssMode-c8059805.js → cssMode-28616dad.js} +3 -3
- package/dist/esm/{html-aa299729.js → html-95a59c55.js} +3 -3
- package/dist/esm/{htmlMode-e383146f.js → htmlMode-b90373e1.js} +3 -3
- package/dist/esm/{index-5c929d0c.js → index-d20d28ef.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-1aec637d.js → javascript-c47641c7.js} +4 -4
- package/dist/esm/{jsonMode-deabe739.js → jsonMode-5006bcad.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-e24aed0a.js → sql-expr-defaults-239b0c66.js} +17 -17
- package/dist/esm/{sql-expr-mode-b6e67897.js → sql-expr-mode-7ce7ae5c.js} +3 -3
- package/dist/esm/{tsMode-e5eb14a5.js → tsMode-b7619b7d.js} +3 -3
- package/dist/esm/{typescript-29f4259e.js → typescript-d2a6bc05.js} +3 -3
- package/dist/esm/{useT9n-0e6a80f8.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/package.json +12 -12
|
@@ -1,14 +1,252 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"id": "string_functions",
|
|
4
|
+
"title": "Funkcija niske",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"type": "function",
|
|
8
|
+
"name": "char_length",
|
|
9
|
+
"bundle": "string",
|
|
10
|
+
"description": "Vraća broj znakova u tekstualnoj nisci kao ceo broj.",
|
|
11
|
+
"examples": "\n##### Primer\n\nVraća 11\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
|
|
12
|
+
"completion": {
|
|
13
|
+
"label": "CHAR_LENGTH",
|
|
14
|
+
"detail": "CHAR_LENGTH(string) -> Number",
|
|
15
|
+
"insertText": "CHAR_LENGTH(${1:string_})$0",
|
|
16
|
+
"insertTextMode": 2,
|
|
17
|
+
"insertTextFormat": 2,
|
|
18
|
+
"kind": 3,
|
|
19
|
+
"documentation": {
|
|
20
|
+
"kind": "markdown",
|
|
21
|
+
"value": "Vraća broj znakova u tekstualnoj nisci kao ceo broj.\n\n**Parametar**\n\n- **string**: Niska teksta za koju se vraća dužina.\n\n**Povratna vrednost**: Number"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"parametersInfo": {
|
|
25
|
+
"min": 1,
|
|
26
|
+
"max": 1
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "function",
|
|
31
|
+
"name": "coalesce",
|
|
32
|
+
"bundle": "string",
|
|
33
|
+
"description": "Vraća prvu vrednost na listi koja nije `NULL`. Sve vrednosti koje se prenesu u funkciju moraju da budu istog tipa, sa izuzetkom `NULL` vrednosti.",
|
|
34
|
+
"examples": "\n##### Primeri\n\nVraća 'Green goldfish'\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nVraća -21\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
|
|
35
|
+
"completion": {
|
|
36
|
+
"label": "COALESCE",
|
|
37
|
+
"detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
|
|
38
|
+
"insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
|
|
39
|
+
"insertTextMode": 2,
|
|
40
|
+
"insertTextFormat": 2,
|
|
41
|
+
"kind": 3,
|
|
42
|
+
"documentation": {
|
|
43
|
+
"kind": "markdown",
|
|
44
|
+
"value": "Vraća prvu vrednost na listi koja nije `NULL`. Sve vrednosti koje se prenesu u funkciju moraju da budu istog tipa, sa izuzetkom `NULL` vrednosti.\n\n**Parametri**\n\n- **value1**: Č_The first value in the list_____________________________ž.\n- **valueN**: Č_The subsequent value(s) in the list___________________ž.\n\n**Povratna vrednost**: String,Number,Datetime"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"parametersInfo": {
|
|
48
|
+
"min": 2,
|
|
49
|
+
"max": -1
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "function",
|
|
54
|
+
"name": "concat",
|
|
55
|
+
"bundle": "string",
|
|
56
|
+
"description": "Povezuje dve niske zajedno.",
|
|
57
|
+
"examples": "\n##### Primer\n\nVraća 'Maple syrup'\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
|
|
58
|
+
"completion": {
|
|
59
|
+
"label": "CONCAT",
|
|
60
|
+
"detail": "CONCAT(string1, string2) -> String",
|
|
61
|
+
"insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
|
|
62
|
+
"insertTextMode": 2,
|
|
63
|
+
"insertTextFormat": 2,
|
|
64
|
+
"kind": 3,
|
|
65
|
+
"documentation": {
|
|
66
|
+
"kind": "markdown",
|
|
67
|
+
"value": "Povezuje dve niske zajedno.\n\n**Parametri**\n\n- **string1**: Prva niska teksta.\n- **string2**: Niska teksta koja se povezuje sa prvom niskom teksta.\n\n**Povratna vrednost**: String"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"parametersInfo": {
|
|
71
|
+
"min": 2,
|
|
72
|
+
"max": 2
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "function",
|
|
77
|
+
"name": "current_user",
|
|
78
|
+
"bundle": "string",
|
|
79
|
+
"description": "Vraća korisničko ime korisnika koji je trenutno prijavljen na portal.",
|
|
80
|
+
"examples": "\n##### Primer\n\nVraća korisničko ime korisnika koji je trenutno prijavljen na portal.\n\n```sql\nCURRENT_USER\n```\n\n",
|
|
81
|
+
"completion": {
|
|
82
|
+
"label": "CURRENT_USER",
|
|
83
|
+
"detail": "CURRENT_USER -> String",
|
|
84
|
+
"insertText": "CURRENT_USER",
|
|
85
|
+
"insertTextMode": 2,
|
|
86
|
+
"insertTextFormat": 2,
|
|
87
|
+
"kind": 3,
|
|
88
|
+
"documentation": {
|
|
89
|
+
"kind": "markdown",
|
|
90
|
+
"value": "Vraća korisničko ime korisnika koji je trenutno prijavljen na portal.\n\n**Povratna vrednost**: String"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"parametersInfo": {
|
|
94
|
+
"min": 0,
|
|
95
|
+
"max": 0
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "function",
|
|
100
|
+
"name": "lower",
|
|
101
|
+
"bundle": "string",
|
|
102
|
+
"description": "Konvertuje sve znakove u niski teksta u mala slova.",
|
|
103
|
+
"examples": "\n##### Primer\n\nVraća 'hello world'\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
|
|
104
|
+
"completion": {
|
|
105
|
+
"label": "LOWER",
|
|
106
|
+
"detail": "LOWER(string) -> String",
|
|
107
|
+
"insertText": "LOWER(${1:string_})$0",
|
|
108
|
+
"insertTextMode": 2,
|
|
109
|
+
"insertTextFormat": 2,
|
|
110
|
+
"kind": 3,
|
|
111
|
+
"documentation": {
|
|
112
|
+
"kind": "markdown",
|
|
113
|
+
"value": "Konvertuje sve znakove u niski teksta u mala slova.\n\n**Parametar**\n\n- **string**: Niska teksta koja se konvertuje u mala slova.\n\n**Povratna vrednost**: String"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"parametersInfo": {
|
|
117
|
+
"min": 1,
|
|
118
|
+
"max": 1
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "function",
|
|
123
|
+
"name": "position",
|
|
124
|
+
"bundle": "string",
|
|
125
|
+
"description": "Vraća prvo pojavljivanje podniske u drugoj niski teksta. Vraća 0 ako podniska nije pronađena.",
|
|
126
|
+
"examples": "\n##### Primeri\n\nVraća 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nVraća 9\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
|
|
127
|
+
"completion": {
|
|
128
|
+
"label": "POSITION",
|
|
129
|
+
"detail": "POSITION(substring, string) -> Number",
|
|
130
|
+
"insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
|
|
131
|
+
"insertTextMode": 2,
|
|
132
|
+
"insertTextFormat": 2,
|
|
133
|
+
"kind": 3,
|
|
134
|
+
"documentation": {
|
|
135
|
+
"kind": "markdown",
|
|
136
|
+
"value": "Vraća prvo pojavljivanje podniske u drugoj niski teksta. Vraća 0 ako podniska nije pronađena.\n\n**Parametri**\n\n- **substring**: Niska teksta koja se traži.\n- **string**: Niska koja će se pretražiti za podniske.\n\n**Povratna vrednost**: Number"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"parametersInfo": {
|
|
140
|
+
"min": 2,
|
|
141
|
+
"max": 2
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
[
|
|
145
|
+
{
|
|
146
|
+
"type": "function",
|
|
147
|
+
"name": "substring",
|
|
148
|
+
"bundle": "string",
|
|
149
|
+
"description": "Vraća podskup znakova u nisci teksta od početne tačke do precizirane dužine niske.",
|
|
150
|
+
"examples": "\n##### Primer\n\nVraća 'City'\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
|
|
151
|
+
"completion": {
|
|
152
|
+
"label": "SUBSTRING",
|
|
153
|
+
"detail": "SUBSTRING(string, start, length) -> String",
|
|
154
|
+
"insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
|
|
155
|
+
"insertTextMode": 2,
|
|
156
|
+
"insertTextFormat": 2,
|
|
157
|
+
"kind": 3,
|
|
158
|
+
"documentation": {
|
|
159
|
+
"kind": "markdown",
|
|
160
|
+
"value": "Vraća podskup znakova u nisci teksta od početne tačke do precizirane dužine niske.\n\n**Parametri**\n\n- **string**: Niska teksta iz koje se ekstrahuje.\n- **start**: Vrednost celog broja koja precizira gde će vraćeni znakovi započeti.\n- **length**: Broj znakova koje treba izdvojiti.\n\n**Povratna vrednost**: String"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"parametersInfo": {
|
|
164
|
+
"min": 3,
|
|
165
|
+
"max": 3
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "function",
|
|
170
|
+
"name": "substring",
|
|
171
|
+
"bundle": "string",
|
|
172
|
+
"description": "Vraća podskup znakova u nisci teksta od početne tačke do precizirane dužine niske.",
|
|
173
|
+
"examples": "\n##### Primeri\n\nVraća 'City'\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nVraća 'New York'\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
|
|
174
|
+
"completion": {
|
|
175
|
+
"label": "SUBSTRING",
|
|
176
|
+
"detail": "SUBSTRING(string, start, length) -> String",
|
|
177
|
+
"insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
|
|
178
|
+
"insertTextMode": 2,
|
|
179
|
+
"insertTextFormat": 2,
|
|
180
|
+
"kind": 3,
|
|
181
|
+
"documentation": {
|
|
182
|
+
"kind": "markdown",
|
|
183
|
+
"value": "Vraća podskup znakova u nisci teksta od početne tačke do precizirane dužine niske.\n\n**Parametri**\n\n- **string**: Niska teksta iz koje se ekstrahuje.\n- **start**: Vrednost celog broja koja precizira gde će vraćeni znakovi započeti.\n- **length**: Broj znakova koje treba izdvojiti.\n\n**Povratna vrednost**: String"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"parametersInfo": {
|
|
187
|
+
"min": 3,
|
|
188
|
+
"max": 3
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
{
|
|
193
|
+
"type": "function",
|
|
194
|
+
"name": "trim",
|
|
195
|
+
"bundle": "string",
|
|
196
|
+
"description": "Vraća nisku teksta u kojoj su svi vodeći i/ili prateći razmaci ili drugi precizirani znakovi uklonjeni. LEADING će odseći vodeću stranu niske teksta, TRAILING će odseći prateću stranu niske teksta, dok će BOTH odseći obe strane niske teksta.",
|
|
197
|
+
"examples": "\n##### Primeri\n\nVraća 'myFunc'\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nVraća ' hello world'\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nVraća 'hello world'\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
|
|
198
|
+
"completion": {
|
|
199
|
+
"label": "TRIM",
|
|
200
|
+
"detail": "TRIM(side, character, string) -> String",
|
|
201
|
+
"insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
|
|
202
|
+
"insertTextMode": 2,
|
|
203
|
+
"insertTextFormat": 2,
|
|
204
|
+
"kind": 3,
|
|
205
|
+
"documentation": {
|
|
206
|
+
"kind": "markdown",
|
|
207
|
+
"value": "Vraća nisku teksta u kojoj su svi vodeći i/ili prateći razmaci ili drugi precizirani znakovi uklonjeni. LEADING će odseći vodeću stranu niske teksta, TRAILING će odseći prateću stranu niske teksta, dok će BOTH odseći obe strane niske teksta.\n\n**Parametri**\n\n- **side**: Strana niske teksta sa koje će razmaci ili znakovi biti uklonjeni. Moguće vrednosti: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: Znakovi koji će biti odsečeni iz niske teksta.\n- **string**: Niska teksta koja se iseca.\n\n**Povratna vrednost**: String"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"parametersInfo": {
|
|
211
|
+
"min": 3,
|
|
212
|
+
"max": 3
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "function",
|
|
217
|
+
"name": "upper",
|
|
218
|
+
"bundle": "string",
|
|
219
|
+
"description": "Konvertuje sve znakove u niski teksta u velika slova.",
|
|
220
|
+
"examples": "\n##### Primer\n\nVraća 'QUICK RED FOX'\n\n```sql\nUPPER('quick red fox')\n```\n\n",
|
|
221
|
+
"completion": {
|
|
222
|
+
"label": "UPPER",
|
|
223
|
+
"detail": "UPPER(string) -> String",
|
|
224
|
+
"insertText": "UPPER(${1:string_})$0",
|
|
225
|
+
"insertTextMode": 2,
|
|
226
|
+
"insertTextFormat": 2,
|
|
227
|
+
"kind": 3,
|
|
228
|
+
"documentation": {
|
|
229
|
+
"kind": "markdown",
|
|
230
|
+
"value": "Konvertuje sve znakove u niski teksta u velika slova.\n\n**Parametar**\n\n- **string**: Niska teksta koja se konvertuje u velika slova.\n\n**Povratna vrednost**: String"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"parametersInfo": {
|
|
234
|
+
"min": 1,
|
|
235
|
+
"max": 1
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
2
240
|
{
|
|
3
241
|
"id": "date_functions",
|
|
4
|
-
"title": "
|
|
242
|
+
"title": "Funkcije datuma",
|
|
5
243
|
"items": [
|
|
6
244
|
{
|
|
7
245
|
"type": "function",
|
|
8
246
|
"name": "current_date",
|
|
9
247
|
"bundle": "date",
|
|
10
|
-
"description": "
|
|
11
|
-
"examples": "\n#####
|
|
248
|
+
"description": "Vraća trenutni datum u UTC vremenskom formatu.",
|
|
249
|
+
"examples": "\n##### Primer\n\nVraća trenutni datum u UTC vremenskom formatu.\n\n```sql\nCURRENT_DATE\n```\n\n",
|
|
12
250
|
"completion": {
|
|
13
251
|
"label": "CURRENT_DATE",
|
|
14
252
|
"detail": "CURRENT_DATE -> Datetime",
|
|
@@ -18,7 +256,7 @@
|
|
|
18
256
|
"kind": 3,
|
|
19
257
|
"documentation": {
|
|
20
258
|
"kind": "markdown",
|
|
21
|
-
"value": "
|
|
259
|
+
"value": "Vraća trenutni datum u UTC vremenskom formatu.\n\n**Povratna vrednost**: Datetime"
|
|
22
260
|
}
|
|
23
261
|
},
|
|
24
262
|
"parametersInfo": {
|
|
@@ -30,8 +268,8 @@
|
|
|
30
268
|
"type": "function",
|
|
31
269
|
"name": "current_time",
|
|
32
270
|
"bundle": "date",
|
|
33
|
-
"description": "
|
|
34
|
-
"examples": "\n#####
|
|
271
|
+
"description": "Vraća trenutni UTC datum i vreme u satima, minutima i sekundama.",
|
|
272
|
+
"examples": "\n##### Primer\n\nVraća trenutni UTC datum i vreme u satima, minutima i sekundama.\n\n```sql\nCURRENT_TIME\n```\n\n",
|
|
35
273
|
"completion": {
|
|
36
274
|
"label": "CURRENT_TIME",
|
|
37
275
|
"detail": "CURRENT_TIME -> Datetime",
|
|
@@ -41,7 +279,7 @@
|
|
|
41
279
|
"kind": 3,
|
|
42
280
|
"documentation": {
|
|
43
281
|
"kind": "markdown",
|
|
44
|
-
"value": "
|
|
282
|
+
"value": "Vraća trenutni UTC datum i vreme u satima, minutima i sekundama.\n\n**Povratna vrednost**: Datetime"
|
|
45
283
|
}
|
|
46
284
|
},
|
|
47
285
|
"parametersInfo": {
|
|
@@ -53,8 +291,8 @@
|
|
|
53
291
|
"type": "function",
|
|
54
292
|
"name": "current_timestamp",
|
|
55
293
|
"bundle": "date",
|
|
56
|
-
"description": "
|
|
57
|
-
"examples": "\n#####
|
|
294
|
+
"description": "Vraća trenutni UTC datum i vreme u satima, minutima i sekundama i milisekundama.",
|
|
295
|
+
"examples": "\n##### Primer\n\nVraća trenutni UTC datum i vreme u satima, minutima i sekundama i milisekundama.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\n",
|
|
58
296
|
"completion": {
|
|
59
297
|
"label": "CURRENT_TIMESTAMP",
|
|
60
298
|
"detail": "CURRENT_TIMESTAMP -> Datetime",
|
|
@@ -64,7 +302,7 @@
|
|
|
64
302
|
"kind": 3,
|
|
65
303
|
"documentation": {
|
|
66
304
|
"kind": "markdown",
|
|
67
|
-
"value": "
|
|
305
|
+
"value": "Vraća trenutni UTC datum i vreme u satima, minutima i sekundama i milisekundama.\n\n**Povratna vrednost**: Datetime"
|
|
68
306
|
}
|
|
69
307
|
},
|
|
70
308
|
"parametersInfo": {
|
|
@@ -76,8 +314,8 @@
|
|
|
76
314
|
"type": "function",
|
|
77
315
|
"name": "extract",
|
|
78
316
|
"bundle": "date",
|
|
79
|
-
"description": "
|
|
80
|
-
"examples": "\n#####
|
|
317
|
+
"description": "Vraća pojedinačni deo datuma/vremena, kao što je godina, mesec, dan, sat, minut ili sekund.",
|
|
318
|
+
"examples": "\n##### Primeri\n\nVraća 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nVraća 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nVraća 30\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\n",
|
|
81
319
|
"completion": {
|
|
82
320
|
"label": "EXTRACT",
|
|
83
321
|
"detail": "EXTRACT(part, datetime) -> Number",
|
|
@@ -87,7 +325,7 @@
|
|
|
87
325
|
"kind": 3,
|
|
88
326
|
"documentation": {
|
|
89
327
|
"kind": "markdown",
|
|
90
|
-
"value": "
|
|
328
|
+
"value": "Vraća pojedinačni deo datuma/vremena, kao što je godina, mesec, dan, sat, minut ili sekund.\n\n**Parametri**\n\n- **part**: Deo koji se ekstrahuje iz datuma. Moguće vrednosti: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: Datum iz kojeg se ekstrahuje deo.\n\n**Povratna vrednost**: Number"
|
|
91
329
|
}
|
|
92
330
|
},
|
|
93
331
|
"parametersInfo": {
|
|
@@ -99,14 +337,14 @@
|
|
|
99
337
|
},
|
|
100
338
|
{
|
|
101
339
|
"id": "numeric_functions",
|
|
102
|
-
"title": "
|
|
340
|
+
"title": "Numeričke funkcije",
|
|
103
341
|
"items": [
|
|
104
342
|
{
|
|
105
343
|
"type": "function",
|
|
106
344
|
"name": "abs",
|
|
107
345
|
"bundle": "numeric",
|
|
108
|
-
"description": "
|
|
109
|
-
"examples": "\n#####
|
|
346
|
+
"description": "Vraća apsolutnu vrednost broja.",
|
|
347
|
+
"examples": "\n##### Primer\n\nVraća 2\n\n```sql\nABS(-2)\n```\n\n",
|
|
110
348
|
"completion": {
|
|
111
349
|
"label": "ABS",
|
|
112
350
|
"detail": "ABS(number) -> Number",
|
|
@@ -116,7 +354,7 @@
|
|
|
116
354
|
"kind": 3,
|
|
117
355
|
"documentation": {
|
|
118
356
|
"kind": "markdown",
|
|
119
|
-
"value": "
|
|
357
|
+
"value": "Vraća apsolutnu vrednost broja.\n\n**Parametar**\n\n- **number**: Broj na kom treba izvršiti operaciju.\n\n**Povratna vrednost**: Number"
|
|
120
358
|
}
|
|
121
359
|
},
|
|
122
360
|
"parametersInfo": {
|
|
@@ -128,8 +366,8 @@
|
|
|
128
366
|
"type": "function",
|
|
129
367
|
"name": "acos",
|
|
130
368
|
"bundle": "numeric",
|
|
131
|
-
"description": "
|
|
132
|
-
"examples": "\n#####
|
|
369
|
+
"description": "Vraća arkus kosinus broja.",
|
|
370
|
+
"examples": "\n##### Primer\n\nVraća 1,26610367\n\n```sql\nACOS(0.3)\n```\n\n",
|
|
133
371
|
"completion": {
|
|
134
372
|
"label": "ACOS",
|
|
135
373
|
"detail": "ACOS(number) -> Number",
|
|
@@ -139,7 +377,7 @@
|
|
|
139
377
|
"kind": 3,
|
|
140
378
|
"documentation": {
|
|
141
379
|
"kind": "markdown",
|
|
142
|
-
"value": "
|
|
380
|
+
"value": "Vraća arkus kosinus broja.\n\n**Parametar**\n\n- **number**: Broj između -1 i 1 na kom treba izvršiti operaciju.\n\n**Povratna vrednost**: Number"
|
|
143
381
|
}
|
|
144
382
|
},
|
|
145
383
|
"parametersInfo": {
|
|
@@ -151,8 +389,8 @@
|
|
|
151
389
|
"type": "function",
|
|
152
390
|
"name": "asin",
|
|
153
391
|
"bundle": "numeric",
|
|
154
|
-
"description": "
|
|
155
|
-
"examples": "\n#####
|
|
392
|
+
"description": "Vraća arkus sinus broja.",
|
|
393
|
+
"examples": "\n##### Primer\n\nVraća 0,30469265\n\n```sql\nASIN(0.3)\n```\n\n",
|
|
156
394
|
"completion": {
|
|
157
395
|
"label": "ASIN",
|
|
158
396
|
"detail": "ASIN(number) -> Number",
|
|
@@ -162,7 +400,7 @@
|
|
|
162
400
|
"kind": 3,
|
|
163
401
|
"documentation": {
|
|
164
402
|
"kind": "markdown",
|
|
165
|
-
"value": "
|
|
403
|
+
"value": "Vraća arkus sinus broja.\n\n**Parametar**\n\n- **number**: Broj između -1 i 1 na kom treba izvršiti operaciju.\n\n**Povratna vrednost**: Number"
|
|
166
404
|
}
|
|
167
405
|
},
|
|
168
406
|
"parametersInfo": {
|
|
@@ -174,8 +412,8 @@
|
|
|
174
412
|
"type": "function",
|
|
175
413
|
"name": "atan",
|
|
176
414
|
"bundle": "numeric",
|
|
177
|
-
"description": "
|
|
178
|
-
"examples": "\n#####
|
|
415
|
+
"description": "Vraća arkus tangentu broja.",
|
|
416
|
+
"examples": "\n##### Primer\n\nVraća 0,78539816\n\n```sql\nATAN(1)\n```\n\n",
|
|
179
417
|
"completion": {
|
|
180
418
|
"label": "ATAN",
|
|
181
419
|
"detail": "ATAN(number) -> Number",
|
|
@@ -185,7 +423,7 @@
|
|
|
185
423
|
"kind": 3,
|
|
186
424
|
"documentation": {
|
|
187
425
|
"kind": "markdown",
|
|
188
|
-
"value": "
|
|
426
|
+
"value": "Vraća arkus tangentu broja.\n\n**Parametar**\n\n- **number**: Broj na kom treba izvršiti operaciju.\n\n**Povratna vrednost**: Number"
|
|
189
427
|
}
|
|
190
428
|
},
|
|
191
429
|
"parametersInfo": {
|
|
@@ -197,8 +435,8 @@
|
|
|
197
435
|
"type": "function",
|
|
198
436
|
"name": "cast",
|
|
199
437
|
"bundle": "numeric",
|
|
200
|
-
"description": "
|
|
201
|
-
"examples": "\n#####
|
|
438
|
+
"description": "Konvertuje vrednost iz jednog tipa podataka u drugi. Parametar dataType će da odredi u koji tip se vrednost konvertuje. FLOAT konvertuje vrednost u dvostruku, INTEGER konvertuje vrednost u ceo broj itd.",
|
|
439
|
+
"examples": "\n##### Primeri\n\nVraća 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nVraća '1:00 posle podne'\n\n```sql\nCAST('13:00' AS TIME)\n```\n\nČ_Returns '50'_____________ž\n\n```sql\nCAST(50 AS VARCHAR(20))\n```\n\n",
|
|
202
440
|
"completion": {
|
|
203
441
|
"label": "CAST",
|
|
204
442
|
"detail": "CAST(value, dataType) -> Number,Datetime,String",
|
|
@@ -208,7 +446,7 @@
|
|
|
208
446
|
"kind": 3,
|
|
209
447
|
"documentation": {
|
|
210
448
|
"kind": "markdown",
|
|
211
|
-
"value": "
|
|
449
|
+
"value": "Konvertuje vrednost iz jednog tipa podataka u drugi. Parametar dataType će da odredi u koji tip se vrednost konvertuje. FLOAT konvertuje vrednost u dvostruku, INTEGER konvertuje vrednost u ceo broj itd.\n\n**Parametri**\n\n- **value**: Vrednost koja se konvertuje u drugi tip podataka.\n- **dataType**: Tip podataka u koji se vrednost konvertuje. Moguće vrednosti: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Povratna vrednost**: Number,Datetime,String"
|
|
212
450
|
}
|
|
213
451
|
},
|
|
214
452
|
"parametersInfo": {
|
|
@@ -220,8 +458,8 @@
|
|
|
220
458
|
"type": "function",
|
|
221
459
|
"name": "ceiling",
|
|
222
460
|
"bundle": "numeric",
|
|
223
|
-
"description": "
|
|
224
|
-
"examples": "\n#####
|
|
461
|
+
"description": "Vraća najmanji ceo broj veći od ovog broja ili jednak ovom broju.",
|
|
462
|
+
"examples": "\n##### Primer\n\nVraća 235\n\n```sql\nCEILING(234.042)\n```\n\n",
|
|
225
463
|
"completion": {
|
|
226
464
|
"label": "CEILING",
|
|
227
465
|
"detail": "CEILING(number) -> Number",
|
|
@@ -231,7 +469,7 @@
|
|
|
231
469
|
"kind": 3,
|
|
232
470
|
"documentation": {
|
|
233
471
|
"kind": "markdown",
|
|
234
|
-
"value": "
|
|
472
|
+
"value": "Vraća najmanji ceo broj veći od ovog broja ili jednak ovom broju.\n\n**Parametar**\n\n- **number**: Broj do koga se zaokružuje naviše.\n\n**Povratna vrednost**: Number"
|
|
235
473
|
}
|
|
236
474
|
},
|
|
237
475
|
"parametersInfo": {
|
|
@@ -243,8 +481,8 @@
|
|
|
243
481
|
"type": "function",
|
|
244
482
|
"name": "cos",
|
|
245
483
|
"bundle": "numeric",
|
|
246
|
-
"description": "
|
|
247
|
-
"examples": "\n#####
|
|
484
|
+
"description": "Vraća trigonometrijski kosinus broja, za koji se pretpostavlja da je ugao u radijanima.",
|
|
485
|
+
"examples": "\n##### Primer\n\nVraća -0,41614684\n\n```sql\nCOS(2)\n```\n\n",
|
|
248
486
|
"completion": {
|
|
249
487
|
"label": "COS",
|
|
250
488
|
"detail": "COS(number) -> Number",
|
|
@@ -254,7 +492,7 @@
|
|
|
254
492
|
"kind": 3,
|
|
255
493
|
"documentation": {
|
|
256
494
|
"kind": "markdown",
|
|
257
|
-
"value": "
|
|
495
|
+
"value": "Vraća trigonometrijski kosinus broja, za koji se pretpostavlja da je ugao u radijanima.\n\n**Parametar**\n\n- **number**: Ugao u radijanima na kojem se vrši operacija.\n\n**Povratna vrednost**: Number"
|
|
258
496
|
}
|
|
259
497
|
},
|
|
260
498
|
"parametersInfo": {
|
|
@@ -266,8 +504,8 @@
|
|
|
266
504
|
"type": "function",
|
|
267
505
|
"name": "floor",
|
|
268
506
|
"bundle": "numeric",
|
|
269
|
-
"description": "
|
|
270
|
-
"examples": "\n#####
|
|
507
|
+
"description": "Vraća najveći ceo broj manji od ovog broja ili jednak ovom broju.",
|
|
508
|
+
"examples": "\n##### Primer\n\nVraća 12\n\n```sql\nFLOOR(12.9942)\n```\n\n",
|
|
271
509
|
"completion": {
|
|
272
510
|
"label": "FLOOR",
|
|
273
511
|
"detail": "FLOOR(number) -> Number",
|
|
@@ -277,7 +515,7 @@
|
|
|
277
515
|
"kind": 3,
|
|
278
516
|
"documentation": {
|
|
279
517
|
"kind": "markdown",
|
|
280
|
-
"value": "
|
|
518
|
+
"value": "Vraća najveći ceo broj manji od ovog broja ili jednak ovom broju.\n\n**Parametar**\n\n- **number**: Broj na kojeg se zaokružuje naniže.\n\n**Povratna vrednost**: Number"
|
|
281
519
|
}
|
|
282
520
|
},
|
|
283
521
|
"parametersInfo": {
|
|
@@ -289,8 +527,8 @@
|
|
|
289
527
|
"type": "function",
|
|
290
528
|
"name": "log",
|
|
291
529
|
"bundle": "numeric",
|
|
292
|
-
"description": "
|
|
293
|
-
"examples": "\n#####
|
|
530
|
+
"description": "Vraća prirodni logaritam (osnova e) ovog broja.",
|
|
531
|
+
"examples": "\n##### Primer\n\nVraća 2,302585\n\n```sql\nLOG(10)\n```\n\n",
|
|
294
532
|
"completion": {
|
|
295
533
|
"label": "LOG",
|
|
296
534
|
"detail": "LOG(number) -> Number",
|
|
@@ -300,7 +538,7 @@
|
|
|
300
538
|
"kind": 3,
|
|
301
539
|
"documentation": {
|
|
302
540
|
"kind": "markdown",
|
|
303
|
-
"value": "
|
|
541
|
+
"value": "Vraća prirodni logaritam (osnova e) ovog broja.\n\n**Parametar**\n\n- **number**: Broj veći od 0 na kojem se vrši operacija.\n\n**Povratna vrednost**: Number"
|
|
304
542
|
}
|
|
305
543
|
},
|
|
306
544
|
"parametersInfo": {
|
|
@@ -312,8 +550,8 @@
|
|
|
312
550
|
"type": "function",
|
|
313
551
|
"name": "log10",
|
|
314
552
|
"bundle": "numeric",
|
|
315
|
-
"description": "
|
|
316
|
-
"examples": "\n#####
|
|
553
|
+
"description": "Vraća logaritam sa osnovom -10 ovog broja.",
|
|
554
|
+
"examples": "\n##### Primer\n\nVraća 0,301030\n\n```sql\nLOG10(2)\n```\n\n",
|
|
317
555
|
"completion": {
|
|
318
556
|
"label": "LOG10",
|
|
319
557
|
"detail": "LOG10(number) -> Number",
|
|
@@ -323,7 +561,7 @@
|
|
|
323
561
|
"kind": 3,
|
|
324
562
|
"documentation": {
|
|
325
563
|
"kind": "markdown",
|
|
326
|
-
"value": "
|
|
564
|
+
"value": "Vraća logaritam sa osnovom -10 ovog broja.\n\n**Parametar**\n\n- **number**: Broj na kojem se vrši operacija koji je veći od 0.\n\n**Povratna vrednost**: Number"
|
|
327
565
|
}
|
|
328
566
|
},
|
|
329
567
|
"parametersInfo": {
|
|
@@ -335,8 +573,8 @@
|
|
|
335
573
|
"type": "function",
|
|
336
574
|
"name": "mod",
|
|
337
575
|
"bundle": "numeric",
|
|
338
|
-
"description": "
|
|
339
|
-
"examples": "\n#####
|
|
576
|
+
"description": "Vraća ostatak nakon deljenja deljenog broja deliocem. I deljeni broj i delilac moraju da budu celi brojevi.",
|
|
577
|
+
"examples": "\n##### Primer\n\nVraća 2\n\n```sql\nMOD(18, 4)\n```\n\n",
|
|
340
578
|
"completion": {
|
|
341
579
|
"label": "MOD",
|
|
342
580
|
"detail": "MOD(x, y) -> Number",
|
|
@@ -346,7 +584,7 @@
|
|
|
346
584
|
"kind": 3,
|
|
347
585
|
"documentation": {
|
|
348
586
|
"kind": "markdown",
|
|
349
|
-
"value": "
|
|
587
|
+
"value": "Vraća ostatak nakon deljenja deljenog broja deliocem. I deljeni broj i delilac moraju da budu celi brojevi.\n\n**Parametri**\n\n- **x**: Broj koji predstavlja deljeni broj.\n- **y**: Broj koji predstavlja delioca.\n\n**Povratna vrednost**: Number"
|
|
350
588
|
}
|
|
351
589
|
},
|
|
352
590
|
"parametersInfo": {
|
|
@@ -358,8 +596,8 @@
|
|
|
358
596
|
"type": "function",
|
|
359
597
|
"name": "nullif",
|
|
360
598
|
"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
|
|
362
|
-
"examples": "\n#####
|
|
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\nVraća `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nVraća 32\n\n```sql\nNULLIF(32, 0)\n```\n\nVraća `null` ako je POP18 jednak 0, u suprotnom vraća vrednost TOTALPOP / POP18.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\n",
|
|
363
601
|
"completion": {
|
|
364
602
|
"label": "NULLIF",
|
|
365
603
|
"detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
|
|
@@ -369,7 +607,7 @@
|
|
|
369
607
|
"kind": 3,
|
|
370
608
|
"documentation": {
|
|
371
609
|
"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
|
|
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 kojoj se vrši operacija.\n- **expression2**: Vrednost na kojoj se vrši operacija.\n\n**Povratna vrednost**: Number,String,Datetime"
|
|
373
611
|
}
|
|
374
612
|
},
|
|
375
613
|
"parametersInfo": {
|
|
@@ -381,8 +619,8 @@
|
|
|
381
619
|
"type": "function",
|
|
382
620
|
"name": "power",
|
|
383
621
|
"bundle": "numeric",
|
|
384
|
-
"description": "
|
|
385
|
-
"examples": "\n#####
|
|
622
|
+
"description": "Vraća vrednost broja podignutog na određenu potenciju.",
|
|
623
|
+
"examples": "\n##### Primer\n\nVraća 8\n\n```sql\nPOWER(2, 3)\n```\n\n",
|
|
386
624
|
"completion": {
|
|
387
625
|
"label": "POWER",
|
|
388
626
|
"detail": "POWER(x, y) -> Number",
|
|
@@ -392,7 +630,7 @@
|
|
|
392
630
|
"kind": 3,
|
|
393
631
|
"documentation": {
|
|
394
632
|
"kind": "markdown",
|
|
395
|
-
"value": "
|
|
633
|
+
"value": "Vraća vrednost broja podignutog na određenu potenciju.\n\n**Parametri**\n\n- **x**: Broj na kojem se vrši operacija.\n- **y**: Eksponent koji označava broj puta množenja broja samim sobom.\n\n**Povratna vrednost**: Number"
|
|
396
634
|
}
|
|
397
635
|
},
|
|
398
636
|
"parametersInfo": {
|
|
@@ -404,8 +642,8 @@
|
|
|
404
642
|
"type": "function",
|
|
405
643
|
"name": "round",
|
|
406
644
|
"bundle": "numeric",
|
|
407
|
-
"description": "
|
|
408
|
-
"examples": "\n#####
|
|
645
|
+
"description": "Zaokružuje broj na preciziranu dužinu.",
|
|
646
|
+
"examples": "\n##### Primeri\n\nVraća 3,98\n\n```sql\nROUND(3.98024, 2)\n```\n\nVraća 200\n\n```sql\nROUND(192.1, -2)\n```\n\n",
|
|
409
647
|
"completion": {
|
|
410
648
|
"label": "ROUND",
|
|
411
649
|
"detail": "ROUND(number, length) -> Number",
|
|
@@ -415,7 +653,7 @@
|
|
|
415
653
|
"kind": 3,
|
|
416
654
|
"documentation": {
|
|
417
655
|
"kind": "markdown",
|
|
418
|
-
"value": "
|
|
656
|
+
"value": "Zaokružuje broj na preciziranu dužinu.\n\n**Parametri**\n\n- **number**: Broj koji se zaokružuje.\n- **length**: Broj decimalnih mesta na koje se broj zaokružuje do celog broja. Pozitivna dužina zaokružuje broj na precizirano decimalno mesto. Negativna dužina zaokružuje broj na levu stranu decimalnog zareza.\n\n**Povratna vrednost**: Number"
|
|
419
657
|
}
|
|
420
658
|
},
|
|
421
659
|
"parametersInfo": {
|
|
@@ -427,8 +665,8 @@
|
|
|
427
665
|
"type": "function",
|
|
428
666
|
"name": "sign",
|
|
429
667
|
"bundle": "numeric",
|
|
430
|
-
"description": "
|
|
431
|
-
"examples": "\n#####
|
|
668
|
+
"description": "Vraća predznak određenog broja. Negativni broj će vratiti -1. Pozitivni broj će vratiti 1.",
|
|
669
|
+
"examples": "\n##### Primeri\n\nVraća -1\n\n```sql\nSIGN(-132)\n```\n\nVraća 0\n\n```sql\nSIGN(0)\n```\n\nVraća 1\n\n```sql\nSIGN(42)\n```\n\n",
|
|
432
670
|
"completion": {
|
|
433
671
|
"label": "SIGN",
|
|
434
672
|
"detail": "SIGN(number) -> Number",
|
|
@@ -438,7 +676,7 @@
|
|
|
438
676
|
"kind": 3,
|
|
439
677
|
"documentation": {
|
|
440
678
|
"kind": "markdown",
|
|
441
|
-
"value": "
|
|
679
|
+
"value": "Vraća predznak određenog broja. Negativni broj će vratiti -1. Pozitivni broj će vratiti 1.\n\n**Parametar**\n\n- **number**: Broj na kom treba izvršiti operaciju.\n\n**Povratna vrednost**: Number"
|
|
442
680
|
}
|
|
443
681
|
},
|
|
444
682
|
"parametersInfo": {
|
|
@@ -450,8 +688,8 @@
|
|
|
450
688
|
"type": "function",
|
|
451
689
|
"name": "sin",
|
|
452
690
|
"bundle": "numeric",
|
|
453
|
-
"description": "
|
|
454
|
-
"examples": "\n#####
|
|
691
|
+
"description": "Vraća trigonometrijski sinus broja, za koji se pretpostavlja da je ugao u radijanima.",
|
|
692
|
+
"examples": "\n##### Primer\n\nVraća 0,84147098\n\n```sql\nSIN(1)\n```\n\n",
|
|
455
693
|
"completion": {
|
|
456
694
|
"label": "SIN",
|
|
457
695
|
"detail": "SIN(number) -> Number",
|
|
@@ -461,7 +699,7 @@
|
|
|
461
699
|
"kind": 3,
|
|
462
700
|
"documentation": {
|
|
463
701
|
"kind": "markdown",
|
|
464
|
-
"value": "
|
|
702
|
+
"value": "Vraća trigonometrijski sinus broja, za koji se pretpostavlja da je ugao u radijanima.\n\n**Parametar**\n\n- **number**: Ugao u radijanima na kojem se vrši operacija.\n\n**Povratna vrednost**: Number"
|
|
465
703
|
}
|
|
466
704
|
},
|
|
467
705
|
"parametersInfo": {
|
|
@@ -473,8 +711,8 @@
|
|
|
473
711
|
"type": "function",
|
|
474
712
|
"name": "tan",
|
|
475
713
|
"bundle": "numeric",
|
|
476
|
-
"description": "
|
|
477
|
-
"examples": "\n#####
|
|
714
|
+
"description": "Vraća tangens broja, za koji se pretpostavlja da je ugao u radijanima.",
|
|
715
|
+
"examples": "\n##### Primer\n\nVraća 2,57215162\n\n```sql\nTAN(1.2)\n```\n\n",
|
|
478
716
|
"completion": {
|
|
479
717
|
"label": "TAN",
|
|
480
718
|
"detail": "TAN(number) -> Number",
|
|
@@ -484,7 +722,7 @@
|
|
|
484
722
|
"kind": 3,
|
|
485
723
|
"documentation": {
|
|
486
724
|
"kind": "markdown",
|
|
487
|
-
"value": "
|
|
725
|
+
"value": "Vraća tangens broja, za koji se pretpostavlja da je ugao u radijanima.\n\n**Parametar**\n\n- **number**: Ugao u radijanima na kojem se vrši operacija.\n\n**Povratna vrednost**: Number"
|
|
488
726
|
}
|
|
489
727
|
},
|
|
490
728
|
"parametersInfo": {
|
|
@@ -496,8 +734,8 @@
|
|
|
496
734
|
"type": "function",
|
|
497
735
|
"name": "truncate",
|
|
498
736
|
"bundle": "numeric",
|
|
499
|
-
"description": "
|
|
500
|
-
"examples": "\n#####
|
|
737
|
+
"description": "Vraća skraćen broj.",
|
|
738
|
+
"examples": "\n##### Primeri\n\nVraća 91,3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nVraća 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nVraća 1900\n\n```sql\nTRUNCATE(1982.83, -2)\n```\n\n",
|
|
501
739
|
"completion": {
|
|
502
740
|
"label": "TRUNCATE",
|
|
503
741
|
"detail": "TRUNCATE(number, decimals) -> Number",
|
|
@@ -507,7 +745,7 @@
|
|
|
507
745
|
"kind": 3,
|
|
508
746
|
"documentation": {
|
|
509
747
|
"kind": "markdown",
|
|
510
|
-
"value": "
|
|
748
|
+
"value": "Vraća skraćen broj.\n\n**Parametri**\n\n- **number**: Broj koji se skraćuje.\n- **decimals**: Pozitivna vrednost skraćuje broj na precizirano decimalno mesto. Negativna vrednost skraćuje broj na levu stranu decimalnog zareza.\n\n**Povratna vrednost**: Number"
|
|
511
749
|
}
|
|
512
750
|
},
|
|
513
751
|
"parametersInfo": {
|
|
@@ -516,243 +754,5 @@
|
|
|
516
754
|
}
|
|
517
755
|
}
|
|
518
756
|
]
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"id": "string_functions",
|
|
522
|
-
"title": "Č_String functions_________________ž",
|
|
523
|
-
"items": [
|
|
524
|
-
{
|
|
525
|
-
"type": "function",
|
|
526
|
-
"name": "char_length",
|
|
527
|
-
"bundle": "string",
|
|
528
|
-
"description": "Č_Returns the number of characters in the text string as an integer__________________________________ž.",
|
|
529
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns 11_____________________ž\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
|
|
530
|
-
"completion": {
|
|
531
|
-
"label": "CHAR_LENGTH",
|
|
532
|
-
"detail": "CHAR_LENGTH(string) -> Number",
|
|
533
|
-
"insertText": "CHAR_LENGTH(${1:string_})$0",
|
|
534
|
-
"insertTextMode": 2,
|
|
535
|
-
"insertTextFormat": 2,
|
|
536
|
-
"kind": 3,
|
|
537
|
-
"documentation": {
|
|
538
|
-
"kind": "markdown",
|
|
539
|
-
"value": "Č_Returns the number of characters in the text string as an integer__________________________________ž.\n\n**Č_Parameter___________________ž**\n\n- **string**: Č_The text string to return the length of_____________________ž.\n\n**Č_Return value_____________ž**: Number"
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"parametersInfo": {
|
|
543
|
-
"min": 1,
|
|
544
|
-
"max": 1
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
{
|
|
548
|
-
"type": "function",
|
|
549
|
-
"name": "coalesce",
|
|
550
|
-
"bundle": "string",
|
|
551
|
-
"description": "Č_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________ž.",
|
|
552
|
-
"examples": "\n##### Č_Examples_________________ž\n\nČ_Returns 'Green goldfish'_________________________ž\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nČ_Returns -21____________ž\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
|
|
553
|
-
"completion": {
|
|
554
|
-
"label": "COALESCE",
|
|
555
|
-
"detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
|
|
556
|
-
"insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
|
|
557
|
-
"insertTextMode": 2,
|
|
558
|
-
"insertTextFormat": 2,
|
|
559
|
-
"kind": 3,
|
|
560
|
-
"documentation": {
|
|
561
|
-
"kind": "markdown",
|
|
562
|
-
"value": "Č_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **value1**: Č_The first value________________ž\n- **valueN**: Č_N value_______________ž\n\n**Č_Return value_____________ž**: String,Number,Datetime"
|
|
563
|
-
}
|
|
564
|
-
},
|
|
565
|
-
"parametersInfo": {
|
|
566
|
-
"min": 2,
|
|
567
|
-
"max": -1
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
"type": "function",
|
|
572
|
-
"name": "concat",
|
|
573
|
-
"bundle": "string",
|
|
574
|
-
"description": "Č_Concatenates two strings together__________________ž.",
|
|
575
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns 'Maple syrup'______________________ž\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
|
|
576
|
-
"completion": {
|
|
577
|
-
"label": "CONCAT",
|
|
578
|
-
"detail": "CONCAT(string1, string2) -> String",
|
|
579
|
-
"insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
|
|
580
|
-
"insertTextMode": 2,
|
|
581
|
-
"insertTextFormat": 2,
|
|
582
|
-
"kind": 3,
|
|
583
|
-
"documentation": {
|
|
584
|
-
"kind": "markdown",
|
|
585
|
-
"value": "Č_Concatenates two strings together__________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **string1**: Č_The first text string_______________________ž.\n- **string2**: Č_The text string to concatenate to the first text string_____________________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
"parametersInfo": {
|
|
589
|
-
"min": 2,
|
|
590
|
-
"max": 2
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
"type": "function",
|
|
595
|
-
"name": "current_user",
|
|
596
|
-
"bundle": "string",
|
|
597
|
-
"description": "Č_Returns the username of the user currently signed into the portal__________________________________ž.",
|
|
598
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns the username of the user currently signed into the portal__________________________________ž.\n\n```sql\nCURRENT_USER\n```\n\n",
|
|
599
|
-
"completion": {
|
|
600
|
-
"label": "CURRENT_USER",
|
|
601
|
-
"detail": "CURRENT_USER -> String",
|
|
602
|
-
"insertText": "CURRENT_USER",
|
|
603
|
-
"insertTextMode": 2,
|
|
604
|
-
"insertTextFormat": 2,
|
|
605
|
-
"kind": 3,
|
|
606
|
-
"documentation": {
|
|
607
|
-
"kind": "markdown",
|
|
608
|
-
"value": "Č_Returns the username of the user currently signed into the portal__________________________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
"parametersInfo": {
|
|
612
|
-
"min": 0,
|
|
613
|
-
"max": 0
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"type": "function",
|
|
618
|
-
"name": "lower",
|
|
619
|
-
"bundle": "string",
|
|
620
|
-
"description": "Č_Converts all characters in the text string to lowercase_____________________________ž.",
|
|
621
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns 'hello world'______________________ž\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
|
|
622
|
-
"completion": {
|
|
623
|
-
"label": "LOWER",
|
|
624
|
-
"detail": "LOWER(string) -> String",
|
|
625
|
-
"insertText": "LOWER(${1:string_})$0",
|
|
626
|
-
"insertTextMode": 2,
|
|
627
|
-
"insertTextFormat": 2,
|
|
628
|
-
"kind": 3,
|
|
629
|
-
"documentation": {
|
|
630
|
-
"kind": "markdown",
|
|
631
|
-
"value": "Č_Converts all characters in the text string to lowercase_____________________________ž.\n\n**Č_Parameter___________________ž**\n\n- **string**: Č_The text string to convert to lowercase_____________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
"parametersInfo": {
|
|
635
|
-
"min": 1,
|
|
636
|
-
"max": 1
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
"type": "function",
|
|
641
|
-
"name": "position",
|
|
642
|
-
"bundle": "string",
|
|
643
|
-
"description": "Č_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________ž.",
|
|
644
|
-
"examples": "\n##### Č_Examples_________________ž\n\nČ_Returns 6___________________ž\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nČ_Returns 9___________________ž\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
|
|
645
|
-
"completion": {
|
|
646
|
-
"label": "POSITION",
|
|
647
|
-
"detail": "POSITION(substring, string) -> Number",
|
|
648
|
-
"insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
|
|
649
|
-
"insertTextMode": 2,
|
|
650
|
-
"insertTextFormat": 2,
|
|
651
|
-
"kind": 3,
|
|
652
|
-
"documentation": {
|
|
653
|
-
"kind": "markdown",
|
|
654
|
-
"value": "Č_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **substring**: Č_The text string to search for_______________________________ž.\n- **string**: Č_The string that will be searched for the substring___________________________ž.\n\n**Č_Return value_____________ž**: Number"
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
"parametersInfo": {
|
|
658
|
-
"min": 2,
|
|
659
|
-
"max": 2
|
|
660
|
-
}
|
|
661
|
-
},
|
|
662
|
-
[
|
|
663
|
-
{
|
|
664
|
-
"type": "function",
|
|
665
|
-
"name": "substring",
|
|
666
|
-
"bundle": "string",
|
|
667
|
-
"description": "Č_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ž.",
|
|
668
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns 'City'_______________ž\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
|
|
669
|
-
"completion": {
|
|
670
|
-
"label": "SUBSTRING",
|
|
671
|
-
"detail": "SUBSTRING(string, start, length) -> String",
|
|
672
|
-
"insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
|
|
673
|
-
"insertTextMode": 2,
|
|
674
|
-
"insertTextFormat": 2,
|
|
675
|
-
"kind": 3,
|
|
676
|
-
"documentation": {
|
|
677
|
-
"kind": "markdown",
|
|
678
|
-
"value": "Č_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **string**: Č_The text string to extract from_________________ž.\n- **start**: Č_The integer value that specifies where the returned characters will start______________________________________ž.\n- **length**: Č_The number of characters to extract___________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"parametersInfo": {
|
|
682
|
-
"min": 3,
|
|
683
|
-
"max": 3
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"type": "function",
|
|
688
|
-
"name": "substring",
|
|
689
|
-
"bundle": "string",
|
|
690
|
-
"description": "Č_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ž.",
|
|
691
|
-
"examples": "\n##### Č_Examples_________________ž\n\nČ_Returns 'City'_______________ž\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nČ_Returns 'New York'___________________ž\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
|
|
692
|
-
"completion": {
|
|
693
|
-
"label": "SUBSTRING",
|
|
694
|
-
"detail": "SUBSTRING(string, start, length) -> String",
|
|
695
|
-
"insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
|
|
696
|
-
"insertTextMode": 2,
|
|
697
|
-
"insertTextFormat": 2,
|
|
698
|
-
"kind": 3,
|
|
699
|
-
"documentation": {
|
|
700
|
-
"kind": "markdown",
|
|
701
|
-
"value": "Č_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **string**: Č_The text string to extract from_________________ž.\n- **start**: Č_The integer value that specifies where the returned characters will start______________________________________ž.\n- **length**: Č_The number of characters to extract___________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
"parametersInfo": {
|
|
705
|
-
"min": 3,
|
|
706
|
-
"max": 3
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
],
|
|
710
|
-
{
|
|
711
|
-
"type": "function",
|
|
712
|
-
"name": "trim",
|
|
713
|
-
"bundle": "string",
|
|
714
|
-
"description": "Č_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________ž.",
|
|
715
|
-
"examples": "\n##### Č_Examples_________________ž\n\nČ_Returns 'myFunc'_________________ž\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nČ_Returns ' hello world'________________________ž\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nČ_Returns 'hello world'______________________ž\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
|
|
716
|
-
"completion": {
|
|
717
|
-
"label": "TRIM",
|
|
718
|
-
"detail": "TRIM(side, character, string) -> String",
|
|
719
|
-
"insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
|
|
720
|
-
"insertTextMode": 2,
|
|
721
|
-
"insertTextFormat": 2,
|
|
722
|
-
"kind": 3,
|
|
723
|
-
"documentation": {
|
|
724
|
-
"kind": "markdown",
|
|
725
|
-
"value": "Č_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________ž.\n\n**Č_Parameters_____________________ž**\n\n- **side**: Č_The side of the text string where the space(s) or character(s) will be removed. Possible values: `LEADING`, `TRAILING`, `BOTH`_________________________________________________________________ž.\n- **character**: Č_The character(s) that will be trimmed from the text string_______________________________ž.\n- **string**: Č_The text string to trim_________________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
726
|
-
}
|
|
727
|
-
},
|
|
728
|
-
"parametersInfo": {
|
|
729
|
-
"min": 3,
|
|
730
|
-
"max": 3
|
|
731
|
-
}
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"type": "function",
|
|
735
|
-
"name": "upper",
|
|
736
|
-
"bundle": "string",
|
|
737
|
-
"description": "Č_Converts all characters in the text string to uppercase_____________________________ž.",
|
|
738
|
-
"examples": "\n##### Č_Example_______________ž\n\nČ_Returns 'QUICK RED FOX'________________________ž\n\n```sql\nUPPER('quick red fox')\n```\n\n",
|
|
739
|
-
"completion": {
|
|
740
|
-
"label": "UPPER",
|
|
741
|
-
"detail": "UPPER(string) -> String",
|
|
742
|
-
"insertText": "UPPER(${1:string_})$0",
|
|
743
|
-
"insertTextMode": 2,
|
|
744
|
-
"insertTextFormat": 2,
|
|
745
|
-
"kind": 3,
|
|
746
|
-
"documentation": {
|
|
747
|
-
"kind": "markdown",
|
|
748
|
-
"value": "Č_Converts all characters in the text string to uppercase_____________________________ž.\n\n**Č_Parameter___________________ž**\n\n- **string**: Č_The string to convert to uppercase___________________ž.\n\n**Č_Return value_____________ž**: String"
|
|
749
|
-
}
|
|
750
|
-
},
|
|
751
|
-
"parametersInfo": {
|
|
752
|
-
"min": 1,
|
|
753
|
-
"max": 1
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
]
|
|
757
757
|
}
|
|
758
758
|
]
|