@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": "Funciones de cadena",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"type": "function",
|
|
8
|
+
"name": "char_length",
|
|
9
|
+
"bundle": "string",
|
|
10
|
+
"description": "Devuelve el número de caracteres de la cadena de texto como número entero.",
|
|
11
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el número de caracteres de la cadena de texto como número entero.\n\n**Parámetro**\n\n- **string**: Cadena de caracteres de texto cuya longitud se debe devolver.\n\n**Valor de retorno**: 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": "Devuelve el primer valor de la lista que no sea `NULL`. Todos los valores pasados a la función deben ser del mismo tipo, a excepción de los valores `NULL`.",
|
|
34
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 'Green goldfish'\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nDevuelve 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": "Devuelve el primer valor de la lista que no sea `NULL`. Todos los valores pasados a la función deben ser del mismo tipo, a excepción de los valores `NULL`.\n\n**Parámetros**\n\n- **value1**: á_The first value in the list_____________________________Ó.\n- **valueN**: á_The subsequent value(s) in the list___________________Ó.\n\n**Valor de retorno**: 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 dos cadenas.",
|
|
57
|
+
"examples": "\n##### Ejemplo\n\nDevuelve '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 dos cadenas.\n\n**Parámetros**\n\n- **string1**: Primera cadena de texto.\n- **string2**: Cadena de texto que se desea concatenar a la primera cadena de texto.\n\n**Valor de retorno**: 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": "Devuelve el nombre del usuario que ha iniciado sesión en el portal.",
|
|
80
|
+
"examples": "\n##### Ejemplo\n\nDevuelve el nombre del usuario que ha iniciado sesión en el 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": "Devuelve el nombre del usuario que ha iniciado sesión en el portal.\n\n**Valor de retorno**: 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": "Pone en minúsculas todos los caracteres de la cadena de texto.",
|
|
103
|
+
"examples": "\n##### Ejemplo\n\nDevuelve '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": "Pone en minúsculas todos los caracteres de la cadena de texto.\n\n**Parámetro**\n\n- **string**: Cadena de texto que se desea poner en minúsculas.\n\n**Valor de retorno**: 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": "Devuelve la primera aparición de una subcadena en otra cadena de texto. Devuelve 0 si no se encuentra la subcadena.",
|
|
126
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nDevuelve 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": "Devuelve la primera aparición de una subcadena en otra cadena de texto. Devuelve 0 si no se encuentra la subcadena.\n\n**Parámetros**\n\n- **substring**: Cadena de texto que se desea buscar.\n- **string**: Cadena en la que se buscará la subcadena.\n\n**Valor de retorno**: 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": "Devuelve un subconjunto de caracteres de una cadena de texto desde el punto inicial hasta la longitud de cadena de caracteres especificada.",
|
|
150
|
+
"examples": "\n##### Ejemplo\n\nDevuelve '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": "Devuelve un subconjunto de caracteres de una cadena de texto desde el punto inicial hasta la longitud de cadena de caracteres especificada.\n\n**Parámetros**\n\n- **string**: La cadena de texto de la que se desea extraer.\n- **start**: Valor entero que especifica dónde comenzarán los caracteres devueltos.\n- **length**: El número de caracteres que se van a extraer.\n\n**Valor de retorno**: 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": "Devuelve un subconjunto de caracteres de una cadena de texto desde el punto inicial hasta la longitud de cadena de caracteres especificada.",
|
|
173
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 'City'\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nDevuelve '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": "Devuelve un subconjunto de caracteres de una cadena de texto desde el punto inicial hasta la longitud de cadena de caracteres especificada.\n\n**Parámetros**\n\n- **string**: La cadena de texto de la que se desea extraer.\n- **start**: Valor entero que especifica dónde comenzarán los caracteres devueltos.\n- **length**: El número de caracteres que se van a extraer.\n\n**Valor de retorno**: 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": "Devuelve una cadena de texto en la que se han eliminado todos los espacios iniciales y/o finales u otros caracteres especificados. LEADING recortará el lado inicial de la cadena de texto, TRAILING recortará el lado final de la cadena de texto, mientras que BOTH recortará ambos lados de la cadena de texto.",
|
|
197
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 'myFunc'\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nDevuelve ' hello world'\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nDevuelve '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": "Devuelve una cadena de texto en la que se han eliminado todos los espacios iniciales y/o finales u otros caracteres especificados. LEADING recortará el lado inicial de la cadena de texto, TRAILING recortará el lado final de la cadena de texto, mientras que BOTH recortará ambos lados de la cadena de texto.\n\n**Parámetros**\n\n- **side**: Lado de la cadena de texto donde se eliminarán los espacios o caracteres. Posibles valores: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: Carácter o caracteres que se recortarán de la cadena de texto.\n- **string**: Cadena de texto que se desea recortar.\n\n**Valor de retorno**: 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": "Pone en mayúsculas todos los caracteres de la cadena de texto.",
|
|
220
|
+
"examples": "\n##### Ejemplo\n\nDevuelve '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": "Pone en mayúsculas todos los caracteres de la cadena de texto.\n\n**Parámetro**\n\n- **string**: Cadena de caracteres que se desea poner en mayúsculas.\n\n**Valor de retorno**: 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": "Funciones de fecha",
|
|
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": "Devuelve la fecha actual en UTC.",
|
|
249
|
+
"examples": "\n##### Ejemplo\n\nDevuelve la fecha 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": "Devuelve la fecha actual en UTC.\n\n**Valor de retorno**: 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": "Devuelve la fecha y hora UTC actuales en horas, minutos y segundos.",
|
|
272
|
+
"examples": "\n##### Ejemplo\n\nDevuelve la fecha y hora UTC actuales en horas, minutos y segundos.\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": "Devuelve la fecha y hora UTC actuales en horas, minutos y segundos.\n\n**Valor de retorno**: 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": "Devuelve la fecha y hora UTC actual en horas, minutos, segundos y milisegundos.",
|
|
295
|
+
"examples": "\n##### Ejemplo\n\nDevuelve la fecha y hora UTC actual en horas, minutos, segundos y milisegundos.\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": "Devuelve la fecha y hora UTC actual en horas, minutos, segundos y milisegundos.\n\n**Valor de retorno**: 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": "Devuelve una parte de una fecha u hora, como año, mes, día, hora, minuto o segundo.",
|
|
318
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nDevuelve 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nDevuelve 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": "Devuelve una parte de una fecha u hora, como año, mes, día, hora, minuto o segundo.\n\n**Parámetros**\n\n- **part**: La parte a extraer de la fecha. Valores posibles: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: La fecha de la que se desea extraer una parte.\n\n**Valor de retorno**: 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": "Funciones numéricas",
|
|
103
341
|
"items": [
|
|
104
342
|
{
|
|
105
343
|
"type": "function",
|
|
106
344
|
"name": "abs",
|
|
107
345
|
"bundle": "numeric",
|
|
108
|
-
"description": "
|
|
109
|
-
"examples": "\n#####
|
|
346
|
+
"description": "Devuelve el valor absoluto del número.",
|
|
347
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el valor absoluto del número.\n\n**Parámetro**\n\n- **number**: Un número en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el arcocoseno de un número.",
|
|
370
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el arcocoseno de un número.\n\n**Parámetro**\n\n- **number**: Un número entre -1 y 1 en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el arcoseno de un número.",
|
|
393
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el arcoseno de un número.\n\n**Parámetro**\n\n- **number**: Un número entre -1 y 1 en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el arcotangente de un número.",
|
|
416
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el arcotangente de un número.\n\n**Parámetro**\n\n- **number**: Un número en el que realizar la operación.\n\n**Valor de retorno**: 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": "Convierte un valor de un tipo de datos a otro. El parámetro dataType determinará a qué tipo se convierte el valor. FLOAT convierte el valor en un doble, INTEGER convierte el valor en un entero, etc.",
|
|
439
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nDevuelve '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": "Convierte un valor de un tipo de datos a otro. El parámetro dataType determinará a qué tipo se convierte el valor. FLOAT convierte el valor en un doble, INTEGER convierte el valor en un entero, etc.\n\n**Parámetros**\n\n- **value**: Valor que se desea convertir a otro tipo de datos.\n- **dataType**: Tipo de datos al que convertir el valor. Valores posibles: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Valor de retorno**: 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": "Devuelve el valor entero más pequeño que es mayor o igual que el número.",
|
|
462
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el valor entero más pequeño que es mayor o igual que el número.\n\n**Parámetro**\n\n- **number**: El número a redondear al alza.\n\n**Valor de retorno**: 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": "Devuelve el coseno trigonométrico del número, que se asume que es un ángulo en radianes.",
|
|
485
|
+
"examples": "\n##### Ejemplo\n\nDevuelve -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": "Devuelve el coseno trigonométrico del número, que se asume que es un ángulo en radianes.\n\n**Parámetro**\n\n- **number**: Ángulo en radianes en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el número entero más grande que sea menor o igual que el número.",
|
|
508
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el número entero más grande que sea menor o igual que el número.\n\n**Parámetro**\n\n- **number**: Número a redondear hacia abajo.\n\n**Valor de retorno**: 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": "Devuelve el logaritmo natural (base e) del número.",
|
|
531
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el logaritmo natural (base e) del número.\n\n**Parámetro**\n\n- **number**: Número mayor que 0 en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el logaritmo de base 10 del número .",
|
|
554
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el logaritmo de base 10 del número .\n\n**Parámetro**\n\n- **number**: Número en el que realizar la operación que es mayor que 0.\n\n**Valor de retorno**: 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": "Devuelve el resto después de dividir un dividendo por un divisor. Tanto el dividendo como el divisor deben ser enteros.",
|
|
577
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el resto después de dividir un dividendo por un divisor. Tanto el dividendo como el divisor deben ser enteros.\n\n**Parámetros**\n\n- **x**: Número que representa al dividendo.\n- **y**: Número que representa al divisor.\n\n**Valor de retorno**: 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##### Ejemplos\n\nDevuelve `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nDevuelve 32\n\n```sql\nNULLIF(32, 0)\n```\n\nDevuelve `null` si POP18 es igual a 0. De lo contrario, devuelve 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ámetros**\n\n- **expression1**: Valor en el que realizar la operación.\n- **expression2**: Valor en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el valor del número elevado a la potencia especificada.",
|
|
623
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el valor del número elevado a la potencia especificada.\n\n**Parámetros**\n\n- **x**: Número en el que realizar la operación.\n- **y**: Exponente que indica el número de veces que se debe multiplicar el número por sí mismo.\n\n**Valor de retorno**: 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": "Redondea el número a la longitud especificada.",
|
|
646
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 3.98\n\n```sql\nROUND(3.98024, 2)\n```\n\nDevuelve 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": "Redondea el número a la longitud especificada.\n\n**Parámetros**\n\n- **number**: Número para redondear.\n- **length**: El número de posiciones decimales al que redondear el número. Una longitud positiva redondea el número al decimal especificado. Una longitud negativa redondeará el número a la izquierda del punto decimal.\n\n**Valor de retorno**: 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": "Devuelve el signo de un número dado. Un número negativo devolverá -1. Un número positivo devolverá 1.",
|
|
669
|
+
"examples": "\n##### Ejemplos\n\nDevuelve -1\n\n```sql\nSIGN(-132)\n```\n\nDevuelve 0\n\n```sql\nSIGN(0)\n```\n\nDevuelve 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": "Devuelve el signo de un número dado. Un número negativo devolverá -1. Un número positivo devolverá 1.\n\n**Parámetro**\n\n- **number**: Un número en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve el seno trigonométrico del número, que se asume que es un ángulo en radianes.",
|
|
692
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve el seno trigonométrico del número, que se asume que es un ángulo en radianes.\n\n**Parámetro**\n\n- **number**: Ángulo en radianes en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve la tangente de un número, que se asume que es un ángulo en radianes.",
|
|
715
|
+
"examples": "\n##### Ejemplo\n\nDevuelve 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": "Devuelve la tangente de un número, que se asume que es un ángulo en radianes.\n\n**Parámetro**\n\n- **number**: Ángulo en radianes en el que realizar la operación.\n\n**Valor de retorno**: 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": "Devuelve un número truncado.",
|
|
738
|
+
"examples": "\n##### Ejemplos\n\nDevuelve 91.3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nDevuelve 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nDevuelve 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": "Devuelve un número truncado.\n\n**Parámetros**\n\n- **number**: Un número para truncar.\n- **decimals**: Un valor positivo trunca el número hasta el decimal especificado. Un valor negativo trunca el número a la izquierda del punto decimal.\n\n**Valor de retorno**: 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
|
]
|