@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": "Datos funkcijos",
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": "Pateikiama dabartinė data UTC laiku.",
11
+ "examples": "\n##### Pavyzdys\n\nPateikiama dabartinė data UTC laiku.\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": "Pateikiama dabartinė data UTC laiku.\n\n**Pateikiama reikšmė**: 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": "Pateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.",
34
+ "examples": "\n##### Pavyzdys\n\nPateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.\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": "Pateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.\n\n**Pateikiama reikšmė**: 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": "Pateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.",
57
+ "examples": "\n##### Pavyzdys\n\nPateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.\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": "Pateikiama dabartinė UTC data ir laikas valandomis, minutėmis ir sekundėmis.\n\n**Pateikiama reikšmė**: 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": "Pateikiama viena datos / laiko dalis, pvz., metai, mėnuo, diena, valanda, minutė ar sekundė.",
80
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nPateikiama 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nPateikiama 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": "Pateikiama viena datos / laiko dalis, pvz., metai, mėnuo, diena, valanda, minutė ar sekundė.\n\n**Parametrai**\n\n- **part**: Data, kuri bus gaunama datos. Galimos reikšmės: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: Data, kurios bus gaunama dalis.\n\n**Pateikiama reikšmė**: 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": "Eilučių funkcijos",
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": "Pateikiamas teksto eilutės simbolių skaičius kaip sveikasis skaičius.",
109
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas teksto eilutės simbolių skaičius kaip sveikasis skaičius.\n\n**Parametras**\n\n- **string**: Teksto eilutė, kurios ilgis turi būti pateiktas.\n\n**Pateikiama reikšmė**: 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": "Pateikiama pirma sąrašo reikšmė, kuri nėra `NULL`. Visos funkcijai perduodamos reikšmės turi būti to paties tipo, išskyrus reikšmes `NULL`.",
132
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 'Green goldfish'\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nPateikiama -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": "Pateikiama pirma sąrašo reikšmė, kuri nėra `NULL`. Visos funkcijai perduodamos reikšmės turi būti to paties tipo, išskyrus reikšmes `NULL`.\n\n**Parametrai**\n\n- **value1**: Į_The first value in the list_____________________________š.\n- **valueN**: Į_The subsequent value(s) in the list___________________š.\n\n**Pateikiama reikšmė**: 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": "Sujungiamos dvi eilutės.",
155
+ "examples": "\n##### Pavyzdys\n\nPateikiama '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": "Sujungiamos dvi eilutės.\n\n**Parametrai**\n\n- **string1**: Pirmoji teksto eilutė.\n- **string2**: Teksto eilutė, kuri turi būti sutrumpinta iki pirmos teksto eilutės.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas šiuo metu prie portalo prisijungusio naudotojo vardas.",
178
+ "examples": "\n##### Pavyzdys\n\nPateikiamas šiuo metu prie portalo prisijungusio naudotojo vardas.\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": "Pateikiamas šiuo metu prie portalo prisijungusio naudotojo vardas.\n\n**Pateikiama reikšmė**: 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": "Visi simboliai teksto eilutėje konvertuojami į mažąsias raides.",
201
+ "examples": "\n##### Pavyzdys\n\nPateikiama '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": "Visi simboliai teksto eilutėje konvertuojami į mažąsias raides.\n\n**Parametras**\n\n- **string**: Teksto eilutė, kurią reikia konvertuoti į mažąsias raides.\n\n**Pateikiama reikšmė**: 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": "Pateikiama pirmas antrinės eilutės atvejis kitoje teksto eilutėje. Pateikiama 0, jei antrinė eilutė nerandama.",
224
+ "examples": "\n##### Pavyzdžiai\n\nPateikia 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nPateikiama 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": "Pateikiama pirmas antrinės eilutės atvejis kitoje teksto eilutėje. Pateikiama 0, jei antrinė eilutė nerandama.\n\n**Parametrai**\n\n- **substring**: Teksto eilutė, kurios reikia ieškoti.\n- **string**: Eilutė, kurios bus ieškoma antrinei eilutei.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas simbolių poaibis teksto eilutėje nuo pradinio taško iki nurodyto eilutės ilgio.",
248
+ "examples": "\n##### Pavyzdys\n\nPateikiama '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": "Pateikiamas simbolių poaibis teksto eilutėje nuo pradinio taško iki nurodyto eilutės ilgio.\n\n**Parametrai**\n\n- **string**: Teksto eilutė, iš kurios reikia išgauti.\n- **start**: Sveikoji reikšmė, nurodanti, kur prasideda pateikiami simboliai.\n- **length**: Išgautinų simbolių skaičius.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas simbolių poaibis teksto eilutėje nuo pradinio taško iki nurodyto eilutės ilgio.",
271
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 'City'\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nPateikiama '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": "Pateikiamas simbolių poaibis teksto eilutėje nuo pradinio taško iki nurodyto eilutės ilgio.\n\n**Parametrai**\n\n- **string**: Teksto eilutė, iš kurios reikia išgauti.\n- **start**: Sveikoji reikšmė, nurodanti, kur prasideda pateikiami simboliai.\n- **length**: Išgautinų simbolių skaičius.\n\n**Pateikiama reikšmė**: 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": "Pateikiama teksto eilutė, kurios buvo pašalinti visi pradžios ir (arba) pabaigos tarpai arba kiti nurodyti simboliai. Naudojant LEADING bus apkirpta pradinė teksto eilutės pusė, naudojant TRAILING bus apkirpta galinė teksto eilutės pusė, o naudojant BOTH bus apkirpos abi teksto eilutės pusės.",
295
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 'myFunc'\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nPateikiama 'hello world'\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nPateikiama '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": "Pateikiama teksto eilutė, kurios buvo pašalinti visi pradžios ir (arba) pabaigos tarpai arba kiti nurodyti simboliai. Naudojant LEADING bus apkirpta pradinė teksto eilutės pusė, naudojant TRAILING bus apkirpta galinė teksto eilutės pusė, o naudojant BOTH bus apkirpos abi teksto eilutės pusės.\n\n**Parametrai**\n\n- **side**: Teksto eilutės pusė, kurioje bus pašalintas (-i) tarpas (-ai) arba simbolis (-iai). Galimos reikšmės: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: Simbolis (-iai), kurie bus nukirpti nuo teksto eilutės.\n- **string**: Teksto eilutė, kurią reikia apkarpyti.\n\n**Pateikiama reikšmė**: 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": "Visi simboliai teksto eilutėje konvertuojami į didžiąsias raides.",
318
+ "examples": "\n##### Pavyzdys\n\nPateikiama '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": "Visi simboliai teksto eilutėje konvertuojami į didžiąsias raides.\n\n**Parametras**\n\n- **string**: Eilutė, kurią reikia konvertuoti į didžiąsias raides.\n\n**Pateikiama reikšmė**: 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": "Skaitinės funkcijos",
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": "Pateikiami absoliuti skaičiaus reikšmė.",
347
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiami absoliuti skaičiaus reikšmė.\n\n**Parametras**\n\n- **number**: Skaičius, kuriam esant vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas skaičiaus arkkosinusas.",
370
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas skaičiaus arkkosinusas.\n\n**Parametras**\n\n- **number**: Skaičius nuo –1 iki 1, kuriam atliekama operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas skaičiaus arksinusas.",
393
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas skaičiaus arksinusas.\n\n**Parametras**\n\n- **number**: Skaičius nuo –1 iki 1, kuriam atliekama operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas skaičiaus arktangentas.",
416
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas skaičiaus arktangentas.\n\n**Parametras**\n\n- **number**: Skaičius, kuriam esant vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Konvertuojama reikšmė vieno duomenų tipo į kitą. Parametras dataType lems, į kokį tipą konvertuojama reikšmė. FLOAT konvertuoja reikšmę į dvigubo tikslumo skaičių, INTEGER konvertuoja reikšmę į sveikąjį skaičių ir pan.",
439
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nPateikiama '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": "Konvertuojama reikšmė vieno duomenų tipo į kitą. Parametras dataType lems, į kokį tipą konvertuojama reikšmė. FLOAT konvertuoja reikšmę į dvigubo tikslumo skaičių, INTEGER konvertuoja reikšmę į sveikąjį skaičių ir pan.\n\n**Parametrai**\n\n- **value**: Reikšmė, konvertuojama į kitą duomenų tipą.\n- **dataType**: Duomenų tipas, į kurį konvertuojama reikšmė. Galimos reikšmės: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas mažiausias sveikasis skaičius, lygus skaičiui arba didesnis nei skaičius.",
462
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas mažiausias sveikasis skaičius, lygus skaičiui arba didesnis nei skaičius.\n\n**Parametras**\n\n- **number**: Skaičius suapvalintas į didesniąją pusę.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas trigonometrinis skaičiaus kosinusas, kuris laikomas kampu, išreikštu radianais.",
485
+ "examples": "\n##### Pavyzdys\n\nPateikiama -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": "Pateikiamas trigonometrinis skaičiaus kosinusas, kuris laikomas kampu, išreikštu radianais.\n\n**Parametras**\n\n- **number**: Kampas radianais, su kuriuo atliekama operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas didžiausias sveikasis skaičius, lygus skaičiui arba mažesnis nei skaičius.",
508
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas didžiausias sveikasis skaičius, lygus skaičiui arba mažesnis nei skaičius.\n\n**Parametras**\n\n- **number**: Skaičius, suapvalintas į mažesniąją pusę.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas natūralus skaičiaus logaritmas (e pagrindas).",
531
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas natūralus skaičiaus logaritmas (e pagrindas).\n\n**Parametras**\n\n- **number**: Didesnis nei 0 skaičius, su kuriuo vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas skaičiaus dešimtainis logaritmas.",
554
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas skaičiaus dešimtainis logaritmas.\n\n**Parametras**\n\n- **number**: Didesnis nei 0 skaičius, su kuriuo vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas likutis, gaunamas padalijus dalinį daliklio. dalinys, ir daliklis turi būti sveikieji skaičiai.",
577
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas likutis, gaunamas padalijus dalinį daliklio. dalinys, ir daliklis turi būti sveikieji skaičiai.\n\n**Parametrai**\n\n- **x**: Skaičius, išreiškiantis dalinį.\n- **y**: Skaičius, išreiškiantis daliklį.\n\n**Pateikiama reikšmė**: 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##### Pavyzdžiai\n\nPateikiama `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nPateikiama 32\n\n```sql\nNULLIF(32, 0)\n```\n\nPateikiama `null`, jei POP18 lygu 0; kitu atveju pateikiama TOTALPOP / POP18 reikšmė.\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**Parametrai**\n\n- **expression1**: Reikšmė, su kuriai vykdoma operacija.\n- **expression2**: Reikšmė, su kuriai vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiama skaičiaus, pakelto nurodytu laipsniu, reikšmė.",
623
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiama skaičiaus, pakelto nurodytu laipsniu, reikšmė.\n\n**Parametrai**\n\n- **x**: Skaičius, su kuriuo atliekama operacija.\n- **y**: Laipsnio rodiklis, nurodantis, kiek kartų skaičių reikia dauginti savęs.\n\n**Pateikiama reikšmė**: 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": "Skaičius suapvalinamas iki nurodyto ilgio.",
646
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 3.98\n\n```sql\nROUND(3.98024, 2)\n```\n\nPateikiama 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": "Skaičius suapvalinamas iki nurodyto ilgio.\n\n**Parametrai**\n\n- **number**: Skaičius, kurį reikia apvalinti.\n- **length**: Iki kiek skaičių po kablelio reikia suapvalinti skaičių. Teigiamasis ilgis suapvalina skaičių iki nurodytos dešimtainės dalies. Neigiamasis ilgis suapvalina skaičių į kairę nuo trupmenos kablelio.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas tam tikro skaičiaus ženklas. Esant neigiamam skaičiui, pateikiama -1. Esant teigiamam skaičiui, pateikiama 1.",
669
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama -1\n\n```sql\nSIGN(-132)\n```\n\nPateikiama 0\n\n```sql\nSIGN(0)\n```\n\nPateikiama 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": "Pateikiamas tam tikro skaičiaus ženklas. Esant neigiamam skaičiui, pateikiama -1. Esant teigiamam skaičiui, pateikiama 1.\n\n**Parametras**\n\n- **number**: Skaičius, kuriam esant vykdoma operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas trigonometrinis skaičiaus sinusas, kuris laikomas kampu, išreikštu radianais.",
692
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas trigonometrinis skaičiaus sinusas, kuris laikomas kampu, išreikštu radianais.\n\n**Parametras**\n\n- **number**: Kampas radianais, su kuriuo atliekama operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas skaičiaus tangentas, kuris laikomas kampu, išreikštu radianais.",
715
+ "examples": "\n##### Pavyzdys\n\nPateikiama 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": "Pateikiamas skaičiaus tangentas, kuris laikomas kampu, išreikštu radianais.\n\n**Parametras**\n\n- **number**: Kampas radianais, su kuriuo atliekama operacija.\n\n**Pateikiama reikšmė**: 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": "Pateikiamas sutrumpintas skaičius.",
738
+ "examples": "\n##### Pavyzdžiai\n\nPateikiama 91.3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nPateikiama 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nPateikiama 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": "Pateikiamas sutrumpintas skaičius.\n\n**Parametrai**\n\n- **number**: Skaičius, kurį reikia sutrumpinti.\n- **decimals**: Teigiamoji reikšmė sutrumpina skaičių iki nurodytos dešimtainės dalies. Neigiamoji reikšmė sutrumpina skaičių į kairę nuo trupmenos kablelio.\n\n**Pateikiama reikšmė**: 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
  ]