@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": "Funcions de cadena",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"type": "function",
|
|
8
|
+
"name": "char_length",
|
|
9
|
+
"bundle": "string",
|
|
10
|
+
"description": "Retorna el nombre de caràcters de la cadena de text com un enter.",
|
|
11
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el nombre de caràcters de la cadena de text com un enter.\n\n**Paràmetre**\n\n- **string**: Cadena de text de la qual es retornarà la longitud.\n\n**Valor de retorn**: 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": "Retorna el primer valor de la llista que no és `NULL`. Tots els valors transferits a la funció han de ser del mateix tipus, amb l'excepció dels valors `NULL`.",
|
|
34
|
+
"examples": "\n##### Exemples\n\nRetorna \"Green goldfish\"\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nRetorna -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": "Retorna el primer valor de la llista que no és `NULL`. Tots els valors transferits a la funció han de ser del mateix tipus, amb l'excepció dels valors `NULL`.\n\n**Paràmetres**\n\n- **value1**: ó_The first value in the list_____________________________à.\n- **valueN**: ó_The subsequent value(s) in the list___________________à.\n\n**Valor de retorn**: 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": "Concatena dues cadenes juntes.",
|
|
57
|
+
"examples": "\n##### Exemple\n\nRetorna \"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": "Concatena dues cadenes juntes.\n\n**Paràmetres**\n\n- **string1**: Primera cadena de text.\n- **string2**: Cadena de text que es concatenarà amb la primera cadena de text.\n\n**Valor de retorn**: 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": "Retorna el nom d'usuari de l'usuari que té la sessió iniciada actualment al portal.",
|
|
80
|
+
"examples": "\n##### Exemple\n\nRetorna el nom d'usuari de l'usuari que té la sessió iniciada actualment al 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": "Retorna el nom d'usuari de l'usuari que té la sessió iniciada actualment al portal.\n\n**Valor de retorn**: 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": "Converteix tots els caràcters de la cadena de text a minúscules.",
|
|
103
|
+
"examples": "\n##### Exemple\n\nRetorna \"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": "Converteix tots els caràcters de la cadena de text a minúscules.\n\n**Paràmetre**\n\n- **string**: Cadena de text que es convertirà a minúscules.\n\n**Valor de retorn**: 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": "Retorna la primera repetició d'una subcadena en una altra cadena de text. Retorna 0 si no es troba la subcadena.",
|
|
126
|
+
"examples": "\n##### Exemples\n\nRetorna 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nRetorna 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": "Retorna la primera repetició d'una subcadena en una altra cadena de text. Retorna 0 si no es troba la subcadena.\n\n**Paràmetres**\n\n- **substring**: Cadena de text que se cercarà.\n- **string**: Cadena que se cercarà per a la subcadena.\n\n**Valor de retorn**: 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": "Retorna un subconjunt de caràcters d'una cadena de text des d'un punt inicial fins a la longitud de cadena especificada.",
|
|
150
|
+
"examples": "\n##### Exemple\n\nRetorna \"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": "Retorna un subconjunt de caràcters d'una cadena de text des d'un punt inicial fins a la longitud de cadena especificada.\n\n**Paràmetres**\n\n- **string**: Cadena de text de la qual es farà l'extracció.\n- **start**: Valor enter que especifica on començaran els caràcters retornats.\n- **length**: Nombre de caràcters que s'extrauran.\n\n**Valor de retorn**: 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": "Retorna un subconjunt de caràcters d'una cadena de text des d'un punt inicial fins a la longitud de cadena especificada.",
|
|
173
|
+
"examples": "\n##### Exemples\n\nRetorna \"City\"\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nRetorna \"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": "Retorna un subconjunt de caràcters d'una cadena de text des d'un punt inicial fins a la longitud de cadena especificada.\n\n**Paràmetres**\n\n- **string**: Cadena de text de la qual es farà l'extracció.\n- **start**: Valor enter que especifica on començaran els caràcters retornats.\n- **length**: Nombre de caràcters que s'extrauran.\n\n**Valor de retorn**: 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": "Retorna una cadena de text de la qual s'han eliminat tots els espais inicials o finals o altres caràcters especificats. LEADING retallarà l'extrem inicial de la cadena de text, TRAILING en retallarà l'extrem final i BOTH en retallarà tots dos extrems.",
|
|
197
|
+
"examples": "\n##### Exemples\n\nRetorna \"myFunc\"\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nRetorna \" hello world\"\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nRetorna \"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": "Retorna una cadena de text de la qual s'han eliminat tots els espais inicials o finals o altres caràcters especificats. LEADING retallarà l'extrem inicial de la cadena de text, TRAILING en retallarà l'extrem final i BOTH en retallarà tots dos extrems.\n\n**Paràmetres**\n\n- **side**: Extrem de la cadena de text del qual s'eliminaran els espais o els caràcters. Valors possibles: `LEADING`, `TRAILING` i `BOTH`.\n- **character**: Caràcters que es retallaran de la cadena de text.\n- **string**: Cadena de text que es retallarà.\n\n**Valor de retorn**: 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": "Converteix tots els caràcters de la cadena de text a majúscules.",
|
|
220
|
+
"examples": "\n##### Exemple\n\nRetorna \"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": "Converteix tots els caràcters de la cadena de text a majúscules.\n\n**Paràmetre**\n\n- **string**: Cadena que es convertirà a majúscules.\n\n**Valor de retorn**: 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": "Funcions de data",
|
|
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": "Retorna la data actual en UTC.",
|
|
249
|
+
"examples": "\n##### Exemple\n\nRetorna la data actual en UTC.\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": "Retorna la data actual en UTC.\n\n**Valor de retorn**: 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": "Retorna la data i hora UTC actual en hores, minuts i segons.",
|
|
272
|
+
"examples": "\n##### Exemple\n\nRetorna la data i hora UTC actual en hores, minuts i segons.\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": "Retorna la data i hora UTC actual en hores, minuts i segons.\n\n**Valor de retorn**: 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": "Retorna la data i hora UTC actual en hores, minuts, segons i mil·lisegons.",
|
|
295
|
+
"examples": "\n##### Exemple\n\nRetorna la data i hora UTC actual en hores, minuts, segons i mil·lisegons.\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": "Retorna la data i hora UTC actual en hores, minuts, segons i mil·lisegons.\n\n**Valor de retorn**: 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": "Retorna una única part d'una data o hora, com ara l'any, el mes, el dia, l'hora, el minut o el segon.",
|
|
318
|
+
"examples": "\n##### Exemples\n\nRetorna 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nRetorna 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nRetorna 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": "Retorna una única part d'una data o hora, com ara l'any, el mes, el dia, l'hora, el minut o el segon.\n\n**Paràmetres**\n\n- **part**: Part que s'extraurà de la data. Valors possibles: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE` i `SECOND`.\n- **datetime**: Data de la qual s'extraurà una part.\n\n**Valor de retorn**: 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": "Funcions numèriques",
|
|
103
341
|
"items": [
|
|
104
342
|
{
|
|
105
343
|
"type": "function",
|
|
106
344
|
"name": "abs",
|
|
107
345
|
"bundle": "numeric",
|
|
108
|
-
"description": "
|
|
109
|
-
"examples": "\n#####
|
|
346
|
+
"description": "Retorna el valor absolut del nombre.",
|
|
347
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el valor absolut del nombre.\n\n**Paràmetre**\n\n- **number**: Nombre al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna l'arc cosinus d'un nombre.",
|
|
370
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna l'arc cosinus d'un nombre.\n\n**Paràmetre**\n\n- **number**: Nombre entre -1 i 1 a partir del qual es durà a terme l'operació.\n\n**Valor de retorn**: 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": "Retorna l'arc sinus d'un nombre.",
|
|
393
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna l'arc sinus d'un nombre.\n\n**Paràmetre**\n\n- **number**: Nombre entre -1 i 1 a partir del qual es durà a terme l'operació.\n\n**Valor de retorn**: 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": "Retorna l'arc tangent d'un nombre.",
|
|
416
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna l'arc tangent d'un nombre.\n\n**Paràmetre**\n\n- **number**: Nombre al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Converteix un valor d'un tipus de dades a un altre. El paràmetre dataType determinarà el tipus a què es converteix el valor. FLOAT converteix un valor en un valor doble, INTEGER converteix un valor en un enter, etc.",
|
|
439
|
+
"examples": "\n##### Exemples\n\nRetorna 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nRetorna \"1:00 PM\"\n\n```sql\nCAST('13:00' AS TIME)\n```\n\nó_Returns '50'_____________à\n\n```sql\nCAST(50 AS VARCHAR(20))\n```\n\n",
|
|
202
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": "Converteix un valor d'un tipus de dades a un altre. El paràmetre dataType determinarà el tipus a què es converteix el valor. FLOAT converteix un valor en un valor doble, INTEGER converteix un valor en un enter, etc.\n\n**Paràmetres**\n\n- **value**: Valor que es convertirà a un altre tipus de dades.\n- **dataType**: Tipus de dades al qual es convertirà el valor. Valors possibles: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP` i `VARCHAR`.\n\n**Valor de retorn**: 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": "Retorna l'enter més petit que sigui més gran o igual que el nombre.",
|
|
462
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna l'enter més petit que sigui més gran o igual que el nombre.\n\n**Paràmetre**\n\n- **number**: Nombre que s'arrodonirà a l'alça.\n\n**Valor de retorn**: 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": "Retorna el cosinus trigonomètric del nombre, que es dona per fet que és un angle en radians.",
|
|
485
|
+
"examples": "\n##### Exemple\n\nRetorna -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": "Retorna el cosinus trigonomètric del nombre, que es dona per fet que és un angle en radians.\n\n**Paràmetre**\n\n- **number**: Angle en radians al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna l'enter més gran que sigui més petit o igual que el nombre.",
|
|
508
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna l'enter més gran que sigui més petit o igual que el nombre.\n\n**Paràmetre**\n\n- **number**: Nombre que s'arrodonirà a la baixa.\n\n**Valor de retorn**: 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": "Retorna el logaritme natural (base e) del nombre.",
|
|
531
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el logaritme natural (base e) del nombre.\n\n**Paràmetre**\n\n- **number**: Nombre superior a 0 al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna el logaritme en base 10 d'un nombre.",
|
|
554
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el logaritme en base 10 d'un nombre.\n\n**Paràmetre**\n\n- **number**: Nombre al qual s'aplicarà l'operació que és superior a 0.\n\n**Valor de retorn**: 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": "Retorna la resta després de dividir un dividend per un divisor. Tant el dividend com el divisor han de ser enters.",
|
|
577
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna la resta després de dividir un dividend per un divisor. Tant el dividend com el divisor han de ser enters.\n\n**Paràmetres**\n\n- **x**: Nombre que representa el dividend.\n- **y**: Nombre que representa el divisor.\n\n**Valor de retorn**: 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##### Exemples\n\nRetorna `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nRetorna 32\n\n```sql\nNULLIF(32, 0)\n```\n\nRetorna `null` si POP18 és igual a 0; si no, retorna el valor de 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**Paràmetres**\n\n- **expression1**: Valor en què es durà a terme l'operació.\n- **expression2**: Valor en què es durà a terme l'operació.\n\n**Valor de retorn**: 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": "Retorna el valor del nombre elevat a la potència especificada.",
|
|
623
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el valor del nombre elevat a la potència especificada.\n\n**Paràmetres**\n\n- **x**: Nombre al qual s'aplicarà l'operació.\n- **y**: Exponent que indica el nombre de vegades que es multiplicarà el nombre per si mateix.\n\n**Valor de retorn**: 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": "Arrodoneix el nombre a la longitud especificada.",
|
|
646
|
+
"examples": "\n##### Exemples\n\nRetorna 3.98\n\n```sql\nROUND(3.98024, 2)\n```\n\nRetorna 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": "Arrodoneix el nombre a la longitud especificada.\n\n**Paràmetres**\n\n- **number**: Nombre que s'arrodonirà.\n- **length**: Nombre de posicions decimals a les quals s'arrodonirà el nombre. Una longitud positiva arrodoneix el nombre a la posició decimal especificada. Una longitud negativa arrodonirà el nombre a l'esquerra del punt decimal.\n\n**Valor de retorn**: 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": "Retorna el signe d'un nombre especificat. Un nombre negatiu retornarà -1. Un nombre positiu retornarà 1.",
|
|
669
|
+
"examples": "\n##### Exemples\n\nRetorna -1\n\n```sql\nSIGN(-132)\n```\n\nRetorna 0\n\n```sql\nSIGN(0)\n```\n\nRetorna 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": "Retorna el signe d'un nombre especificat. Un nombre negatiu retornarà -1. Un nombre positiu retornarà 1.\n\n**Paràmetre**\n\n- **number**: Nombre al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna el sinus trigonomètric del nombre, que es dona per fet que és un angle en radians.",
|
|
692
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna el sinus trigonomètric del nombre, que es dona per fet que és un angle en radians.\n\n**Paràmetre**\n\n- **number**: Angle en radians al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna la tangent d'un nombre, que es dona per fet que és un angle en radians.",
|
|
715
|
+
"examples": "\n##### Exemple\n\nRetorna 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": "Retorna la tangent d'un nombre, que es dona per fet que és un angle en radians.\n\n**Paràmetre**\n\n- **number**: Angle en radians al qual s'aplicarà l'operació.\n\n**Valor de retorn**: 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": "Retorna un nombre truncat.",
|
|
738
|
+
"examples": "\n##### Exemples\n\nRetorna 91.3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nRetorna 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nRetorna 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": "Retorna un nombre truncat.\n\n**Paràmetres**\n\n- **number**: Nombre que es truncarà.\n- **decimals**: Un valor positiu trunca el nombre a la posició decimal especificada. Un valor negatiu trunca el nombre a l'esquerra del punt decimal.\n\n**Valor de retorn**: 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
|
]
|