@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,14 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"id": "date_functions",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "Funções de data",
|
|
5
5
|
"items": [
|
|
6
6
|
{
|
|
7
7
|
"type": "function",
|
|
8
8
|
"name": "current_date",
|
|
9
9
|
"bundle": "date",
|
|
10
|
-
"description": "
|
|
11
|
-
"examples": "\n#####
|
|
10
|
+
"description": "Retorna a data atual em UTC.",
|
|
11
|
+
"examples": "\n##### Exemplo\n\nRetorna a data atual em UTC.\n\n```sql\nCURRENT_DATE\n```\n\n",
|
|
12
12
|
"completion": {
|
|
13
13
|
"label": "CURRENT_DATE",
|
|
14
14
|
"detail": "CURRENT_DATE -> Datetime",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"kind": 3,
|
|
19
19
|
"documentation": {
|
|
20
20
|
"kind": "markdown",
|
|
21
|
-
"value": "
|
|
21
|
+
"value": "Retorna a data atual em UTC.\n\n**Retornar valor**: Datetime"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"parametersInfo": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"type": "function",
|
|
31
31
|
"name": "current_time",
|
|
32
32
|
"bundle": "date",
|
|
33
|
-
"description": "
|
|
34
|
-
"examples": "\n#####
|
|
33
|
+
"description": "Retorna a data e hora UTC atuais em horas, minutos e segundos.",
|
|
34
|
+
"examples": "\n##### Exemplo\n\nRetorna a data e hora UTC atuais em horas, minutos e segundos.\n\n```sql\nCURRENT_TIME\n```\n\n",
|
|
35
35
|
"completion": {
|
|
36
36
|
"label": "CURRENT_TIME",
|
|
37
37
|
"detail": "CURRENT_TIME -> Datetime",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"kind": 3,
|
|
42
42
|
"documentation": {
|
|
43
43
|
"kind": "markdown",
|
|
44
|
-
"value": "
|
|
44
|
+
"value": "Retorna a data e hora UTC atuais em horas, minutos e segundos.\n\n**Retornar valor**: Datetime"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"parametersInfo": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"type": "function",
|
|
54
54
|
"name": "current_timestamp",
|
|
55
55
|
"bundle": "date",
|
|
56
|
-
"description": "
|
|
57
|
-
"examples": "\n#####
|
|
56
|
+
"description": "Retorna a data e hora UTC atuais em horas, minutos, segundos e milissegundos.",
|
|
57
|
+
"examples": "\n##### Exemplo\n\nRetorna a data e hora UTC atuais em horas, minutos, segundos e milissegundos.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\n",
|
|
58
58
|
"completion": {
|
|
59
59
|
"label": "CURRENT_TIMESTAMP",
|
|
60
60
|
"detail": "CURRENT_TIMESTAMP -> Datetime",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"kind": 3,
|
|
65
65
|
"documentation": {
|
|
66
66
|
"kind": "markdown",
|
|
67
|
-
"value": "
|
|
67
|
+
"value": "Retorna a data e hora UTC atuais em horas, minutos, segundos e milissegundos.\n\n**Retornar valor**: Datetime"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"parametersInfo": {
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"type": "function",
|
|
77
77
|
"name": "extract",
|
|
78
78
|
"bundle": "date",
|
|
79
|
-
"description": "
|
|
80
|
-
"examples": "\n#####
|
|
79
|
+
"description": "Retorna uma única parte de uma data e hora, como ano, mês, dia, hora, minuto ou segundo.",
|
|
80
|
+
"examples": "\n##### Exemplos\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
81
|
"completion": {
|
|
82
82
|
"label": "EXTRACT",
|
|
83
83
|
"detail": "EXTRACT(part, datetime) -> Number",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"kind": 3,
|
|
88
88
|
"documentation": {
|
|
89
89
|
"kind": "markdown",
|
|
90
|
-
"value": "
|
|
90
|
+
"value": "Retorna uma única parte de uma data e hora, como ano, mês, dia, hora, minuto ou segundo.\n\n**Parâmetros**\n\n- **part**: A parte a ser extraída da data. Valores possíveis: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: A data de onde extrair uma parte.\n\n**Retornar valor**: Number"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"parametersInfo": {
|
|
@@ -98,25 +98,25 @@
|
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
|
-
"id": "
|
|
102
|
-
"title": "
|
|
101
|
+
"id": "string_functions",
|
|
102
|
+
"title": "Funções de string",
|
|
103
103
|
"items": [
|
|
104
104
|
{
|
|
105
105
|
"type": "function",
|
|
106
|
-
"name": "
|
|
107
|
-
"bundle": "
|
|
108
|
-
"description": "
|
|
109
|
-
"examples": "\n#####
|
|
106
|
+
"name": "char_length",
|
|
107
|
+
"bundle": "string",
|
|
108
|
+
"description": "Retorna o número de caracteres na string de texto como um inteiro.",
|
|
109
|
+
"examples": "\n##### Exemplo\n\nRetorna 11\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
|
|
110
110
|
"completion": {
|
|
111
|
-
"label": "
|
|
112
|
-
"detail": "
|
|
113
|
-
"insertText": "
|
|
111
|
+
"label": "CHAR_LENGTH",
|
|
112
|
+
"detail": "CHAR_LENGTH(string) -> Number",
|
|
113
|
+
"insertText": "CHAR_LENGTH(${1:string_})$0",
|
|
114
114
|
"insertTextMode": 2,
|
|
115
115
|
"insertTextFormat": 2,
|
|
116
116
|
"kind": 3,
|
|
117
117
|
"documentation": {
|
|
118
118
|
"kind": "markdown",
|
|
119
|
-
"value": "
|
|
119
|
+
"value": "Retorna o número de caracteres na string de texto como um inteiro.\n\n**Parâmetro**\n\n- **string**: A string de texto para retornar o comprimento.\n\n**Retornar valor**: Number"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"parametersInfo": {
|
|
@@ -126,181 +126,235 @@
|
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"type": "function",
|
|
129
|
-
"name": "
|
|
130
|
-
"bundle": "
|
|
131
|
-
"description": "
|
|
132
|
-
"examples": "\n#####
|
|
129
|
+
"name": "coalesce",
|
|
130
|
+
"bundle": "string",
|
|
131
|
+
"description": "Retorna o primeiro valor na lista que não é `NULL`. Todos os valores passados para a função devem ser do mesmo tipo, com exceção dos valores `NULL`.",
|
|
132
|
+
"examples": "\n##### Exemplos\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",
|
|
133
133
|
"completion": {
|
|
134
|
-
"label": "
|
|
135
|
-
"detail": "
|
|
136
|
-
"insertText": "
|
|
134
|
+
"label": "COALESCE",
|
|
135
|
+
"detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
|
|
136
|
+
"insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
|
|
137
137
|
"insertTextMode": 2,
|
|
138
138
|
"insertTextFormat": 2,
|
|
139
139
|
"kind": 3,
|
|
140
140
|
"documentation": {
|
|
141
141
|
"kind": "markdown",
|
|
142
|
-
"value": "
|
|
142
|
+
"value": "Retorna o primeiro valor na lista que não é `NULL`. Todos os valores passados para a função devem ser do mesmo tipo, com exceção dos 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**Retornar valor**: String,Number,Datetime"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
"parametersInfo": {
|
|
146
|
-
"min":
|
|
147
|
-
"max": 1
|
|
146
|
+
"min": 2,
|
|
147
|
+
"max": -1
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
151
151
|
"type": "function",
|
|
152
|
-
"name": "
|
|
153
|
-
"bundle": "
|
|
154
|
-
"description": "
|
|
155
|
-
"examples": "\n#####
|
|
152
|
+
"name": "concat",
|
|
153
|
+
"bundle": "string",
|
|
154
|
+
"description": "Concatena duas strings.",
|
|
155
|
+
"examples": "\n##### Exemplo\n\nRetorna 'Maple syrup'\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
|
|
156
156
|
"completion": {
|
|
157
|
-
"label": "
|
|
158
|
-
"detail": "
|
|
159
|
-
"insertText": "
|
|
157
|
+
"label": "CONCAT",
|
|
158
|
+
"detail": "CONCAT(string1, string2) -> String",
|
|
159
|
+
"insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
|
|
160
160
|
"insertTextMode": 2,
|
|
161
161
|
"insertTextFormat": 2,
|
|
162
162
|
"kind": 3,
|
|
163
163
|
"documentation": {
|
|
164
164
|
"kind": "markdown",
|
|
165
|
-
"value": "
|
|
165
|
+
"value": "Concatena duas strings.\n\n**Parâmetros**\n\n- **string1**: A primeira string de texto.\n- **string2**: A string de texto para concatenar na primeira string de texto.\n\n**Retornar valor**: String"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"parametersInfo": {
|
|
169
|
-
"min":
|
|
170
|
-
"max":
|
|
169
|
+
"min": 2,
|
|
170
|
+
"max": 2
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"type": "function",
|
|
175
|
-
"name": "
|
|
176
|
-
"bundle": "
|
|
177
|
-
"description": "
|
|
178
|
-
"examples": "\n#####
|
|
175
|
+
"name": "current_user",
|
|
176
|
+
"bundle": "string",
|
|
177
|
+
"description": "Retorna o nome de usuário do usuário atualmente conectado ao portal.",
|
|
178
|
+
"examples": "\n##### Exemplo\n\nRetorna o nome de usuário do usuário atualmente conectado ao portal.\n\n```sql\nCURRENT_USER\n```\n\n",
|
|
179
179
|
"completion": {
|
|
180
|
-
"label": "
|
|
181
|
-
"detail": "
|
|
182
|
-
"insertText": "
|
|
180
|
+
"label": "CURRENT_USER",
|
|
181
|
+
"detail": "CURRENT_USER -> String",
|
|
182
|
+
"insertText": "CURRENT_USER",
|
|
183
183
|
"insertTextMode": 2,
|
|
184
184
|
"insertTextFormat": 2,
|
|
185
185
|
"kind": 3,
|
|
186
186
|
"documentation": {
|
|
187
187
|
"kind": "markdown",
|
|
188
|
-
"value": "
|
|
188
|
+
"value": "Retorna o nome de usuário do usuário atualmente conectado ao portal.\n\n**Retornar valor**: String"
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
191
|
"parametersInfo": {
|
|
192
|
-
"min":
|
|
193
|
-
"max":
|
|
192
|
+
"min": 0,
|
|
193
|
+
"max": 0
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
"type": "function",
|
|
198
|
-
"name": "
|
|
199
|
-
"bundle": "
|
|
200
|
-
"description": "
|
|
201
|
-
"examples": "\n#####
|
|
198
|
+
"name": "lower",
|
|
199
|
+
"bundle": "string",
|
|
200
|
+
"description": "Converte todos os caracteres na sequência de texto em minúsculas.",
|
|
201
|
+
"examples": "\n##### Exemplo\n\nRetorna 'hello world'\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
|
|
202
202
|
"completion": {
|
|
203
|
-
"label": "
|
|
204
|
-
"detail": "
|
|
205
|
-
"insertText": "
|
|
203
|
+
"label": "LOWER",
|
|
204
|
+
"detail": "LOWER(string) -> String",
|
|
205
|
+
"insertText": "LOWER(${1:string_})$0",
|
|
206
206
|
"insertTextMode": 2,
|
|
207
207
|
"insertTextFormat": 2,
|
|
208
208
|
"kind": 3,
|
|
209
209
|
"documentation": {
|
|
210
210
|
"kind": "markdown",
|
|
211
|
-
"value": "
|
|
211
|
+
"value": "Converte todos os caracteres na sequência de texto em minúsculas.\n\n**Parâmetro**\n\n- **string**: A string de texto para converter em letra minúscula.\n\n**Retornar valor**: String"
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
"parametersInfo": {
|
|
215
|
-
"min":
|
|
216
|
-
"max":
|
|
215
|
+
"min": 1,
|
|
216
|
+
"max": 1
|
|
217
217
|
}
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"type": "function",
|
|
221
|
-
"name": "
|
|
222
|
-
"bundle": "
|
|
223
|
-
"description": "
|
|
224
|
-
"examples": "\n#####
|
|
221
|
+
"name": "position",
|
|
222
|
+
"bundle": "string",
|
|
223
|
+
"description": "Retorna a primeira ocorrência de uma substring em outra string de texto. Retorna 0 se a substring não for encontrada.",
|
|
224
|
+
"examples": "\n##### Exemplos\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",
|
|
225
225
|
"completion": {
|
|
226
|
-
"label": "
|
|
227
|
-
"detail": "
|
|
228
|
-
"insertText": "
|
|
226
|
+
"label": "POSITION",
|
|
227
|
+
"detail": "POSITION(substring, string) -> Number",
|
|
228
|
+
"insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
|
|
229
229
|
"insertTextMode": 2,
|
|
230
230
|
"insertTextFormat": 2,
|
|
231
231
|
"kind": 3,
|
|
232
232
|
"documentation": {
|
|
233
233
|
"kind": "markdown",
|
|
234
|
-
"value": "
|
|
234
|
+
"value": "Retorna a primeira ocorrência de uma substring em outra string de texto. Retorna 0 se a substring não for encontrada.\n\n**Parâmetros**\n\n- **substring**: A sequência de texto a ser pesquisada.\n- **string**: A string que será pesquisada para a substring.\n\n**Retornar valor**: Number"
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
"parametersInfo": {
|
|
238
|
-
"min":
|
|
239
|
-
"max":
|
|
238
|
+
"min": 2,
|
|
239
|
+
"max": 2
|
|
240
240
|
}
|
|
241
241
|
},
|
|
242
|
+
[
|
|
243
|
+
{
|
|
244
|
+
"type": "function",
|
|
245
|
+
"name": "substring",
|
|
246
|
+
"bundle": "string",
|
|
247
|
+
"description": "Retorna um subconjunto de caracteres em uma sequência de texto de um ponto inicial até o comprimento de sequência especificado.",
|
|
248
|
+
"examples": "\n##### Exemplo\n\nRetorna 'City'\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
|
|
249
|
+
"completion": {
|
|
250
|
+
"label": "SUBSTRING",
|
|
251
|
+
"detail": "SUBSTRING(string, start, length) -> String",
|
|
252
|
+
"insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
|
|
253
|
+
"insertTextMode": 2,
|
|
254
|
+
"insertTextFormat": 2,
|
|
255
|
+
"kind": 3,
|
|
256
|
+
"documentation": {
|
|
257
|
+
"kind": "markdown",
|
|
258
|
+
"value": "Retorna um subconjunto de caracteres em uma sequência de texto de um ponto inicial até o comprimento de sequência especificado.\n\n**Parâmetros**\n\n- **string**: A string de texto para extrair.\n- **start**: O valor inteiro que especifica onde os caracteres retornados começarão.\n- **length**: O número de caracteres para extrair.\n\n**Retornar valor**: String"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"parametersInfo": {
|
|
262
|
+
"min": 3,
|
|
263
|
+
"max": 3
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"type": "function",
|
|
268
|
+
"name": "substring",
|
|
269
|
+
"bundle": "string",
|
|
270
|
+
"description": "Retorna um subconjunto de caracteres em uma sequência de texto de um ponto inicial até o comprimento de sequência especificado.",
|
|
271
|
+
"examples": "\n##### Exemplos\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",
|
|
272
|
+
"completion": {
|
|
273
|
+
"label": "SUBSTRING",
|
|
274
|
+
"detail": "SUBSTRING(string, start, length) -> String",
|
|
275
|
+
"insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
|
|
276
|
+
"insertTextMode": 2,
|
|
277
|
+
"insertTextFormat": 2,
|
|
278
|
+
"kind": 3,
|
|
279
|
+
"documentation": {
|
|
280
|
+
"kind": "markdown",
|
|
281
|
+
"value": "Retorna um subconjunto de caracteres em uma sequência de texto de um ponto inicial até o comprimento de sequência especificado.\n\n**Parâmetros**\n\n- **string**: A string de texto para extrair.\n- **start**: O valor inteiro que especifica onde os caracteres retornados começarão.\n- **length**: O número de caracteres para extrair.\n\n**Retornar valor**: String"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"parametersInfo": {
|
|
285
|
+
"min": 3,
|
|
286
|
+
"max": 3
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
],
|
|
242
290
|
{
|
|
243
291
|
"type": "function",
|
|
244
|
-
"name": "
|
|
245
|
-
"bundle": "
|
|
246
|
-
"description": "
|
|
247
|
-
"examples": "\n#####
|
|
292
|
+
"name": "trim",
|
|
293
|
+
"bundle": "string",
|
|
294
|
+
"description": "Retorna um string de texto onde todos os espaços iniciais e/ou finais ou outros caracteres especificados foram removidos. LEADING cortará o lado inicial da string de texto, TRAILING cortará o lado final da string de texto, enquanto BOTH cortará ambos os lados da string de texto.",
|
|
295
|
+
"examples": "\n##### Exemplos\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",
|
|
248
296
|
"completion": {
|
|
249
|
-
"label": "
|
|
250
|
-
"detail": "
|
|
251
|
-
"insertText": "
|
|
297
|
+
"label": "TRIM",
|
|
298
|
+
"detail": "TRIM(side, character, string) -> String",
|
|
299
|
+
"insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
|
|
252
300
|
"insertTextMode": 2,
|
|
253
301
|
"insertTextFormat": 2,
|
|
254
302
|
"kind": 3,
|
|
255
303
|
"documentation": {
|
|
256
304
|
"kind": "markdown",
|
|
257
|
-
"value": "
|
|
305
|
+
"value": "Retorna um string de texto onde todos os espaços iniciais e/ou finais ou outros caracteres especificados foram removidos. LEADING cortará o lado inicial da string de texto, TRAILING cortará o lado final da string de texto, enquanto BOTH cortará ambos os lados da string de texto.\n\n**Parâmetros**\n\n- **side**: O lado da string de texto onde o(s) espaço(s) ou caractere(s) serão removidos. Valores possíveis: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: O(s) caractere(s) que serão cortados da string de texto.\n- **string**: A string de texto para recortar.\n\n**Retornar valor**: String"
|
|
258
306
|
}
|
|
259
307
|
},
|
|
260
308
|
"parametersInfo": {
|
|
261
|
-
"min":
|
|
262
|
-
"max":
|
|
309
|
+
"min": 3,
|
|
310
|
+
"max": 3
|
|
263
311
|
}
|
|
264
312
|
},
|
|
265
313
|
{
|
|
266
314
|
"type": "function",
|
|
267
|
-
"name": "
|
|
268
|
-
"bundle": "
|
|
269
|
-
"description": "
|
|
270
|
-
"examples": "\n#####
|
|
315
|
+
"name": "upper",
|
|
316
|
+
"bundle": "string",
|
|
317
|
+
"description": "Converte todos os caracteres na string de texto em maiúsculas.",
|
|
318
|
+
"examples": "\n##### Exemplo\n\nRetorna 'QUICK RED FOX'\n\n```sql\nUPPER('quick red fox')\n```\n\n",
|
|
271
319
|
"completion": {
|
|
272
|
-
"label": "
|
|
273
|
-
"detail": "
|
|
274
|
-
"insertText": "
|
|
320
|
+
"label": "UPPER",
|
|
321
|
+
"detail": "UPPER(string) -> String",
|
|
322
|
+
"insertText": "UPPER(${1:string_})$0",
|
|
275
323
|
"insertTextMode": 2,
|
|
276
324
|
"insertTextFormat": 2,
|
|
277
325
|
"kind": 3,
|
|
278
326
|
"documentation": {
|
|
279
327
|
"kind": "markdown",
|
|
280
|
-
"value": "
|
|
328
|
+
"value": "Converte todos os caracteres na string de texto em maiúsculas.\n\n**Parâmetro**\n\n- **string**: A string a ser convertida para maiúsculas.\n\n**Retornar valor**: String"
|
|
281
329
|
}
|
|
282
330
|
},
|
|
283
331
|
"parametersInfo": {
|
|
284
332
|
"min": 1,
|
|
285
333
|
"max": 1
|
|
286
334
|
}
|
|
287
|
-
}
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"id": "numeric_functions",
|
|
340
|
+
"title": "Funções numéricas",
|
|
341
|
+
"items": [
|
|
288
342
|
{
|
|
289
343
|
"type": "function",
|
|
290
|
-
"name": "
|
|
344
|
+
"name": "abs",
|
|
291
345
|
"bundle": "numeric",
|
|
292
|
-
"description": "
|
|
293
|
-
"examples": "\n#####
|
|
346
|
+
"description": "Retorna o valor absoluto do número.",
|
|
347
|
+
"examples": "\n##### Exemplo\n\nRetorna 2\n\n```sql\nABS(-2)\n```\n\n",
|
|
294
348
|
"completion": {
|
|
295
|
-
"label": "
|
|
296
|
-
"detail": "
|
|
297
|
-
"insertText": "
|
|
349
|
+
"label": "ABS",
|
|
350
|
+
"detail": "ABS(number) -> Number",
|
|
351
|
+
"insertText": "ABS(${1:number_})$0",
|
|
298
352
|
"insertTextMode": 2,
|
|
299
353
|
"insertTextFormat": 2,
|
|
300
354
|
"kind": 3,
|
|
301
355
|
"documentation": {
|
|
302
356
|
"kind": "markdown",
|
|
303
|
-
"value": "
|
|
357
|
+
"value": "Retorna o valor absoluto do número.\n\n**Parâmetro**\n\n- **number**: Um número no qual executar a operação.\n\n**Retornar valor**: Number"
|
|
304
358
|
}
|
|
305
359
|
},
|
|
306
360
|
"parametersInfo": {
|
|
@@ -310,20 +364,20 @@
|
|
|
310
364
|
},
|
|
311
365
|
{
|
|
312
366
|
"type": "function",
|
|
313
|
-
"name": "
|
|
367
|
+
"name": "acos",
|
|
314
368
|
"bundle": "numeric",
|
|
315
|
-
"description": "
|
|
316
|
-
"examples": "\n#####
|
|
369
|
+
"description": "Retorna o arco cosseno de um número.",
|
|
370
|
+
"examples": "\n##### Exemplo\n\nRetorna 1.26610367\n\n```sql\nACOS(0.3)\n```\n\n",
|
|
317
371
|
"completion": {
|
|
318
|
-
"label": "
|
|
319
|
-
"detail": "
|
|
320
|
-
"insertText": "
|
|
372
|
+
"label": "ACOS",
|
|
373
|
+
"detail": "ACOS(number) -> Number",
|
|
374
|
+
"insertText": "ACOS(${1:number_})$0",
|
|
321
375
|
"insertTextMode": 2,
|
|
322
376
|
"insertTextFormat": 2,
|
|
323
377
|
"kind": 3,
|
|
324
378
|
"documentation": {
|
|
325
379
|
"kind": "markdown",
|
|
326
|
-
"value": "
|
|
380
|
+
"value": "Retorna o arco cosseno de um número.\n\n**Parâmetro**\n\n- **number**: Um número entre -1 e 1 para executar a operação.\n\n**Retornar valor**: Number"
|
|
327
381
|
}
|
|
328
382
|
},
|
|
329
383
|
"parametersInfo": {
|
|
@@ -333,66 +387,66 @@
|
|
|
333
387
|
},
|
|
334
388
|
{
|
|
335
389
|
"type": "function",
|
|
336
|
-
"name": "
|
|
390
|
+
"name": "asin",
|
|
337
391
|
"bundle": "numeric",
|
|
338
|
-
"description": "
|
|
339
|
-
"examples": "\n#####
|
|
392
|
+
"description": "Retorna o arco seno de um número.",
|
|
393
|
+
"examples": "\n##### Exemplo\n\nRetorna 0.30469265\n\n```sql\nASIN(0.3)\n```\n\n",
|
|
340
394
|
"completion": {
|
|
341
|
-
"label": "
|
|
342
|
-
"detail": "
|
|
343
|
-
"insertText": "
|
|
395
|
+
"label": "ASIN",
|
|
396
|
+
"detail": "ASIN(number) -> Number",
|
|
397
|
+
"insertText": "ASIN(${1:number_})$0",
|
|
344
398
|
"insertTextMode": 2,
|
|
345
399
|
"insertTextFormat": 2,
|
|
346
400
|
"kind": 3,
|
|
347
401
|
"documentation": {
|
|
348
402
|
"kind": "markdown",
|
|
349
|
-
"value": "
|
|
403
|
+
"value": "Retorna o arco seno de um número.\n\n**Parâmetro**\n\n- **number**: Um número entre -1 e 1 para executar a operação.\n\n**Retornar valor**: Number"
|
|
350
404
|
}
|
|
351
405
|
},
|
|
352
406
|
"parametersInfo": {
|
|
353
|
-
"min":
|
|
354
|
-
"max":
|
|
407
|
+
"min": 1,
|
|
408
|
+
"max": 1
|
|
355
409
|
}
|
|
356
410
|
},
|
|
357
411
|
{
|
|
358
412
|
"type": "function",
|
|
359
|
-
"name": "
|
|
413
|
+
"name": "atan",
|
|
360
414
|
"bundle": "numeric",
|
|
361
|
-
"description": "
|
|
362
|
-
"examples": "\n#####
|
|
415
|
+
"description": "Retorna o arco tangente de um número.",
|
|
416
|
+
"examples": "\n##### Exemplo\n\nRetorna 0.78539816\n\n```sql\nATAN(1)\n```\n\n",
|
|
363
417
|
"completion": {
|
|
364
|
-
"label": "
|
|
365
|
-
"detail": "
|
|
366
|
-
"insertText": "
|
|
418
|
+
"label": "ATAN",
|
|
419
|
+
"detail": "ATAN(number) -> Number",
|
|
420
|
+
"insertText": "ATAN(${1:number_})$0",
|
|
367
421
|
"insertTextMode": 2,
|
|
368
422
|
"insertTextFormat": 2,
|
|
369
423
|
"kind": 3,
|
|
370
424
|
"documentation": {
|
|
371
425
|
"kind": "markdown",
|
|
372
|
-
"value": "
|
|
426
|
+
"value": "Retorna o arco tangente de um número.\n\n**Parâmetro**\n\n- **number**: Um número no qual executar a operação.\n\n**Retornar valor**: Number"
|
|
373
427
|
}
|
|
374
428
|
},
|
|
375
429
|
"parametersInfo": {
|
|
376
|
-
"min":
|
|
377
|
-
"max":
|
|
430
|
+
"min": 1,
|
|
431
|
+
"max": 1
|
|
378
432
|
}
|
|
379
433
|
},
|
|
380
434
|
{
|
|
381
435
|
"type": "function",
|
|
382
|
-
"name": "
|
|
436
|
+
"name": "cast",
|
|
383
437
|
"bundle": "numeric",
|
|
384
|
-
"description": "
|
|
385
|
-
"examples": "\n#####
|
|
438
|
+
"description": "Converte um valor de um tipo de dado para outro. O parâmetro dataType determinará para qual tipo o valor será convertido. FLOAT converte o valor em um double, INTEGER converte o valor em um inteiro, etc.",
|
|
439
|
+
"examples": "\n##### Exemplos\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",
|
|
386
440
|
"completion": {
|
|
387
|
-
"label": "
|
|
388
|
-
"detail": "
|
|
389
|
-
"insertText": "
|
|
441
|
+
"label": "CAST",
|
|
442
|
+
"detail": "CAST(value, dataType) -> Number,Datetime,String",
|
|
443
|
+
"insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
|
|
390
444
|
"insertTextMode": 2,
|
|
391
445
|
"insertTextFormat": 2,
|
|
392
446
|
"kind": 3,
|
|
393
447
|
"documentation": {
|
|
394
448
|
"kind": "markdown",
|
|
395
|
-
"value": "
|
|
449
|
+
"value": "Converte um valor de um tipo de dado para outro. O parâmetro dataType determinará para qual tipo o valor será convertido. FLOAT converte o valor em um double, INTEGER converte o valor em um inteiro, etc.\n\n**Parâmetros**\n\n- **value**: O valor para converter em outro tipo de dados.\n- **dataType**: O tipo de dados para o qual o valor será convertido. Valores possíveis: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Retornar valor**: Number,Datetime,String"
|
|
396
450
|
}
|
|
397
451
|
},
|
|
398
452
|
"parametersInfo": {
|
|
@@ -402,43 +456,43 @@
|
|
|
402
456
|
},
|
|
403
457
|
{
|
|
404
458
|
"type": "function",
|
|
405
|
-
"name": "
|
|
459
|
+
"name": "ceiling",
|
|
406
460
|
"bundle": "numeric",
|
|
407
|
-
"description": "
|
|
408
|
-
"examples": "\n#####
|
|
461
|
+
"description": "Retorna o menor inteiro maior ou igual ao número.",
|
|
462
|
+
"examples": "\n##### Exemplo\n\nRetorna 235\n\n```sql\nCEILING(234.042)\n```\n\n",
|
|
409
463
|
"completion": {
|
|
410
|
-
"label": "
|
|
411
|
-
"detail": "
|
|
412
|
-
"insertText": "
|
|
464
|
+
"label": "CEILING",
|
|
465
|
+
"detail": "CEILING(number) -> Number",
|
|
466
|
+
"insertText": "CEILING(${1:number_})$0",
|
|
413
467
|
"insertTextMode": 2,
|
|
414
468
|
"insertTextFormat": 2,
|
|
415
469
|
"kind": 3,
|
|
416
470
|
"documentation": {
|
|
417
471
|
"kind": "markdown",
|
|
418
|
-
"value": "
|
|
472
|
+
"value": "Retorna o menor inteiro maior ou igual ao número.\n\n**Parâmetro**\n\n- **number**: O número para arredondar acima.\n\n**Retornar valor**: Number"
|
|
419
473
|
}
|
|
420
474
|
},
|
|
421
475
|
"parametersInfo": {
|
|
422
|
-
"min":
|
|
423
|
-
"max":
|
|
476
|
+
"min": 1,
|
|
477
|
+
"max": 1
|
|
424
478
|
}
|
|
425
479
|
},
|
|
426
480
|
{
|
|
427
481
|
"type": "function",
|
|
428
|
-
"name": "
|
|
482
|
+
"name": "cos",
|
|
429
483
|
"bundle": "numeric",
|
|
430
|
-
"description": "
|
|
431
|
-
"examples": "\n#####
|
|
484
|
+
"description": "Retorna o cosseno trigonométrico do número, que é considerado um ângulo em radianos.",
|
|
485
|
+
"examples": "\n##### Exemplo\n\nRetorna -0.41614684\n\n```sql\nCOS(2)\n```\n\n",
|
|
432
486
|
"completion": {
|
|
433
|
-
"label": "
|
|
434
|
-
"detail": "
|
|
435
|
-
"insertText": "
|
|
487
|
+
"label": "COS",
|
|
488
|
+
"detail": "COS(number) -> Number",
|
|
489
|
+
"insertText": "COS(${1:number_})$0",
|
|
436
490
|
"insertTextMode": 2,
|
|
437
491
|
"insertTextFormat": 2,
|
|
438
492
|
"kind": 3,
|
|
439
493
|
"documentation": {
|
|
440
494
|
"kind": "markdown",
|
|
441
|
-
"value": "
|
|
495
|
+
"value": "Retorna o cosseno trigonométrico do número, que é considerado um ângulo em radianos.\n\n**Parâmetro**\n\n- **number**: Um ângulo em radianos para executar a operação.\n\n**Retornar valor**: Number"
|
|
442
496
|
}
|
|
443
497
|
},
|
|
444
498
|
"parametersInfo": {
|
|
@@ -448,20 +502,20 @@
|
|
|
448
502
|
},
|
|
449
503
|
{
|
|
450
504
|
"type": "function",
|
|
451
|
-
"name": "
|
|
505
|
+
"name": "floor",
|
|
452
506
|
"bundle": "numeric",
|
|
453
|
-
"description": "
|
|
454
|
-
"examples": "\n#####
|
|
507
|
+
"description": "Retorna o maior inteiro que é menor ou igual ao número.",
|
|
508
|
+
"examples": "\n##### Exemplo\n\nRetorna 12\n\n```sql\nFLOOR(12.9942)\n```\n\n",
|
|
455
509
|
"completion": {
|
|
456
|
-
"label": "
|
|
457
|
-
"detail": "
|
|
458
|
-
"insertText": "
|
|
510
|
+
"label": "FLOOR",
|
|
511
|
+
"detail": "FLOOR(number) -> Number",
|
|
512
|
+
"insertText": "FLOOR(${1:number_})$0",
|
|
459
513
|
"insertTextMode": 2,
|
|
460
514
|
"insertTextFormat": 2,
|
|
461
515
|
"kind": 3,
|
|
462
516
|
"documentation": {
|
|
463
517
|
"kind": "markdown",
|
|
464
|
-
"value": "
|
|
518
|
+
"value": "Retorna o maior inteiro que é menor ou igual ao número.\n\n**Parâmetro**\n\n- **number**: O número a ser arredondado para baixo.\n\n**Retornar valor**: Number"
|
|
465
519
|
}
|
|
466
520
|
},
|
|
467
521
|
"parametersInfo": {
|
|
@@ -471,20 +525,20 @@
|
|
|
471
525
|
},
|
|
472
526
|
{
|
|
473
527
|
"type": "function",
|
|
474
|
-
"name": "
|
|
528
|
+
"name": "log",
|
|
475
529
|
"bundle": "numeric",
|
|
476
|
-
"description": "
|
|
477
|
-
"examples": "\n#####
|
|
530
|
+
"description": "Retorna o logaritmo natural (base e) do número.",
|
|
531
|
+
"examples": "\n##### Exemplo\n\nRetorna 2.302585\n\n```sql\nLOG(10)\n```\n\n",
|
|
478
532
|
"completion": {
|
|
479
|
-
"label": "
|
|
480
|
-
"detail": "
|
|
481
|
-
"insertText": "
|
|
533
|
+
"label": "LOG",
|
|
534
|
+
"detail": "LOG(number) -> Number",
|
|
535
|
+
"insertText": "LOG(${1:number_})$0",
|
|
482
536
|
"insertTextMode": 2,
|
|
483
537
|
"insertTextFormat": 2,
|
|
484
538
|
"kind": 3,
|
|
485
539
|
"documentation": {
|
|
486
540
|
"kind": "markdown",
|
|
487
|
-
"value": "
|
|
541
|
+
"value": "Retorna o logaritmo natural (base e) do número.\n\n**Parâmetro**\n\n- **number**: Um número maior que 0 no qual a operação será executada.\n\n**Retornar valor**: Number"
|
|
488
542
|
}
|
|
489
543
|
},
|
|
490
544
|
"parametersInfo": {
|
|
@@ -494,95 +548,89 @@
|
|
|
494
548
|
},
|
|
495
549
|
{
|
|
496
550
|
"type": "function",
|
|
497
|
-
"name": "
|
|
551
|
+
"name": "log10",
|
|
498
552
|
"bundle": "numeric",
|
|
499
|
-
"description": "
|
|
500
|
-
"examples": "\n#####
|
|
553
|
+
"description": "Retorna o logaritmo de base-10 do número.",
|
|
554
|
+
"examples": "\n##### Exemplo\n\nRetorna 0.301030\n\n```sql\nLOG10(2)\n```\n\n",
|
|
501
555
|
"completion": {
|
|
502
|
-
"label": "
|
|
503
|
-
"detail": "
|
|
504
|
-
"insertText": "
|
|
556
|
+
"label": "LOG10",
|
|
557
|
+
"detail": "LOG10(number) -> Number",
|
|
558
|
+
"insertText": "LOG10(${1:number_})$0",
|
|
505
559
|
"insertTextMode": 2,
|
|
506
560
|
"insertTextFormat": 2,
|
|
507
561
|
"kind": 3,
|
|
508
562
|
"documentation": {
|
|
509
563
|
"kind": "markdown",
|
|
510
|
-
"value": "
|
|
564
|
+
"value": "Retorna o logaritmo de base-10 do número.\n\n**Parâmetro**\n\n- **number**: Um número no qual a operação será executada que seja maior que 0.\n\n**Retornar valor**: Number"
|
|
511
565
|
}
|
|
512
566
|
},
|
|
513
567
|
"parametersInfo": {
|
|
514
|
-
"min":
|
|
515
|
-
"max":
|
|
568
|
+
"min": 1,
|
|
569
|
+
"max": 1
|
|
516
570
|
}
|
|
517
|
-
}
|
|
518
|
-
]
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"id": "string_functions",
|
|
522
|
-
"title": "ã_String functions_________________Ç",
|
|
523
|
-
"items": [
|
|
571
|
+
},
|
|
524
572
|
{
|
|
525
573
|
"type": "function",
|
|
526
|
-
"name": "
|
|
527
|
-
"bundle": "
|
|
528
|
-
"description": "
|
|
529
|
-
"examples": "\n#####
|
|
574
|
+
"name": "mod",
|
|
575
|
+
"bundle": "numeric",
|
|
576
|
+
"description": "Retorna o restante após dividir um dividendo por um divisor. Tanto o dividendo quanto o divisor devem ser inteiros.",
|
|
577
|
+
"examples": "\n##### Exemplo\n\nRetorna 2\n\n```sql\nMOD(18, 4)\n```\n\n",
|
|
530
578
|
"completion": {
|
|
531
|
-
"label": "
|
|
532
|
-
"detail": "
|
|
533
|
-
"insertText": "
|
|
579
|
+
"label": "MOD",
|
|
580
|
+
"detail": "MOD(x, y) -> Number",
|
|
581
|
+
"insertText": "MOD(${1:x_}, ${2:y_})$0",
|
|
534
582
|
"insertTextMode": 2,
|
|
535
583
|
"insertTextFormat": 2,
|
|
536
584
|
"kind": 3,
|
|
537
585
|
"documentation": {
|
|
538
586
|
"kind": "markdown",
|
|
539
|
-
"value": "
|
|
587
|
+
"value": "Retorna o restante após dividir um dividendo por um divisor. Tanto o dividendo quanto o divisor devem ser inteiros.\n\n**Parâmetros**\n\n- **x**: O número que representa o dividendo.\n- **y**: O número representando o divisor.\n\n**Retornar valor**: Number"
|
|
540
588
|
}
|
|
541
589
|
},
|
|
542
590
|
"parametersInfo": {
|
|
543
|
-
"min":
|
|
544
|
-
"max":
|
|
591
|
+
"min": 2,
|
|
592
|
+
"max": 2
|
|
545
593
|
}
|
|
546
594
|
},
|
|
547
595
|
{
|
|
548
596
|
"type": "function",
|
|
549
|
-
"name": "
|
|
550
|
-
"bundle": "
|
|
551
|
-
"description": "ã_Returns
|
|
552
|
-
"examples": "\n#####
|
|
597
|
+
"name": "nullif",
|
|
598
|
+
"bundle": "numeric",
|
|
599
|
+
"description": "ã_Returns `NULL` if expression1 is equal to expression2, otherwise returns expression1. Values for expression1 and expression2 must be the same type. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0______________________________________________________________________________________________________________________Ç.",
|
|
600
|
+
"examples": "\n##### Exemplos\n\nRetorna `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nRetorna 32\n\n```sql\nNULLIF(32, 0)\n```\n\nRetorna `null` se POP18 for igual a 0, caso contrário, retorna o valor de TOTALPOP / POP18.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\n",
|
|
553
601
|
"completion": {
|
|
554
|
-
"label": "
|
|
555
|
-
"detail": "
|
|
556
|
-
"insertText": "
|
|
602
|
+
"label": "NULLIF",
|
|
603
|
+
"detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
|
|
604
|
+
"insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
|
|
557
605
|
"insertTextMode": 2,
|
|
558
606
|
"insertTextFormat": 2,
|
|
559
607
|
"kind": 3,
|
|
560
608
|
"documentation": {
|
|
561
609
|
"kind": "markdown",
|
|
562
|
-
"value": "ã_Returns
|
|
610
|
+
"value": "ã_Returns `NULL` if expression1 is equal to expression2, otherwise returns expression1. Values for expression1 and expression2 must be the same type. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0______________________________________________________________________________________________________________________Ç.\n\n**Parâmetros**\n\n- **expression1**: Um valor no qual a operação será executada.\n- **expression2**: Um valor no qual a operação será executada.\n\n**Retornar valor**: Number,String,Datetime"
|
|
563
611
|
}
|
|
564
612
|
},
|
|
565
613
|
"parametersInfo": {
|
|
566
614
|
"min": 2,
|
|
567
|
-
"max":
|
|
615
|
+
"max": 2
|
|
568
616
|
}
|
|
569
617
|
},
|
|
570
618
|
{
|
|
571
619
|
"type": "function",
|
|
572
|
-
"name": "
|
|
573
|
-
"bundle": "
|
|
574
|
-
"description": "
|
|
575
|
-
"examples": "\n#####
|
|
620
|
+
"name": "power",
|
|
621
|
+
"bundle": "numeric",
|
|
622
|
+
"description": "Retorna o valor do número elevado à potência especificada.",
|
|
623
|
+
"examples": "\n##### Exemplo\n\nRetorna 8\n\n```sql\nPOWER(2, 3)\n```\n\n",
|
|
576
624
|
"completion": {
|
|
577
|
-
"label": "
|
|
578
|
-
"detail": "
|
|
579
|
-
"insertText": "
|
|
625
|
+
"label": "POWER",
|
|
626
|
+
"detail": "POWER(x, y) -> Number",
|
|
627
|
+
"insertText": "POWER(${1:x_}, ${2:y_})$0",
|
|
580
628
|
"insertTextMode": 2,
|
|
581
629
|
"insertTextFormat": 2,
|
|
582
630
|
"kind": 3,
|
|
583
631
|
"documentation": {
|
|
584
632
|
"kind": "markdown",
|
|
585
|
-
"value": "
|
|
633
|
+
"value": "Retorna o valor do número elevado à potência especificada.\n\n**Parâmetros**\n\n- **x**: O número no qual executar a operação.\n- **y**: O expoente indicando o número de vezes para multiplicar o número isoladamente.\n\n**Retornar valor**: Number"
|
|
586
634
|
}
|
|
587
635
|
},
|
|
588
636
|
"parametersInfo": {
|
|
@@ -592,43 +640,43 @@
|
|
|
592
640
|
},
|
|
593
641
|
{
|
|
594
642
|
"type": "function",
|
|
595
|
-
"name": "
|
|
596
|
-
"bundle": "
|
|
597
|
-
"description": "
|
|
598
|
-
"examples": "\n#####
|
|
643
|
+
"name": "round",
|
|
644
|
+
"bundle": "numeric",
|
|
645
|
+
"description": "Arredonda o número para o comprimento especificado.",
|
|
646
|
+
"examples": "\n##### Exemplos\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",
|
|
599
647
|
"completion": {
|
|
600
|
-
"label": "
|
|
601
|
-
"detail": "
|
|
602
|
-
"insertText": "
|
|
648
|
+
"label": "ROUND",
|
|
649
|
+
"detail": "ROUND(number, length) -> Number",
|
|
650
|
+
"insertText": "ROUND(${1:number_}, ${2:length_})$0",
|
|
603
651
|
"insertTextMode": 2,
|
|
604
652
|
"insertTextFormat": 2,
|
|
605
653
|
"kind": 3,
|
|
606
654
|
"documentation": {
|
|
607
655
|
"kind": "markdown",
|
|
608
|
-
"value": "
|
|
656
|
+
"value": "Arredonda o número para o comprimento especificado.\n\n**Parâmetros**\n\n- **number**: O número a ser arredondado.\n- **length**: O número de casas decimais para arredondar o número. Um comprimento positivo arredonda o número para a casa decimal especificada. Um comprimento negativo arredondará o número para a esquerda da vírgula decimal.\n\n**Retornar valor**: Number"
|
|
609
657
|
}
|
|
610
658
|
},
|
|
611
659
|
"parametersInfo": {
|
|
612
|
-
"min":
|
|
613
|
-
"max":
|
|
660
|
+
"min": 2,
|
|
661
|
+
"max": 2
|
|
614
662
|
}
|
|
615
663
|
},
|
|
616
664
|
{
|
|
617
665
|
"type": "function",
|
|
618
|
-
"name": "
|
|
619
|
-
"bundle": "
|
|
620
|
-
"description": "
|
|
621
|
-
"examples": "\n#####
|
|
666
|
+
"name": "sign",
|
|
667
|
+
"bundle": "numeric",
|
|
668
|
+
"description": "Retorna o sinal de um número fornecido. Um número negativo retornará -1. Um número positivo retornará 1.",
|
|
669
|
+
"examples": "\n##### Exemplos\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",
|
|
622
670
|
"completion": {
|
|
623
|
-
"label": "
|
|
624
|
-
"detail": "
|
|
625
|
-
"insertText": "
|
|
671
|
+
"label": "SIGN",
|
|
672
|
+
"detail": "SIGN(number) -> Number",
|
|
673
|
+
"insertText": "SIGN(${1:number_})$0",
|
|
626
674
|
"insertTextMode": 2,
|
|
627
675
|
"insertTextFormat": 2,
|
|
628
676
|
"kind": 3,
|
|
629
677
|
"documentation": {
|
|
630
678
|
"kind": "markdown",
|
|
631
|
-
"value": "
|
|
679
|
+
"value": "Retorna o sinal de um número fornecido. Um número negativo retornará -1. Um número positivo retornará 1.\n\n**Parâmetro**\n\n- **number**: Um número no qual executar a operação.\n\n**Retornar valor**: Number"
|
|
632
680
|
}
|
|
633
681
|
},
|
|
634
682
|
"parametersInfo": {
|
|
@@ -638,119 +686,71 @@
|
|
|
638
686
|
},
|
|
639
687
|
{
|
|
640
688
|
"type": "function",
|
|
641
|
-
"name": "
|
|
642
|
-
"bundle": "
|
|
643
|
-
"description": "
|
|
644
|
-
"examples": "\n#####
|
|
689
|
+
"name": "sin",
|
|
690
|
+
"bundle": "numeric",
|
|
691
|
+
"description": "Retorna o seno trigonométrico do número, que é assumido para ser um ângulo em radianos.",
|
|
692
|
+
"examples": "\n##### Exemplo\n\nRetorna 0.84147098\n\n```sql\nSIN(1)\n```\n\n",
|
|
645
693
|
"completion": {
|
|
646
|
-
"label": "
|
|
647
|
-
"detail": "
|
|
648
|
-
"insertText": "
|
|
694
|
+
"label": "SIN",
|
|
695
|
+
"detail": "SIN(number) -> Number",
|
|
696
|
+
"insertText": "SIN(${1:number_})$0",
|
|
649
697
|
"insertTextMode": 2,
|
|
650
698
|
"insertTextFormat": 2,
|
|
651
699
|
"kind": 3,
|
|
652
700
|
"documentation": {
|
|
653
701
|
"kind": "markdown",
|
|
654
|
-
"value": "
|
|
702
|
+
"value": "Retorna o seno trigonométrico do número, que é assumido para ser um ângulo em radianos.\n\n**Parâmetro**\n\n- **number**: Um ângulo em radianos para executar a operação.\n\n**Retornar valor**: Number"
|
|
655
703
|
}
|
|
656
704
|
},
|
|
657
705
|
"parametersInfo": {
|
|
658
|
-
"min":
|
|
659
|
-
"max":
|
|
706
|
+
"min": 1,
|
|
707
|
+
"max": 1
|
|
660
708
|
}
|
|
661
709
|
},
|
|
662
|
-
[
|
|
663
|
-
{
|
|
664
|
-
"type": "function",
|
|
665
|
-
"name": "substring",
|
|
666
|
-
"bundle": "string",
|
|
667
|
-
"description": "ã_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ç.",
|
|
668
|
-
"examples": "\n##### ã_Example_______________Ç\n\nã_Returns 'City'_______________Ç\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
|
|
669
|
-
"completion": {
|
|
670
|
-
"label": "SUBSTRING",
|
|
671
|
-
"detail": "SUBSTRING(string, start, length) -> String",
|
|
672
|
-
"insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
|
|
673
|
-
"insertTextMode": 2,
|
|
674
|
-
"insertTextFormat": 2,
|
|
675
|
-
"kind": 3,
|
|
676
|
-
"documentation": {
|
|
677
|
-
"kind": "markdown",
|
|
678
|
-
"value": "ã_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **string**: ã_The text string to extract from_________________Ç.\n- **start**: ã_The integer value that specifies where the returned characters will start______________________________________Ç.\n- **length**: ã_The number of characters to extract___________________Ç.\n\n**ã_Return value_____________Ç**: String"
|
|
679
|
-
}
|
|
680
|
-
},
|
|
681
|
-
"parametersInfo": {
|
|
682
|
-
"min": 3,
|
|
683
|
-
"max": 3
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"type": "function",
|
|
688
|
-
"name": "substring",
|
|
689
|
-
"bundle": "string",
|
|
690
|
-
"description": "ã_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ç.",
|
|
691
|
-
"examples": "\n##### ã_Examples_________________Ç\n\nã_Returns 'City'_______________Ç\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nã_Returns 'New York'___________________Ç\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
|
|
692
|
-
"completion": {
|
|
693
|
-
"label": "SUBSTRING",
|
|
694
|
-
"detail": "SUBSTRING(string, start, length) -> String",
|
|
695
|
-
"insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
|
|
696
|
-
"insertTextMode": 2,
|
|
697
|
-
"insertTextFormat": 2,
|
|
698
|
-
"kind": 3,
|
|
699
|
-
"documentation": {
|
|
700
|
-
"kind": "markdown",
|
|
701
|
-
"value": "ã_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **string**: ã_The text string to extract from_________________Ç.\n- **start**: ã_The integer value that specifies where the returned characters will start______________________________________Ç.\n- **length**: ã_The number of characters to extract___________________Ç.\n\n**ã_Return value_____________Ç**: String"
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
"parametersInfo": {
|
|
705
|
-
"min": 3,
|
|
706
|
-
"max": 3
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
],
|
|
710
710
|
{
|
|
711
711
|
"type": "function",
|
|
712
|
-
"name": "
|
|
713
|
-
"bundle": "
|
|
714
|
-
"description": "
|
|
715
|
-
"examples": "\n#####
|
|
712
|
+
"name": "tan",
|
|
713
|
+
"bundle": "numeric",
|
|
714
|
+
"description": "Retorna a tangente de um número, que é assumida para ser um ângulo em radianos.",
|
|
715
|
+
"examples": "\n##### Exemplo\n\nRetorna 2.57215162\n\n```sql\nTAN(1.2)\n```\n\n",
|
|
716
716
|
"completion": {
|
|
717
|
-
"label": "
|
|
718
|
-
"detail": "
|
|
719
|
-
"insertText": "
|
|
717
|
+
"label": "TAN",
|
|
718
|
+
"detail": "TAN(number) -> Number",
|
|
719
|
+
"insertText": "TAN(${1:number_})$0",
|
|
720
720
|
"insertTextMode": 2,
|
|
721
721
|
"insertTextFormat": 2,
|
|
722
722
|
"kind": 3,
|
|
723
723
|
"documentation": {
|
|
724
724
|
"kind": "markdown",
|
|
725
|
-
"value": "
|
|
725
|
+
"value": "Retorna a tangente de um número, que é assumida para ser um ângulo em radianos.\n\n**Parâmetro**\n\n- **number**: Um ângulo em radianos para executar a operação.\n\n**Retornar valor**: Number"
|
|
726
726
|
}
|
|
727
727
|
},
|
|
728
728
|
"parametersInfo": {
|
|
729
|
-
"min":
|
|
730
|
-
"max":
|
|
729
|
+
"min": 1,
|
|
730
|
+
"max": 1
|
|
731
731
|
}
|
|
732
732
|
},
|
|
733
733
|
{
|
|
734
734
|
"type": "function",
|
|
735
|
-
"name": "
|
|
736
|
-
"bundle": "
|
|
737
|
-
"description": "
|
|
738
|
-
"examples": "\n#####
|
|
735
|
+
"name": "truncate",
|
|
736
|
+
"bundle": "numeric",
|
|
737
|
+
"description": "Retorna um número truncado.",
|
|
738
|
+
"examples": "\n##### Exemplos\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",
|
|
739
739
|
"completion": {
|
|
740
|
-
"label": "
|
|
741
|
-
"detail": "
|
|
742
|
-
"insertText": "
|
|
740
|
+
"label": "TRUNCATE",
|
|
741
|
+
"detail": "TRUNCATE(number, decimals) -> Number",
|
|
742
|
+
"insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
|
|
743
743
|
"insertTextMode": 2,
|
|
744
744
|
"insertTextFormat": 2,
|
|
745
745
|
"kind": 3,
|
|
746
746
|
"documentation": {
|
|
747
747
|
"kind": "markdown",
|
|
748
|
-
"value": "
|
|
748
|
+
"value": "Retorna um número truncado.\n\n**Parâmetros**\n\n- **number**: Um número para truncar.\n- **decimals**: Um valor positivo trunca o número para a casa decimal especificada. Um valor negativo trunca o número à esquerda da vírgula decimal.\n\n**Retornar valor**: Number"
|
|
749
749
|
}
|
|
750
750
|
},
|
|
751
751
|
"parametersInfo": {
|
|
752
|
-
"min":
|
|
753
|
-
"max":
|
|
752
|
+
"min": 2,
|
|
753
|
+
"max": 2
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
]
|