@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.
Files changed (134) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +38 -38
  3. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +184 -184
  4. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +300 -300
  5. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +184 -184
  6. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +306 -306
  7. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +184 -184
  8. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +99 -99
  9. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +99 -99
  10. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +184 -184
  11. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +4 -4
  12. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +306 -306
  13. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +99 -99
  14. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +271 -271
  15. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +306 -306
  16. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +271 -271
  17. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +184 -184
  18. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +300 -300
  19. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +184 -184
  20. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +99 -99
  21. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +184 -184
  22. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +300 -300
  23. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +300 -300
  24. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +99 -99
  25. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +99 -99
  26. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +99 -99
  27. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +306 -306
  28. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +300 -300
  29. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +300 -300
  30. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +99 -99
  31. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +306 -306
  32. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +99 -99
  33. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +300 -300
  34. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +306 -306
  35. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +99 -99
  36. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +184 -184
  37. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +271 -271
  38. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +306 -306
  39. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +306 -306
  40. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +271 -271
  41. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +271 -271
  42. package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +271 -271
  43. package/dist/arcgis-coding-components/index.esm.js +2 -2
  44. package/dist/arcgis-coding-components/{p-f4192303.js → p-1ed6d5d2.js} +2 -2
  45. package/dist/arcgis-coding-components/{p-7510add7.js → p-268ef762.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-465435e1.entry.js → p-31ab280f.entry.js} +2 -2
  47. package/dist/arcgis-coding-components/{p-1ad930cc.entry.js → p-392424d7.entry.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-8d0b03d6.js → p-3d70584f.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-7f7da482.js → p-5bd2ea82.js} +2 -2
  50. package/dist/arcgis-coding-components/{p-93a3652f.js → p-661f1809.js} +2 -2
  51. package/dist/arcgis-coding-components/{p-ca5cde7d.js → p-6f0aedeb.js} +2 -2
  52. package/dist/arcgis-coding-components/{p-df7f4e90.js → p-701b064f.js} +2 -2
  53. package/dist/arcgis-coding-components/{p-128a0aee.js → p-8c6acbe3.js} +3 -3
  54. package/dist/arcgis-coding-components/{p-9d9b509b.js → p-a64345ec.js} +1 -1
  55. package/dist/arcgis-coding-components/{p-1a9f475d.js → p-ab0c7293.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-68b7973f.js → p-b2478059.js} +1 -1
  57. package/dist/arcgis-coding-components/{p-f793651c.js → p-c3a77297.js} +2 -2
  58. package/dist/arcgis-coding-components/{p-60b0ff5a.js → p-d2cb652a.js} +2 -2
  59. package/dist/arcgis-coding-components/{p-524b5196.js → p-d8f35b42.js} +2 -2
  60. package/dist/arcgis-coding-components/{p-a09a2995.js → p-f3067adc.js} +10 -10
  61. package/dist/arcgis-coding-components/{p-8c9338b6.entry.js → p-fefa16f8.entry.js} +2 -2
  62. package/dist/cjs/{app-globals-ef1b44a9.js → app-globals-a5ca2733.js} +1 -1
  63. package/dist/cjs/{arcade-defaults-4d3a6776.js → arcade-defaults-750df323.js} +3 -3
  64. package/dist/cjs/{arcade-mode-9f1102b2.js → arcade-mode-7276b964.js} +3 -3
  65. package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
  66. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  67. package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +4 -4
  68. package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
  69. package/dist/cjs/{css-d1b6a768.js → css-5dcbf2f9.js} +1 -1
  70. package/dist/cjs/{cssMode-a52f34b0.js → cssMode-28dff329.js} +3 -3
  71. package/dist/cjs/{html-a8fd5819.js → html-7686bcbd.js} +3 -3
  72. package/dist/cjs/{htmlMode-38e44197.js → htmlMode-dc221611.js} +3 -3
  73. package/dist/cjs/{index-9ee06dbb.js → index-6fdabe00.js} +1 -1
  74. package/dist/cjs/index.cjs.js +4 -4
  75. package/dist/cjs/{javascript-4b0f387a.js → javascript-6815876d.js} +4 -4
  76. package/dist/cjs/{jsonMode-f9197c41.js → jsonMode-25d764f8.js} +3 -3
  77. package/dist/cjs/loader.cjs.js +3 -3
  78. package/dist/cjs/{sql-expr-defaults-28864bc0.js → sql-expr-defaults-c27030fd.js} +17 -17
  79. package/dist/cjs/{sql-expr-mode-ff0b079a.js → sql-expr-mode-e3c04515.js} +3 -3
  80. package/dist/cjs/{tsMode-5edab23c.js → tsMode-d397f757.js} +3 -3
  81. package/dist/cjs/{typescript-6aeb5725.js → typescript-e1976545.js} +3 -3
  82. package/dist/cjs/{useT9n-5f495adc.js → useT9n-2bcb3300.js} +3 -3
  83. package/dist/components/arcade-defaults.js +1 -1
  84. package/dist/components/arcade-mode.js +1 -1
  85. package/dist/components/arcade-results.js +1 -1
  86. package/dist/components/arcade-suggestions.js +1 -1
  87. package/dist/components/arcgis-arcade-editor.js +1 -1
  88. package/dist/components/arcgis-arcade-results.js +1 -1
  89. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  90. package/dist/components/arcgis-assets.d.ts +1 -1
  91. package/dist/components/arcgis-assets.js +1 -1
  92. package/dist/components/arcgis-code-editor.js +1 -1
  93. package/dist/components/arcgis-editor-variables.js +1 -1
  94. package/dist/components/arcgis-language-api-panel.js +1 -1
  95. package/dist/components/arcgis-sql-expression-editor.js +1 -1
  96. package/dist/components/arcgis-sql-expression-fields.js +1 -1
  97. package/dist/components/chunk-UFIZBDFE.js +1 -1
  98. package/dist/components/code-editor.js +1 -1
  99. package/dist/components/editor-variables.js +1 -1
  100. package/dist/components/fields.js +1 -1
  101. package/dist/components/index.js +1 -1
  102. package/dist/components/index2.js +1 -1
  103. package/dist/components/language-api-panel.js +1 -1
  104. package/dist/components/markdown.js +1 -1
  105. package/dist/components/sql-expr-defaults.js +8 -8
  106. package/dist/components/sql-expr-mode.js +1 -1
  107. package/dist/components/useT9n.js +1 -1
  108. package/dist/components/utilities.js +1 -1
  109. package/dist/esm/{app-globals-091b87ba.js → app-globals-248cbe6a.js} +1 -1
  110. package/dist/esm/{arcade-defaults-413bb46c.js → arcade-defaults-6ff6dcc1.js} +3 -3
  111. package/dist/esm/{arcade-mode-9c21be34.js → arcade-mode-07971823.js} +3 -3
  112. package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
  113. package/dist/esm/arcgis-coding-components.js +4 -4
  114. package/dist/esm/arcgis-sql-expression-editor.entry.js +4 -4
  115. package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
  116. package/dist/esm/{css-930b25a7.js → css-d4d8c34f.js} +1 -1
  117. package/dist/esm/{cssMode-c8059805.js → cssMode-28616dad.js} +3 -3
  118. package/dist/esm/{html-aa299729.js → html-95a59c55.js} +3 -3
  119. package/dist/esm/{htmlMode-e383146f.js → htmlMode-b90373e1.js} +3 -3
  120. package/dist/esm/{index-5c929d0c.js → index-d20d28ef.js} +1 -1
  121. package/dist/esm/index.js +4 -4
  122. package/dist/esm/{javascript-1aec637d.js → javascript-c47641c7.js} +4 -4
  123. package/dist/esm/{jsonMode-deabe739.js → jsonMode-5006bcad.js} +3 -3
  124. package/dist/esm/loader.js +4 -4
  125. package/dist/esm/{sql-expr-defaults-e24aed0a.js → sql-expr-defaults-239b0c66.js} +17 -17
  126. package/dist/esm/{sql-expr-mode-b6e67897.js → sql-expr-mode-7ce7ae5c.js} +3 -3
  127. package/dist/esm/{tsMode-e5eb14a5.js → tsMode-b7619b7d.js} +3 -3
  128. package/dist/esm/{typescript-29f4259e.js → typescript-d2a6bc05.js} +3 -3
  129. package/dist/esm/{useT9n-0e6a80f8.js → useT9n-f1cdb123.js} +3 -3
  130. package/dist/loader/cdn.js +1 -1
  131. package/dist/loader/index.cjs.js +1 -1
  132. package/dist/loader/index.es2017.js +1 -1
  133. package/dist/loader/index.js +1 -1
  134. package/package.json +12 -12
@@ -1,14 +1,14 @@
1
1
  [
2
2
  {
3
3
  "id": "date_functions",
4
- "title": "ã_Date functions_______________Ç",
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": "ã_Returns the current date in UTC_________________Ç.",
11
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns the current date in UTC_________________Ç.\n\n```sql\nCURRENT_DATE\n```\n\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": "ã_Returns the current date in UTC_________________Ç.\n\n**ã_Return value_____________Ç**: Datetime"
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": "ã_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ç.",
34
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ç.\n\n```sql\nCURRENT_TIME\n```\n\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": "ã_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ç.\n\n**ã_Return value_____________Ç**: Datetime"
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": "ã_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ç.",
57
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ç.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\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": "ã_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ç.\n\n**ã_Return value_____________Ç**: Datetime"
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": "ã_Returns a single part of a datetime, such as year, month, day, hour, minute, or second_____________________________________________Ç.",
80
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns 12_____________________Ç\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nã_Returns 21_____________________Ç\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nã_Returns 30_____________________Ç\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\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": "ã_Returns a single part of a datetime, such as year, month, day, hour, minute, or second_____________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **part**: ã_The part to extract from the date. Possible values: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`_____________________________________________________Ç.\n- **datetime**: ã_The date to extract a part from_________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "numeric_functions",
102
- "title": "ã_Numeric functions__________________Ç",
101
+ "id": "string_functions",
102
+ "title": "Funções de string",
103
103
  "items": [
104
104
  {
105
105
  "type": "function",
106
- "name": "abs",
107
- "bundle": "numeric",
108
- "description": "ã_Returns the absolute value of the number______________________Ç.",
109
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 2___________________Ç\n\n```sql\nABS(-2)\n```\n\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": "ABS",
112
- "detail": "ABS(number) -> Number",
113
- "insertText": "ABS(${1:number_})$0",
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": "ã_Returns the absolute value of the number______________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number on which to perform the operation_______________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "acos",
130
- "bundle": "numeric",
131
- "description": "ã_Returns the arc cosine of a number___________________Ç.",
132
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 1.26610367___________________Ç\n\n```sql\nACOS(0.3)\n```\n\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": "ACOS",
135
- "detail": "ACOS(number) -> Number",
136
- "insertText": "ACOS(${1:number_})$0",
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": "ã_Returns the arc cosine of a number___________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number between -1 and 1 on which to perform the operation_______________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 1,
147
- "max": 1
146
+ "min": 2,
147
+ "max": -1
148
148
  }
149
149
  },
150
150
  {
151
151
  "type": "function",
152
- "name": "asin",
153
- "bundle": "numeric",
154
- "description": "ã_Returns the arc sine of a number__________________Ç.",
155
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 0.30469265___________________Ç\n\n```sql\nASIN(0.3)\n```\n\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": "ASIN",
158
- "detail": "ASIN(number) -> Number",
159
- "insertText": "ASIN(${1:number_})$0",
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": "ã_Returns the arc sine of a number__________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number between -1 and 1 on which to perform the operation_______________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 1,
170
- "max": 1
169
+ "min": 2,
170
+ "max": 2
171
171
  }
172
172
  },
173
173
  {
174
174
  "type": "function",
175
- "name": "atan",
176
- "bundle": "numeric",
177
- "description": "ã_Returns the arc tangent of a number___________________Ç.",
178
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 0.78539816___________________Ç\n\n```sql\nATAN(1)\n```\n\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": "ATAN",
181
- "detail": "ATAN(number) -> Number",
182
- "insertText": "ATAN(${1:number_})$0",
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": "ã_Returns the arc tangent of a number___________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number on which to perform the operation_______________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 1,
193
- "max": 1
192
+ "min": 0,
193
+ "max": 0
194
194
  }
195
195
  },
196
196
  {
197
197
  "type": "function",
198
- "name": "cast",
199
- "bundle": "numeric",
200
- "description": "ã_Converts a value from one data type to another. The dataType parameter will determine what type the value is converted to. FLOAT converts the value to a double, INTEGER converts the value to an integer, etc_________________________________________________________________________________________________________Ç.",
201
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns 2___________________Ç\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nã_Returns '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",
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": "CAST",
204
- "detail": "CAST(value, dataType) -> Number,Datetime,String",
205
- "insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
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": "ã_Converts a value from one data type to another. The dataType parameter will determine what type the value is converted to. FLOAT converts the value to a double, INTEGER converts the value to an integer, etc_________________________________________________________________________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **value**: ã_The value to convert to another data type______________________Ç.\n- **dataType**: ã_The data type to convert the value to. Possible values: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`_____________________________________________________________________Ç.\n\n**ã_Return value_____________Ç**: Number,Datetime,String"
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": 2,
216
- "max": 2
215
+ "min": 1,
216
+ "max": 1
217
217
  }
218
218
  },
219
219
  {
220
220
  "type": "function",
221
- "name": "ceiling",
222
- "bundle": "numeric",
223
- "description": "ã_Returns the smallest integer greater than or equal to the number__________________________________Ç.",
224
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 235____________Ç\n\n```sql\nCEILING(234.042)\n```\n\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": "CEILING",
227
- "detail": "CEILING(number) -> Number",
228
- "insertText": "CEILING(${1:number_})$0",
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": "ã_Returns the smallest integer greater than or equal to the number__________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_The number to round upward____________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 1,
239
- "max": 1
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": "cos",
245
- "bundle": "numeric",
246
- "description": "ã_Returns the trigonometric cosine of the number, which is assumed to be an angle in radians_______________________________________________Ç.",
247
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns -0.41614684____________________Ç\n\n```sql\nCOS(2)\n```\n\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": "COS",
250
- "detail": "COS(number) -> Number",
251
- "insertText": "COS(${1:number_})$0",
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": "ã_Returns the trigonometric cosine of the number, which is assumed to be an angle in radians_______________________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_An angle in radians on which to perform the operation____________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 1,
262
- "max": 1
309
+ "min": 3,
310
+ "max": 3
263
311
  }
264
312
  },
265
313
  {
266
314
  "type": "function",
267
- "name": "floor",
268
- "bundle": "numeric",
269
- "description": "ã_Returns the largest integer that is less than or equal to the number____________________________________Ç.",
270
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 12_____________________Ç\n\n```sql\nFLOOR(12.9942)\n```\n\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": "FLOOR",
273
- "detail": "FLOOR(number) -> Number",
274
- "insertText": "FLOOR(${1:number_})$0",
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": "ã_Returns the largest integer that is less than or equal to the number____________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_The number to round downward______________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "log",
344
+ "name": "abs",
291
345
  "bundle": "numeric",
292
- "description": "ã_Returns the natural logarithm (base e) of the number____________________________Ç.",
293
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 2.302585_________________Ç\n\n```sql\nLOG(10)\n```\n\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": "LOG",
296
- "detail": "LOG(number) -> Number",
297
- "insertText": "LOG(${1:number_})$0",
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": "ã_Returns the natural logarithm (base e) of the number____________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number greater than 0 on which to perform the operation______________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "log10",
367
+ "name": "acos",
314
368
  "bundle": "numeric",
315
- "description": "ã_Returns the base-10 logarithm of the number_______________________Ç.",
316
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 0.301030_________________Ç\n\n```sql\nLOG10(2)\n```\n\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": "LOG10",
319
- "detail": "LOG10(number) -> Number",
320
- "insertText": "LOG10(${1:number_})$0",
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": "ã_Returns the base-10 logarithm of the number_______________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number on which to perform the operation that is greater than 0__________________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "mod",
390
+ "name": "asin",
337
391
  "bundle": "numeric",
338
- "description": "ã_Returns the remainder after dividing a dividend by a divisor. Both the divindend and divisor must be integers________________________________________________________Ç.",
339
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 2___________________Ç\n\n```sql\nMOD(18, 4)\n```\n\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": "MOD",
342
- "detail": "MOD(x, y) -> Number",
343
- "insertText": "MOD(${1:x_}, ${2:y_})$0",
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": "ã_Returns the remainder after dividing a dividend by a divisor. Both the divindend and divisor must be integers________________________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **x**: ã_The number representing the dividend____________________Ç.\n- **y**: ã_The number representing the divisor___________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 2,
354
- "max": 2
407
+ "min": 1,
408
+ "max": 1
355
409
  }
356
410
  },
357
411
  {
358
412
  "type": "function",
359
- "name": "nullif",
413
+ "name": "atan",
360
414
  "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 0_______________________________________________________________________Ç.",
362
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns `null`_______________Ç\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nã_Returns 32_____________________Ç\n\n```sql\nNULLIF(32, 0)\n```\n\nã_Returns `null` if POP18 is equal to 0, otherwise, returns the value of TOTALPOP / POP18_____________________________________________Ç.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\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": "NULLIF",
365
- "detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
366
- "insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
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": "ã_Returns `NULL` if expression1 is equal to expression2. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 0_______________________________________________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **expression1**: ã_A value on which to perform the operation______________________Ç.\n- **expression2**: ã_A value on which to perform the operation______________________Ç.\n\n**ã_Return value_____________Ç**: Number,String,Datetime"
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": 2,
377
- "max": 2
430
+ "min": 1,
431
+ "max": 1
378
432
  }
379
433
  },
380
434
  {
381
435
  "type": "function",
382
- "name": "power",
436
+ "name": "cast",
383
437
  "bundle": "numeric",
384
- "description": "ã_Returns the value of the number raised to the specified power________________________________Ç.",
385
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 8___________________Ç\n\n```sql\nPOWER(2, 3)\n```\n\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": "POWER",
388
- "detail": "POWER(x, y) -> Number",
389
- "insertText": "POWER(${1:x_}, ${2:y_})$0",
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": "ã_Returns the value of the number raised to the specified power________________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **x**: ã_The number on which to perform the operation________________________Ç.\n- **y**: ã_The exponent indicating the number of times to multiply the number by itself________________________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "round",
459
+ "name": "ceiling",
406
460
  "bundle": "numeric",
407
- "description": "ã_Rounds the number to the specified length______________________Ç.",
408
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns 3.98_____________Ç\n\n```sql\nROUND(3.98024, 2)\n```\n\nã_Returns 200____________Ç\n\n```sql\nROUND(192.1, -2)\n```\n\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": "ROUND",
411
- "detail": "ROUND(number, length) -> Number",
412
- "insertText": "ROUND(${1:number_}, ${2:length_})$0",
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": "ã_Rounds the number to the specified length______________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **number**: ã_The number to round_____________________Ç.\n- **length**: ã_The number of decimal places to round the number to. A positive length rounds the number to the specified decimal place. A negative length will round the number to the left of the decimal point__________________________________________________________________________________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 2,
423
- "max": 2
476
+ "min": 1,
477
+ "max": 1
424
478
  }
425
479
  },
426
480
  {
427
481
  "type": "function",
428
- "name": "sign",
482
+ "name": "cos",
429
483
  "bundle": "numeric",
430
- "description": "ã_Returns the sign of a given number. A negative number will return -1. A positive number will return 1____________________________________________________Ç.",
431
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns -1_____________________Ç\n\n```sql\nSIGN(-132)\n```\n\nã_Returns 0___________________Ç\n\n```sql\nSIGN(0)\n```\n\nã_Returns 1___________________Ç\n\n```sql\nSIGN(42)\n```\n\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": "SIGN",
434
- "detail": "SIGN(number) -> Number",
435
- "insertText": "SIGN(${1:number_})$0",
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": "ã_Returns the sign of a given number. A negative number will return -1. A positive number will return 1____________________________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_A number on which to perform the operation_______________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "sin",
505
+ "name": "floor",
452
506
  "bundle": "numeric",
453
- "description": "ã_Returns the trigonometric sine of the number, which is assumed to be an angle in radians______________________________________________Ç.",
454
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 0.84147098___________________Ç\n\n```sql\nSIN(1)\n```\n\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": "SIN",
457
- "detail": "SIN(number) -> Number",
458
- "insertText": "SIN(${1:number_})$0",
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": "ã_Returns the trigonometric sine of the number, which is assumed to be an angle in radians______________________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_An angle in radians on which to perform the operation____________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "tan",
528
+ "name": "log",
475
529
  "bundle": "numeric",
476
- "description": "ã_Returns the tangent of a number, which is assumed to be an angle in radians_______________________________________Ç.",
477
- "examples": "\n##### ã_Example_______________Ç\n\nã_Returns 2.57215162___________________Ç\n\n```sql\nTAN(1.2)\n```\n\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": "TAN",
480
- "detail": "TAN(number) -> Number",
481
- "insertText": "TAN(${1:number_})$0",
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": "ã_Returns the tangent of a number, which is assumed to be an angle in radians_______________________________________Ç.\n\n**ã_Parameter___________________Ç**\n\n- **number**: ã_An angle in radians on which to perform the operation____________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": "truncate",
551
+ "name": "log10",
498
552
  "bundle": "numeric",
499
- "description": "ã_Returns a truncated number____________________________Ç.",
500
- "examples": "\n##### ã_Examples_________________Ç\n\nã_Returns 91.3_____________Ç\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nã_Returns 124____________Ç\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nã_Returns 1900_____________Ç\n\n```sql\nTRUNCATE(1982.83, -2)\n```\n\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": "TRUNCATE",
503
- "detail": "TRUNCATE(number, decimals) -> Number",
504
- "insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
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": "ã_Returns a truncated number____________________________Ç.\n\n**ã_Parameters_____________________Ç**\n\n- **number**: ã_A number to truncate______________________Ç.\n- **decimals**: ã_A positive value truncates the number to the specified decimal place. A negative value truncates the number to the left of the decimal point________________________________________________________________________Ç.\n\n**ã_Return value_____________Ç**: Number"
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": 2,
515
- "max": 2
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": "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",
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": "CHAR_LENGTH",
532
- "detail": "CHAR_LENGTH(string) -> Number",
533
- "insertText": "CHAR_LENGTH(${1:string_})$0",
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": "ã_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"
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": 1,
544
- "max": 1
591
+ "min": 2,
592
+ "max": 2
545
593
  }
546
594
  },
547
595
  {
548
596
  "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",
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": "COALESCE",
555
- "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
556
- "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
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 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"
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": -1
615
+ "max": 2
568
616
  }
569
617
  },
570
618
  {
571
619
  "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",
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": "CONCAT",
578
- "detail": "CONCAT(string1, string2) -> String",
579
- "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
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": "ã_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"
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": "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",
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": "CURRENT_USER",
601
- "detail": "CURRENT_USER -> String",
602
- "insertText": "CURRENT_USER",
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": "ã_Returns the username of the user currently signed into the portal__________________________________Ç.\n\n**ã_Return value_____________Ç**: String"
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": 0,
613
- "max": 0
660
+ "min": 2,
661
+ "max": 2
614
662
  }
615
663
  },
616
664
  {
617
665
  "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",
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": "LOWER",
624
- "detail": "LOWER(string) -> String",
625
- "insertText": "LOWER(${1:string_})$0",
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": "ã_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"
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": "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",
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": "POSITION",
647
- "detail": "POSITION(substring, string) -> Number",
648
- "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
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": "ã_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"
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": 2,
659
- "max": 2
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": "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",
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": "TRIM",
718
- "detail": "TRIM(side, character, string) -> String",
719
- "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
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": "ã_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"
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": 3,
730
- "max": 3
729
+ "min": 1,
730
+ "max": 1
731
731
  }
732
732
  },
733
733
  {
734
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",
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": "UPPER",
741
- "detail": "UPPER(string) -> String",
742
- "insertText": "UPPER(${1:string_})$0",
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": "ã_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"
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": 1,
753
- "max": 1
752
+ "min": 2,
753
+ "max": 2
754
754
  }
755
755
  }
756
756
  ]