@arcgis/coding-components 4.31.0-next.118 → 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 (147) 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 +84 -94
  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-78c4eba0.js → p-1ed6d5d2.js} +2 -2
  45. package/dist/arcgis-coding-components/{p-6b839fe5.js → p-268ef762.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-a197cb71.entry.js → p-31ab280f.entry.js} +2 -2
  47. package/dist/arcgis-coding-components/{p-0a5b478b.entry.js → p-392424d7.entry.js} +2 -2
  48. package/dist/arcgis-coding-components/{p-50518425.js → p-3d70584f.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-26debb25.js → p-5bd2ea82.js} +2 -2
  50. package/dist/arcgis-coding-components/{p-e0cdc0cd.js → p-661f1809.js} +2 -2
  51. package/dist/arcgis-coding-components/{p-7bd68e46.js → p-6f0aedeb.js} +2 -2
  52. package/dist/arcgis-coding-components/{p-d3ad750c.js → p-701b064f.js} +2 -2
  53. package/dist/arcgis-coding-components/{p-2abc9c38.js → p-8c6acbe3.js} +2 -2
  54. package/dist/arcgis-coding-components/{p-002444a6.js → p-a64345ec.js} +1 -1
  55. package/dist/arcgis-coding-components/{p-89a581be.js → p-ab0c7293.js} +1 -1
  56. package/dist/arcgis-coding-components/{p-1127e8e6.js → p-b2478059.js} +1 -1
  57. package/dist/arcgis-coding-components/{p-a8a9dd68.js → p-c3a77297.js} +2 -2
  58. package/dist/arcgis-coding-components/{p-b5e2d7e4.js → p-d2cb652a.js} +2 -2
  59. package/dist/arcgis-coding-components/{p-6d9a702c.js → p-d8f35b42.js} +2 -2
  60. package/dist/arcgis-coding-components/{p-c48e2b97.js → p-f3067adc.js} +10 -10
  61. package/dist/arcgis-coding-components/{p-facab962.entry.js → p-fefa16f8.entry.js} +2 -2
  62. package/dist/cjs/{app-globals-a6eaeb50.js → app-globals-a5ca2733.js} +1 -1
  63. package/dist/cjs/{arcade-defaults-5ac8b83c.js → arcade-defaults-750df323.js} +3 -3
  64. package/dist/cjs/{arcade-mode-e50b4e81.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-d8ca0762.js → css-5dcbf2f9.js} +1 -1
  70. package/dist/cjs/{cssMode-0dfc36ca.js → cssMode-28dff329.js} +3 -3
  71. package/dist/cjs/{html-49bff616.js → html-7686bcbd.js} +3 -3
  72. package/dist/cjs/{htmlMode-642d7454.js → htmlMode-dc221611.js} +3 -3
  73. package/dist/cjs/{index-0c87f8c3.js → index-6fdabe00.js} +1 -1
  74. package/dist/cjs/index.cjs.js +4 -4
  75. package/dist/cjs/{javascript-a9560b85.js → javascript-6815876d.js} +4 -4
  76. package/dist/cjs/{jsonMode-e49e5dae.js → jsonMode-25d764f8.js} +3 -3
  77. package/dist/cjs/loader.cjs.js +3 -3
  78. package/dist/cjs/{sql-expr-defaults-ba1e1463.js → sql-expr-defaults-c27030fd.js} +17 -17
  79. package/dist/cjs/{sql-expr-mode-11a87d27.js → sql-expr-mode-e3c04515.js} +3 -3
  80. package/dist/cjs/{tsMode-bcadce08.js → tsMode-d397f757.js} +3 -3
  81. package/dist/cjs/{typescript-1ea634d6.js → typescript-e1976545.js} +3 -3
  82. package/dist/cjs/{useT9n-9fed1d2d.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-db9d153e.js → app-globals-248cbe6a.js} +1 -1
  110. package/dist/esm/{arcade-defaults-6f8b26d3.js → arcade-defaults-6ff6dcc1.js} +3 -3
  111. package/dist/esm/{arcade-mode-4e9c533c.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-0a9928e0.js → css-d4d8c34f.js} +1 -1
  117. package/dist/esm/{cssMode-ae70c516.js → cssMode-28616dad.js} +3 -3
  118. package/dist/esm/{html-85896233.js → html-95a59c55.js} +3 -3
  119. package/dist/esm/{htmlMode-e5f2c8a2.js → htmlMode-b90373e1.js} +3 -3
  120. package/dist/esm/{index-4db609d5.js → index-d20d28ef.js} +1 -1
  121. package/dist/esm/index.js +4 -4
  122. package/dist/esm/{javascript-539096af.js → javascript-c47641c7.js} +4 -4
  123. package/dist/esm/{jsonMode-45b2f447.js → jsonMode-5006bcad.js} +3 -3
  124. package/dist/esm/loader.js +4 -4
  125. package/dist/esm/{sql-expr-defaults-a3104aa0.js → sql-expr-defaults-239b0c66.js} +17 -17
  126. package/dist/esm/{sql-expr-mode-7be17e27.js → sql-expr-mode-7ce7ae5c.js} +3 -3
  127. package/dist/esm/{tsMode-6ff21691.js → tsMode-b7619b7d.js} +3 -3
  128. package/dist/esm/{typescript-cc67db82.js → typescript-d2a6bc05.js} +3 -3
  129. package/dist/esm/{useT9n-49f45d26.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/dist/types/data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
  135. package/package.json +14 -13
  136. package/dist/arcgis-coding-components/assets/arcade-language/api/test.json +0 -6861
  137. package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js +0 -18943
  138. package/dist/arcgis-coding-components/assets/code-editor/arcgis-sql-expression.worker.js.map +0 -7
  139. package/dist/types/Users/fred/Projects/arcgis-web-components-work/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
  140. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +0 -0
  141. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +0 -0
  142. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +0 -0
  143. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/internal/sql-expression-editor/sql-expression-editor.stories.d.ts +0 -0
  144. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +0 -0
  145. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -0
  146. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -0
  147. /package/dist/types/{Users/fred/Projects/arcgis-web-components-work → data/arcgis-web-compoments/actions-runner-1/_work/arcgis-web-components/arcgis-web-components}/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -0
@@ -1,14 +1,252 @@
1
1
  [
2
+ {
3
+ "id": "string_functions",
4
+ "title": "Hàm dạng chuỗi.",
5
+ "items": [
6
+ {
7
+ "type": "function",
8
+ "name": "char_length",
9
+ "bundle": "string",
10
+ "description": "Trả về số ký tự trong chuỗi văn bản dưới dạng số nguyên.",
11
+ "examples": "\n##### Ví dụ\n\nTrả về 11\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
12
+ "completion": {
13
+ "label": "CHAR_LENGTH",
14
+ "detail": "CHAR_LENGTH(string) -> Number",
15
+ "insertText": "CHAR_LENGTH(${1:string_})$0",
16
+ "insertTextMode": 2,
17
+ "insertTextFormat": 2,
18
+ "kind": 3,
19
+ "documentation": {
20
+ "kind": "markdown",
21
+ "value": "Trả về số ký tự trong chuỗi văn bản dưới dạng số nguyên.\n\n**Tham số**\n\n- **string**: Chuỗi văn bản để trả về độ dài.\n\n**Giá trị trả về**: Number"
22
+ }
23
+ },
24
+ "parametersInfo": {
25
+ "min": 1,
26
+ "max": 1
27
+ }
28
+ },
29
+ {
30
+ "type": "function",
31
+ "name": "coalesce",
32
+ "bundle": "string",
33
+ "description": "Trả về giá trị đầu tiên trong danh sách không phải là giá trị `NULL`. Tất cả các giá trị đều được đưa vào hàm phải cùng loại có ngoại lệ các giá trị `NULL`.",
34
+ "examples": "\n##### Ví dụ\n\nTrả về 'Green goldfish'\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nTrả về -21\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
35
+ "completion": {
36
+ "label": "COALESCE",
37
+ "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
38
+ "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
39
+ "insertTextMode": 2,
40
+ "insertTextFormat": 2,
41
+ "kind": 3,
42
+ "documentation": {
43
+ "kind": "markdown",
44
+ "value": "Trả về giá trị đầu tiên trong danh sách không phải là giá trị `NULL`. Tất cả các giá trị đều được đưa vào hàm phải cùng loại có ngoại lệ các giá trị `NULL`.\n\n**Thông số**\n\n- **value1**: Đ_The first value in the list_____________________________ớ.\n- **valueN**: Đ_The subsequent value(s) in the list___________________ớ.\n\n**Giá trị trả về**: String,Number,Datetime"
45
+ }
46
+ },
47
+ "parametersInfo": {
48
+ "min": 2,
49
+ "max": -1
50
+ }
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "concat",
55
+ "bundle": "string",
56
+ "description": "Ghép nối hai chuỗi lại với nhau.",
57
+ "examples": "\n##### Ví dụ\n\nTrả về 'Maple syrup'\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
58
+ "completion": {
59
+ "label": "CONCAT",
60
+ "detail": "CONCAT(string1, string2) -> String",
61
+ "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
62
+ "insertTextMode": 2,
63
+ "insertTextFormat": 2,
64
+ "kind": 3,
65
+ "documentation": {
66
+ "kind": "markdown",
67
+ "value": "Ghép nối hai chuỗi lại với nhau.\n\n**Thông số**\n\n- **string1**: Chuỗi văn bản đầu tiên.\n- **string2**: Chuỗi văn bản để ghép vào chuỗi văn bản đầu tiên.\n\n**Giá trị trả về**: String"
68
+ }
69
+ },
70
+ "parametersInfo": {
71
+ "min": 2,
72
+ "max": 2
73
+ }
74
+ },
75
+ {
76
+ "type": "function",
77
+ "name": "current_user",
78
+ "bundle": "string",
79
+ "description": "Trả về tên người dùng của người dùng hiện đang đăng nhập vào cổng thông tin.",
80
+ "examples": "\n##### Ví dụ\n\nTrả về tên người dùng của người dùng hiện đang đăng nhập vào cổng thông tin.\n\n```sql\nCURRENT_USER\n```\n\n",
81
+ "completion": {
82
+ "label": "CURRENT_USER",
83
+ "detail": "CURRENT_USER -> String",
84
+ "insertText": "CURRENT_USER",
85
+ "insertTextMode": 2,
86
+ "insertTextFormat": 2,
87
+ "kind": 3,
88
+ "documentation": {
89
+ "kind": "markdown",
90
+ "value": "Trả về tên người dùng của người dùng hiện đang đăng nhập vào cổng thông tin.\n\n**Giá trị trả về**: String"
91
+ }
92
+ },
93
+ "parametersInfo": {
94
+ "min": 0,
95
+ "max": 0
96
+ }
97
+ },
98
+ {
99
+ "type": "function",
100
+ "name": "lower",
101
+ "bundle": "string",
102
+ "description": "Chuyển đổi tất cả ký tự trong chuỗi văn bản thành chữ thường.",
103
+ "examples": "\n##### Ví dụ\n\nTrả về 'hello world'\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
104
+ "completion": {
105
+ "label": "LOWER",
106
+ "detail": "LOWER(string) -> String",
107
+ "insertText": "LOWER(${1:string_})$0",
108
+ "insertTextMode": 2,
109
+ "insertTextFormat": 2,
110
+ "kind": 3,
111
+ "documentation": {
112
+ "kind": "markdown",
113
+ "value": "Chuyển đổi tất cả ký tự trong chuỗi văn bản thành chữ thường.\n\n**Tham số**\n\n- **string**: Chuỗi văn bản để chuyển thành chữ thường.\n\n**Giá trị trả về**: String"
114
+ }
115
+ },
116
+ "parametersInfo": {
117
+ "min": 1,
118
+ "max": 1
119
+ }
120
+ },
121
+ {
122
+ "type": "function",
123
+ "name": "position",
124
+ "bundle": "string",
125
+ "description": "Trả về lần xuất hiện đầu tiên của chuỗi con trong một chuỗi văn bản khác. Trả về 0 nếu không tìm thấy chuỗi con.",
126
+ "examples": "\n##### Ví dụ\n\nTrả về 6\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nTrả về 9\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
127
+ "completion": {
128
+ "label": "POSITION",
129
+ "detail": "POSITION(substring, string) -> Number",
130
+ "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
131
+ "insertTextMode": 2,
132
+ "insertTextFormat": 2,
133
+ "kind": 3,
134
+ "documentation": {
135
+ "kind": "markdown",
136
+ "value": "Trả về lần xuất hiện đầu tiên của chuỗi con trong một chuỗi văn bản khác. Trả về 0 nếu không tìm thấy chuỗi con.\n\n**Thông số**\n\n- **substring**: Chuỗi văn bản để tìm kiếm.\n- **string**: Chuỗi sẽ được tìm kiếm với chuỗi con.\n\n**Giá trị trả về**: Number"
137
+ }
138
+ },
139
+ "parametersInfo": {
140
+ "min": 2,
141
+ "max": 2
142
+ }
143
+ },
144
+ [
145
+ {
146
+ "type": "function",
147
+ "name": "substring",
148
+ "bundle": "string",
149
+ "description": "Trả về một tập hợp con của các ký tự trong chuỗi văn bản từ một điểm bắt đầu đến độ dài chuỗi quy định.",
150
+ "examples": "\n##### Ví dụ\n\nTrả về 'City'\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
151
+ "completion": {
152
+ "label": "SUBSTRING",
153
+ "detail": "SUBSTRING(string, start, length) -> String",
154
+ "insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
155
+ "insertTextMode": 2,
156
+ "insertTextFormat": 2,
157
+ "kind": 3,
158
+ "documentation": {
159
+ "kind": "markdown",
160
+ "value": "Trả về một tập hợp con của các ký tự trong chuỗi văn bản từ một điểm bắt đầu đến độ dài chuỗi quy định.\n\n**Thông số**\n\n- **string**: Chuỗi văn bản để xuất.\n- **start**: Giá trị nguyên chỉ định điểm ký tự được trả về sẽ bắt đầu.\n- **length**: Số ký tự để trích xuất.\n\n**Giá trị trả về**: String"
161
+ }
162
+ },
163
+ "parametersInfo": {
164
+ "min": 3,
165
+ "max": 3
166
+ }
167
+ },
168
+ {
169
+ "type": "function",
170
+ "name": "substring",
171
+ "bundle": "string",
172
+ "description": "Trả về một tập hợp con của các ký tự trong chuỗi văn bản từ một điểm bắt đầu đến độ dài chuỗi quy định.",
173
+ "examples": "\n##### Ví dụ\n\nTrả về 'City'\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nTrả về 'New York'\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
174
+ "completion": {
175
+ "label": "SUBSTRING",
176
+ "detail": "SUBSTRING(string, start, length) -> String",
177
+ "insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
178
+ "insertTextMode": 2,
179
+ "insertTextFormat": 2,
180
+ "kind": 3,
181
+ "documentation": {
182
+ "kind": "markdown",
183
+ "value": "Trả về một tập hợp con của các ký tự trong chuỗi văn bản từ một điểm bắt đầu đến độ dài chuỗi quy định.\n\n**Thông số**\n\n- **string**: Chuỗi văn bản để xuất.\n- **start**: Giá trị nguyên chỉ định điểm ký tự được trả về sẽ bắt đầu.\n- **length**: Số ký tự để trích xuất.\n\n**Giá trị trả về**: String"
184
+ }
185
+ },
186
+ "parametersInfo": {
187
+ "min": 3,
188
+ "max": 3
189
+ }
190
+ }
191
+ ],
192
+ {
193
+ "type": "function",
194
+ "name": "trim",
195
+ "bundle": "string",
196
+ "description": "Trả về một chuỗi văn bản có tất cả các dấu cách đầu và/hoặc cuối hoặc các ký tự được chỉ định đã bị xóa. LEADING sẽ cắt phần đầu của chuỗi văn bản, TRAILING sẽ cắt phần cuối của chuỗi văn bản, trong BOTH sẽ cắt cả hai phần của chuỗi văn bản.",
197
+ "examples": "\n##### Ví dụ\n\nTrả về 'myFunc'\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nTrả về ' hello world'\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nTrả về 'hello world'\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
198
+ "completion": {
199
+ "label": "TRIM",
200
+ "detail": "TRIM(side, character, string) -> String",
201
+ "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
202
+ "insertTextMode": 2,
203
+ "insertTextFormat": 2,
204
+ "kind": 3,
205
+ "documentation": {
206
+ "kind": "markdown",
207
+ "value": "Trả về một chuỗi văn bản có tất cả các dấu cách đầu và/hoặc cuối hoặc các ký tự được chỉ định đã bị xóa. LEADING sẽ cắt phần đầu của chuỗi văn bản, TRAILING sẽ cắt phần cuối của chuỗi văn bản, trong BOTH sẽ cắt cả hai phần của chuỗi văn bản.\n\n**Thông số**\n\n- **side**: Phần của chuỗi văn bản có (các) dấu cách hoặc (các) ký tự sẽ bị xóa. Giá trị có thể có: `LEADING`, `TRAILING`, `BOTH`.\n- **character**: (Các) ký tự sẽ bị cắt từ chuỗi văn bản.\n- **string**: Chuỗi văn bản cần cắt.\n\n**Giá trị trả về**: String"
208
+ }
209
+ },
210
+ "parametersInfo": {
211
+ "min": 3,
212
+ "max": 3
213
+ }
214
+ },
215
+ {
216
+ "type": "function",
217
+ "name": "upper",
218
+ "bundle": "string",
219
+ "description": "Chuyển đổi tất cả ký tự trong chuỗi văn bản thành chữ in hoa.",
220
+ "examples": "\n##### Ví dụ\n\nTrả về 'QUICK RED FOX'\n\n```sql\nUPPER('quick red fox')\n```\n\n",
221
+ "completion": {
222
+ "label": "UPPER",
223
+ "detail": "UPPER(string) -> String",
224
+ "insertText": "UPPER(${1:string_})$0",
225
+ "insertTextMode": 2,
226
+ "insertTextFormat": 2,
227
+ "kind": 3,
228
+ "documentation": {
229
+ "kind": "markdown",
230
+ "value": "Chuyển đổi tất cả ký tự trong chuỗi văn bản thành chữ in hoa.\n\n**Tham số**\n\n- **string**: Chuỗi để chuyển thành chữ in hoa.\n\n**Giá trị trả về**: String"
231
+ }
232
+ },
233
+ "parametersInfo": {
234
+ "min": 1,
235
+ "max": 1
236
+ }
237
+ }
238
+ ]
239
+ },
2
240
  {
3
241
  "id": "date_functions",
4
- "title": "Đ_Date functions_______________ớ",
242
+ "title": "Hàm ngày tháng",
5
243
  "items": [
6
244
  {
7
245
  "type": "function",
8
246
  "name": "current_date",
9
247
  "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",
248
+ "description": "Trả về ngày hiện tại theo UTC.",
249
+ "examples": "\n##### Ví dụ\n\nTrả về ngày hiện tại theo UTC.\n\n```sql\nCURRENT_DATE\n```\n\n",
12
250
  "completion": {
13
251
  "label": "CURRENT_DATE",
14
252
  "detail": "CURRENT_DATE -> Datetime",
@@ -18,7 +256,7 @@
18
256
  "kind": 3,
19
257
  "documentation": {
20
258
  "kind": "markdown",
21
- "value": "Đ_Returns the current date in UTC_________________ớ.\n\n**Đ_Return value_____________ớ**: Datetime"
259
+ "value": "Trả về ngày hiện tại theo UTC.\n\n**Giá trị trả về**: Datetime"
22
260
  }
23
261
  },
24
262
  "parametersInfo": {
@@ -30,8 +268,8 @@
30
268
  "type": "function",
31
269
  "name": "current_time",
32
270
  "bundle": "date",
33
- "description": "Đ_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",
271
+ "description": "Trả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây.",
272
+ "examples": "\n##### Ví dụ\n\nTrả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây.\n\n```sql\nCURRENT_TIME\n```\n\n",
35
273
  "completion": {
36
274
  "label": "CURRENT_TIME",
37
275
  "detail": "CURRENT_TIME -> Datetime",
@@ -41,7 +279,7 @@
41
279
  "kind": 3,
42
280
  "documentation": {
43
281
  "kind": "markdown",
44
- "value": "Đ_Returns the current UTC date and time in hours, minutes, and seconds____________________________________ớ.\n\n**Đ_Return value_____________ớ**: Datetime"
282
+ "value": "Trả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây.\n\n**Giá trị trả về**: Datetime"
45
283
  }
46
284
  },
47
285
  "parametersInfo": {
@@ -53,8 +291,8 @@
53
291
  "type": "function",
54
292
  "name": "current_timestamp",
55
293
  "bundle": "date",
56
- "description": "Đ_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",
294
+ "description": "Trả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây phần trăm giây.",
295
+ "examples": "\n##### Ví dụ\n\nTrả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây phần trăm giây.\n\n```sql\nCURRENT_TIMESTAMP\n```\n\n",
58
296
  "completion": {
59
297
  "label": "CURRENT_TIMESTAMP",
60
298
  "detail": "CURRENT_TIMESTAMP -> Datetime",
@@ -64,7 +302,7 @@
64
302
  "kind": 3,
65
303
  "documentation": {
66
304
  "kind": "markdown",
67
- "value": "Đ_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________ớ.\n\n**Đ_Return value_____________ớ**: Datetime"
305
+ "value": "Trả về ngày và giờ UTC hiện tại dưới dạng giờ, phút, giây phần trăm giây.\n\n**Giá trị trả về**: Datetime"
68
306
  }
69
307
  },
70
308
  "parametersInfo": {
@@ -76,8 +314,8 @@
76
314
  "type": "function",
77
315
  "name": "extract",
78
316
  "bundle": "date",
79
- "description": "Đ_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",
317
+ "description": "Trả về một phần ngày giờ, như năm, tháng, ngày, giờ, phút hoặc giây.",
318
+ "examples": "\n##### Ví dụ\n\nTrả về 12\n\n```sql\nEXTRACT(MONTH FROM DATE '2016-12-21')\n```\n\nTrả về 21\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '2016-12-21 12:00:00')\n```\n\nTrả về 30\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\n",
81
319
  "completion": {
82
320
  "label": "EXTRACT",
83
321
  "detail": "EXTRACT(part, datetime) -> Number",
@@ -87,7 +325,7 @@
87
325
  "kind": 3,
88
326
  "documentation": {
89
327
  "kind": "markdown",
90
- "value": "Đ_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"
328
+ "value": "Trả về một phần ngày giờ, như năm, tháng, ngày, giờ, phút hoặc giây.\n\n**Thông số**\n\n- **part**: Phần để xuất từ ngày. Giá trị thể có: `YEAR`, `MONTH`, `DAY`, `HOUR`, `MINUTE`, `SECOND`.\n- **datetime**: Ngày để xuất một phần.\n\n**Giá trị trả về**: Number"
91
329
  }
92
330
  },
93
331
  "parametersInfo": {
@@ -99,14 +337,14 @@
99
337
  },
100
338
  {
101
339
  "id": "numeric_functions",
102
- "title": "Đ_Numeric functions__________________ớ",
340
+ "title": "Hàm số học",
103
341
  "items": [
104
342
  {
105
343
  "type": "function",
106
344
  "name": "abs",
107
345
  "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",
346
+ "description": "Trả về giá trị tuyệt đối của một số.",
347
+ "examples": "\n##### Ví dụ\n\nTrả về 2\n\n```sql\nABS(-2)\n```\n\n",
110
348
  "completion": {
111
349
  "label": "ABS",
112
350
  "detail": "ABS(number) -> Number",
@@ -116,7 +354,7 @@
116
354
  "kind": 3,
117
355
  "documentation": {
118
356
  "kind": "markdown",
119
- "value": "Đ_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"
357
+ "value": "Trả về giá trị tuyệt đối của một số.\n\n**Tham số**\n\n- **number**: Một số để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
120
358
  }
121
359
  },
122
360
  "parametersInfo": {
@@ -128,8 +366,8 @@
128
366
  "type": "function",
129
367
  "name": "acos",
130
368
  "bundle": "numeric",
131
- "description": "Đ_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",
369
+ "description": "Trả về cosin hình cung của một số.",
370
+ "examples": "\n##### Ví dụ\n\nTrả về 1,26610367\n\n```sql\nACOS(0.3)\n```\n\n",
133
371
  "completion": {
134
372
  "label": "ACOS",
135
373
  "detail": "ACOS(number) -> Number",
@@ -139,7 +377,7 @@
139
377
  "kind": 3,
140
378
  "documentation": {
141
379
  "kind": "markdown",
142
- "value": "Đ_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"
380
+ "value": "Trả về cosin hình cung của một số.\n\n**Tham số**\n\n- **number**: Một số từ -1 đến 1 để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
143
381
  }
144
382
  },
145
383
  "parametersInfo": {
@@ -151,8 +389,8 @@
151
389
  "type": "function",
152
390
  "name": "asin",
153
391
  "bundle": "numeric",
154
- "description": "Đ_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",
392
+ "description": "Trả về sin hình cung của một số.",
393
+ "examples": "\n##### Ví dụ\n\nTrả về 0,30469265\n\n```sql\nASIN(0.3)\n```\n\n",
156
394
  "completion": {
157
395
  "label": "ASIN",
158
396
  "detail": "ASIN(number) -> Number",
@@ -162,7 +400,7 @@
162
400
  "kind": 3,
163
401
  "documentation": {
164
402
  "kind": "markdown",
165
- "value": "Đ_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"
403
+ "value": "Trả về sin hình cung của một số.\n\n**Tham số**\n\n- **number**: Một số từ -1 đến 1 để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
166
404
  }
167
405
  },
168
406
  "parametersInfo": {
@@ -174,8 +412,8 @@
174
412
  "type": "function",
175
413
  "name": "atan",
176
414
  "bundle": "numeric",
177
- "description": "Đ_Returns the arc tangent of a number___________________ớ.",
178
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 0.78539816___________________ớ\n\n```sql\nATAN(1)\n```\n\n",
415
+ "description": "Trả về tang hình cung của một số.",
416
+ "examples": "\n##### Ví dụ\n\nTrả về 0,78539816\n\n```sql\nATAN(1)\n```\n\n",
179
417
  "completion": {
180
418
  "label": "ATAN",
181
419
  "detail": "ATAN(number) -> Number",
@@ -185,7 +423,7 @@
185
423
  "kind": 3,
186
424
  "documentation": {
187
425
  "kind": "markdown",
188
- "value": "Đ_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"
426
+ "value": "Trả về tang hình cung của một số.\n\n**Tham số**\n\n- **number**: Một số để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
189
427
  }
190
428
  },
191
429
  "parametersInfo": {
@@ -197,8 +435,8 @@
197
435
  "type": "function",
198
436
  "name": "cast",
199
437
  "bundle": "numeric",
200
- "description": "Đ_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",
438
+ "description": "Chuyển đổi giá trị từ một loại dữ liệu thành loại dữ liệu khác. Thông số Loại dữ liệu sẽ xác định giá trị được chuyển đổi thành loại nào. FLOAT chuyển đổi giá trị thành dạng số thực với độ chính xác kép, INTEGER chuyển đổi giá trị thành số nguyên, v.v.",
439
+ "examples": "\n##### Ví dụ\n\nTrả về 2\n\n```sql\nCAST(2.34 AS INTEGER)\n```\n\nTrả về '1:00 CH'\n\n```sql\nCAST('13:00' AS TIME)\n```\n\nĐ_Returns '50'_____________ớ\n\n```sql\nCAST(50 AS VARCHAR(20))\n```\n\n",
202
440
  "completion": {
203
441
  "label": "CAST",
204
442
  "detail": "CAST(value, dataType) -> Number,Datetime,String",
@@ -208,7 +446,7 @@
208
446
  "kind": 3,
209
447
  "documentation": {
210
448
  "kind": "markdown",
211
- "value": "Đ_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"
449
+ "value": "Chuyển đổi giá trị từ một loại dữ liệu thành loại dữ liệu khác. Thông số Loại dữ liệu sẽ xác định giá trị được chuyển đổi thành loại nào. FLOAT chuyển đổi giá trị thành dạng số thực với độ chính xác kép, INTEGER chuyển đổi giá trị thành số nguyên, v.v.\n\n**Thông số**\n\n- **value**: Giá trị sẽ chuyển đổi sang loại dữ liệu khác.\n- **dataType**: Loại dữ liệu để chuyển đổi giá trị thành. Giá trị có thể có: `DATE`, `FLOAT`, `INTEGER`, `REAL`, `SMALLINT`, `TIME`, `TIMESTAMP`, `VARCHAR`.\n\n**Giá trị trả về**: Number,Datetime,String"
212
450
  }
213
451
  },
214
452
  "parametersInfo": {
@@ -220,8 +458,8 @@
220
458
  "type": "function",
221
459
  "name": "ceiling",
222
460
  "bundle": "numeric",
223
- "description": "Đ_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",
461
+ "description": "Trả về số nguyên nhỏ nhất lớn hơn hoặc bằng số.",
462
+ "examples": "\n##### Ví dụ\n\nTrả về 235\n\n```sql\nCEILING(234.042)\n```\n\n",
225
463
  "completion": {
226
464
  "label": "CEILING",
227
465
  "detail": "CEILING(number) -> Number",
@@ -231,7 +469,7 @@
231
469
  "kind": 3,
232
470
  "documentation": {
233
471
  "kind": "markdown",
234
- "value": "Đ_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"
472
+ "value": "Trả về số nguyên nhỏ nhất lớn hơn hoặc bằng số.\n\n**Tham số**\n\n- **number**: Số để làm tròn lên.\n\n**Giá trị trả về**: Number"
235
473
  }
236
474
  },
237
475
  "parametersInfo": {
@@ -243,8 +481,8 @@
243
481
  "type": "function",
244
482
  "name": "cos",
245
483
  "bundle": "numeric",
246
- "description": "Đ_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",
484
+ "description": "Trả về cosin lượng giác của số, được giả định một góc tính theo radian.",
485
+ "examples": "\n##### Ví dụ\n\nTrả về -0,41614684\n\n```sql\nCOS(2)\n```\n\n",
248
486
  "completion": {
249
487
  "label": "COS",
250
488
  "detail": "COS(number) -> Number",
@@ -254,7 +492,7 @@
254
492
  "kind": 3,
255
493
  "documentation": {
256
494
  "kind": "markdown",
257
- "value": "Đ_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"
495
+ "value": "Trả về cosin lượng giác của số, được giả định một góc tính theo radian.\n\n**Tham số**\n\n- **number**: Một góc tính theo radian để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
258
496
  }
259
497
  },
260
498
  "parametersInfo": {
@@ -266,8 +504,8 @@
266
504
  "type": "function",
267
505
  "name": "floor",
268
506
  "bundle": "numeric",
269
- "description": "Đ_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",
507
+ "description": "Trả về số nguyên lớn nhất nhỏ hơn hoặc bằng số.",
508
+ "examples": "\n##### Ví dụ\n\nTrả về 12\n\n```sql\nFLOOR(12.9942)\n```\n\n",
271
509
  "completion": {
272
510
  "label": "FLOOR",
273
511
  "detail": "FLOOR(number) -> Number",
@@ -277,7 +515,7 @@
277
515
  "kind": 3,
278
516
  "documentation": {
279
517
  "kind": "markdown",
280
- "value": "Đ_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"
518
+ "value": "Trả về số nguyên lớn nhất nhỏ hơn hoặc bằng số.\n\n**Tham số**\n\n- **number**: Số để làm tròn xuống.\n\n**Giá trị trả về**: Number"
281
519
  }
282
520
  },
283
521
  "parametersInfo": {
@@ -289,8 +527,8 @@
289
527
  "type": "function",
290
528
  "name": "log",
291
529
  "bundle": "numeric",
292
- "description": "Đ_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",
530
+ "description": "Trả về lôgarít tự nhiên ( số e) của số.",
531
+ "examples": "\n##### Ví dụ\n\nTrả về 2,302585\n\n```sql\nLOG(10)\n```\n\n",
294
532
  "completion": {
295
533
  "label": "LOG",
296
534
  "detail": "LOG(number) -> Number",
@@ -300,7 +538,7 @@
300
538
  "kind": 3,
301
539
  "documentation": {
302
540
  "kind": "markdown",
303
- "value": "Đ_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"
541
+ "value": "Trả về lôgarít tự nhiên ( số e) của số.\n\n**Tham số**\n\n- **number**: Một số lớn hơn 0 để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
304
542
  }
305
543
  },
306
544
  "parametersInfo": {
@@ -312,8 +550,8 @@
312
550
  "type": "function",
313
551
  "name": "log10",
314
552
  "bundle": "numeric",
315
- "description": "Đ_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",
553
+ "description": "Trả về lôgarít số 10 của số.",
554
+ "examples": "\n##### Ví dụ\n\nTrả về 0,301030\n\n```sql\nLOG10(2)\n```\n\n",
317
555
  "completion": {
318
556
  "label": "LOG10",
319
557
  "detail": "LOG10(number) -> Number",
@@ -323,7 +561,7 @@
323
561
  "kind": 3,
324
562
  "documentation": {
325
563
  "kind": "markdown",
326
- "value": "Đ_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"
564
+ "value": "Trả về lôgarít số 10 của số.\n\n**Tham số**\n\n- **number**: Một số để thực hiện phép tính lớn hơn 0.\n\n**Giá trị trả về**: Number"
327
565
  }
328
566
  },
329
567
  "parametersInfo": {
@@ -335,8 +573,8 @@
335
573
  "type": "function",
336
574
  "name": "mod",
337
575
  "bundle": "numeric",
338
- "description": "Đ_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",
576
+ "description": "Trả về kết quả còn lại sau khi chia số bị chia cho số chia. Cả số bị chia số chia phải là số nguyên.",
577
+ "examples": "\n##### Ví dụ\n\nTrả về 2\n\n```sql\nMOD(18, 4)\n```\n\n",
340
578
  "completion": {
341
579
  "label": "MOD",
342
580
  "detail": "MOD(x, y) -> Number",
@@ -346,7 +584,7 @@
346
584
  "kind": 3,
347
585
  "documentation": {
348
586
  "kind": "markdown",
349
- "value": "Đ_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"
587
+ "value": "Trả về kết quả còn lại sau khi chia số bị chia cho số chia. Cả số bị chia số chia phải là số nguyên.\n\n**Thông số**\n\n- **x**: Số thể hiện số bị chia.\n- **y**: Số thể hiện số chia.\n\n**Giá trị trả về**: Number"
350
588
  }
351
589
  },
352
590
  "parametersInfo": {
@@ -358,8 +596,8 @@
358
596
  "type": "function",
359
597
  "name": "nullif",
360
598
  "bundle": "numeric",
361
- "description": "Đ_Returns `NULL` if expression1 is equal to expression2. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 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",
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##### Ví dụ\n\nTrả về giá trị `null`\n\n```sql\nNULLIF('Monday', 'Monday')\n```\n\nTrả về 32\n\n```sql\nNULLIF(32, 0)\n```\n\nTrả về giá trị `null` nếu POP18 bằng 0, nếu không, trả về giá trị của TOTALPOP / POP18.\n\n```sql\nTOTALPOP / NULLIF(POP18, 0)\n```\n\n",
363
601
  "completion": {
364
602
  "label": "NULLIF",
365
603
  "detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
@@ -369,7 +607,7 @@
369
607
  "kind": 3,
370
608
  "documentation": {
371
609
  "kind": "markdown",
372
- "value": "Đ_Returns `NULL` if expression1 is equal to expression2. NULLIF is commonly used to prevent divide-by-zero errors by setting expression2 to 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"
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**Thông số**\n\n- **expression1**: Giá trị để thực hiện phép tính.\n- **expression2**: Giá trị để thực hiện phép tính.\n\n**Giá trị trả về**: Number,String,Datetime"
373
611
  }
374
612
  },
375
613
  "parametersInfo": {
@@ -381,8 +619,8 @@
381
619
  "type": "function",
382
620
  "name": "power",
383
621
  "bundle": "numeric",
384
- "description": "Đ_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",
622
+ "description": "Trả về giá trị của số được tăng lên lũy thừa được chỉ định.",
623
+ "examples": "\n##### Ví dụ\n\nTrả về 8\n\n```sql\nPOWER(2, 3)\n```\n\n",
386
624
  "completion": {
387
625
  "label": "POWER",
388
626
  "detail": "POWER(x, y) -> Number",
@@ -392,7 +630,7 @@
392
630
  "kind": 3,
393
631
  "documentation": {
394
632
  "kind": "markdown",
395
- "value": "Đ_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"
633
+ "value": "Trả về giá trị của số được tăng lên lũy thừa được chỉ định.\n\n**Thông số**\n\n- **x**: Số để thực hiện phép tính.\n- **y**: Số cho biết số lần nhân số với chính nó.\n\n**Giá trị trả về**: Number"
396
634
  }
397
635
  },
398
636
  "parametersInfo": {
@@ -404,8 +642,8 @@
404
642
  "type": "function",
405
643
  "name": "round",
406
644
  "bundle": "numeric",
407
- "description": "Đ_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",
645
+ "description": "Làm tròn số thành độ dài được chỉ định.",
646
+ "examples": "\n##### Ví dụ\n\nTrả về 3,98\n\n```sql\nROUND(3.98024, 2)\n```\n\nTrả về 200\n\n```sql\nROUND(192.1, -2)\n```\n\n",
409
647
  "completion": {
410
648
  "label": "ROUND",
411
649
  "detail": "ROUND(number, length) -> Number",
@@ -415,7 +653,7 @@
415
653
  "kind": 3,
416
654
  "documentation": {
417
655
  "kind": "markdown",
418
- "value": "Đ_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"
656
+ "value": "Làm tròn số thành độ dài được chỉ định.\n\n**Thông số**\n\n- **number**: Số để làm tròn.\n- **length**: Số vị trí thập phân để làm tròn số. Độ dài dương làm tròn số đến vị trí thập phân được chỉ định. Độ dài âm sẽ làm tròn số đến điểm thập phân bên trái.\n\n**Giá trị trả về**: Number"
419
657
  }
420
658
  },
421
659
  "parametersInfo": {
@@ -427,8 +665,8 @@
427
665
  "type": "function",
428
666
  "name": "sign",
429
667
  "bundle": "numeric",
430
- "description": "Đ_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",
668
+ "description": "Trả về dấu của một số đã cho. Số âm sẽ trả về -1. Số dương sẽ trả về 1.",
669
+ "examples": "\n##### Ví dụ\n\nTrả về -1\n\n```sql\nSIGN(-132)\n```\n\nTrả về 0\n\n```sql\nSIGN(0)\n```\n\nTrả về 1\n\n```sql\nSIGN(42)\n```\n\n",
432
670
  "completion": {
433
671
  "label": "SIGN",
434
672
  "detail": "SIGN(number) -> Number",
@@ -438,7 +676,7 @@
438
676
  "kind": 3,
439
677
  "documentation": {
440
678
  "kind": "markdown",
441
- "value": "Đ_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"
679
+ "value": "Trả về dấu của một số đã cho. Số âm sẽ trả về -1. Số dương sẽ trả về 1.\n\n**Tham số**\n\n- **number**: Một số để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
442
680
  }
443
681
  },
444
682
  "parametersInfo": {
@@ -450,8 +688,8 @@
450
688
  "type": "function",
451
689
  "name": "sin",
452
690
  "bundle": "numeric",
453
- "description": "Đ_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",
691
+ "description": "Trả về sin lượng giác của số, được giả định một góc tính theo radian.",
692
+ "examples": "\n##### Ví dụ\n\nTrả về 0,84147098\n\n```sql\nSIN(1)\n```\n\n",
455
693
  "completion": {
456
694
  "label": "SIN",
457
695
  "detail": "SIN(number) -> Number",
@@ -461,7 +699,7 @@
461
699
  "kind": 3,
462
700
  "documentation": {
463
701
  "kind": "markdown",
464
- "value": "Đ_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"
702
+ "value": "Trả về sin lượng giác của số, được giả định một góc tính theo radian.\n\n**Tham số**\n\n- **number**: Một góc tính theo radian để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
465
703
  }
466
704
  },
467
705
  "parametersInfo": {
@@ -473,8 +711,8 @@
473
711
  "type": "function",
474
712
  "name": "tan",
475
713
  "bundle": "numeric",
476
- "description": "Đ_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",
714
+ "description": "Trả về tang của một số, được giả định một góc tính theo radian.",
715
+ "examples": "\n##### Ví dụ\n\nTrả về 2,57215162\n\n```sql\nTAN(1.2)\n```\n\n",
478
716
  "completion": {
479
717
  "label": "TAN",
480
718
  "detail": "TAN(number) -> Number",
@@ -484,7 +722,7 @@
484
722
  "kind": 3,
485
723
  "documentation": {
486
724
  "kind": "markdown",
487
- "value": "Đ_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"
725
+ "value": "Trả về tang của một số, được giả định một góc tính theo radian.\n\n**Tham số**\n\n- **number**: Một góc tính theo radian để thực hiện phép tính.\n\n**Giá trị trả về**: Number"
488
726
  }
489
727
  },
490
728
  "parametersInfo": {
@@ -496,8 +734,8 @@
496
734
  "type": "function",
497
735
  "name": "truncate",
498
736
  "bundle": "numeric",
499
- "description": "Đ_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",
737
+ "description": "Trả về số rút gọn.",
738
+ "examples": "\n##### Ví dụ\n\nTrả về 91,3\n\n```sql\nTRUNCATE(91.367, 1)\n```\n\nTrả về 124\n\n```sql\nTRUNCATE(124.45, 0)\n```\n\nTrả về 1900\n\n```sql\nTRUNCATE(1982.83, -2)\n```\n\n",
501
739
  "completion": {
502
740
  "label": "TRUNCATE",
503
741
  "detail": "TRUNCATE(number, decimals) -> Number",
@@ -507,7 +745,7 @@
507
745
  "kind": 3,
508
746
  "documentation": {
509
747
  "kind": "markdown",
510
- "value": "Đ_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"
748
+ "value": "Trả về số rút gọn.\n\n**Thông số**\n\n- **number**: Một số để rút gọn.\n- **decimals**: Giá trị dương rút gọn số đến vị trí thập phân được chỉ định. Giá trị âm rút gọn đến điểm thập phân bên trái.\n\n**Giá trị trả về**: Number"
511
749
  }
512
750
  },
513
751
  "parametersInfo": {
@@ -516,243 +754,5 @@
516
754
  }
517
755
  }
518
756
  ]
519
- },
520
- {
521
- "id": "string_functions",
522
- "title": "Đ_String functions_________________ớ",
523
- "items": [
524
- {
525
- "type": "function",
526
- "name": "char_length",
527
- "bundle": "string",
528
- "description": "Đ_Returns the number of characters in the text string as an integer__________________________________ớ.",
529
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 11_____________________ớ\n\n```sql\nCHAR_LENGTH('Nova Scotia')\n```\n\n",
530
- "completion": {
531
- "label": "CHAR_LENGTH",
532
- "detail": "CHAR_LENGTH(string) -> Number",
533
- "insertText": "CHAR_LENGTH(${1:string_})$0",
534
- "insertTextMode": 2,
535
- "insertTextFormat": 2,
536
- "kind": 3,
537
- "documentation": {
538
- "kind": "markdown",
539
- "value": "Đ_Returns the number of characters in the text string as an integer__________________________________ớ.\n\n**Đ_Parameter___________________ớ**\n\n- **string**: Đ_The text string to return the length of_____________________ớ.\n\n**Đ_Return value_____________ớ**: Number"
540
- }
541
- },
542
- "parametersInfo": {
543
- "min": 1,
544
- "max": 1
545
- }
546
- },
547
- {
548
- "type": "function",
549
- "name": "coalesce",
550
- "bundle": "string",
551
- "description": "Đ_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________ớ.",
552
- "examples": "\n##### Đ_Examples_________________ớ\n\nĐ_Returns 'Green goldfish'_________________________ớ\n\n```sql\nCOALESCE(null, null, 'Green goldfish', null, 'Purple cow')\n```\n\nĐ_Returns -21____________ớ\n\n```sql\nCOALESCE(null, -21, 33, null)\n```\n\n",
553
- "completion": {
554
- "label": "COALESCE",
555
- "detail": "COALESCE(value1, valueN) -> String,Number,Datetime",
556
- "insertText": "COALESCE(${1:value1_}, ${2:valueN_})$0",
557
- "insertTextMode": 2,
558
- "insertTextFormat": 2,
559
- "kind": 3,
560
- "documentation": {
561
- "kind": "markdown",
562
- "value": "Đ_Returns the first value in the list that is not `NULL`. All values passed into the function must be the same type, with the exception of `NULL` values_____________________________________________________________________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **value1**: Đ_The first value________________ớ\n- **valueN**: Đ_N value_______________ớ\n\n**Đ_Return value_____________ớ**: String,Number,Datetime"
563
- }
564
- },
565
- "parametersInfo": {
566
- "min": 2,
567
- "max": -1
568
- }
569
- },
570
- {
571
- "type": "function",
572
- "name": "concat",
573
- "bundle": "string",
574
- "description": "Đ_Concatenates two strings together__________________ớ.",
575
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 'Maple syrup'______________________ớ\n\n```sql\nCONCAT('Maple ', 'syrup')\n```\n\n",
576
- "completion": {
577
- "label": "CONCAT",
578
- "detail": "CONCAT(string1, string2) -> String",
579
- "insertText": "CONCAT(${1:string1_}, ${2:string2_})$0",
580
- "insertTextMode": 2,
581
- "insertTextFormat": 2,
582
- "kind": 3,
583
- "documentation": {
584
- "kind": "markdown",
585
- "value": "Đ_Concatenates two strings together__________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **string1**: Đ_The first text string_______________________ớ.\n- **string2**: Đ_The text string to concatenate to the first text string_____________________________ớ.\n\n**Đ_Return value_____________ớ**: String"
586
- }
587
- },
588
- "parametersInfo": {
589
- "min": 2,
590
- "max": 2
591
- }
592
- },
593
- {
594
- "type": "function",
595
- "name": "current_user",
596
- "bundle": "string",
597
- "description": "Đ_Returns the username of the user currently signed into the portal__________________________________ớ.",
598
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns the username of the user currently signed into the portal__________________________________ớ.\n\n```sql\nCURRENT_USER\n```\n\n",
599
- "completion": {
600
- "label": "CURRENT_USER",
601
- "detail": "CURRENT_USER -> String",
602
- "insertText": "CURRENT_USER",
603
- "insertTextMode": 2,
604
- "insertTextFormat": 2,
605
- "kind": 3,
606
- "documentation": {
607
- "kind": "markdown",
608
- "value": "Đ_Returns the username of the user currently signed into the portal__________________________________ớ.\n\n**Đ_Return value_____________ớ**: String"
609
- }
610
- },
611
- "parametersInfo": {
612
- "min": 0,
613
- "max": 0
614
- }
615
- },
616
- {
617
- "type": "function",
618
- "name": "lower",
619
- "bundle": "string",
620
- "description": "Đ_Converts all characters in the text string to lowercase_____________________________ớ.",
621
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 'hello world'______________________ớ\n\n```sql\nLOWER('HELLO WORLD')\n```\n\n",
622
- "completion": {
623
- "label": "LOWER",
624
- "detail": "LOWER(string) -> String",
625
- "insertText": "LOWER(${1:string_})$0",
626
- "insertTextMode": 2,
627
- "insertTextFormat": 2,
628
- "kind": 3,
629
- "documentation": {
630
- "kind": "markdown",
631
- "value": "Đ_Converts all characters in the text string to lowercase_____________________________ớ.\n\n**Đ_Parameter___________________ớ**\n\n- **string**: Đ_The text string to convert to lowercase_____________________ớ.\n\n**Đ_Return value_____________ớ**: String"
632
- }
633
- },
634
- "parametersInfo": {
635
- "min": 1,
636
- "max": 1
637
- }
638
- },
639
- {
640
- "type": "function",
641
- "name": "position",
642
- "bundle": "string",
643
- "description": "Đ_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________ớ.",
644
- "examples": "\n##### Đ_Examples_________________ớ\n\nĐ_Returns 6___________________ớ\n\n```sql\nPOSITION('com' IN 'esri.com')\n```\n\nĐ_Returns 9___________________ớ\n\n```sql\nPOSITION('sum' IN 'Lorem ipsum')\n```\n\n",
645
- "completion": {
646
- "label": "POSITION",
647
- "detail": "POSITION(substring, string) -> Number",
648
- "insertText": "POSITION(${1:substring_} IN ${2:string_})$0",
649
- "insertTextMode": 2,
650
- "insertTextFormat": 2,
651
- "kind": 3,
652
- "documentation": {
653
- "kind": "markdown",
654
- "value": "Đ_Returns the first occurrence of a substring in another text string. Returns 0 if the substring is not found_______________________________________________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **substring**: Đ_The text string to search for_______________________________ớ.\n- **string**: Đ_The string that will be searched for the substring___________________________ớ.\n\n**Đ_Return value_____________ớ**: Number"
655
- }
656
- },
657
- "parametersInfo": {
658
- "min": 2,
659
- "max": 2
660
- }
661
- },
662
- [
663
- {
664
- "type": "function",
665
- "name": "substring",
666
- "bundle": "string",
667
- "description": "Đ_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ớ.",
668
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 'City'_______________ớ\n\n```sql\nSUBSTRING('New York City', 10, 4)\n```\n\n",
669
- "completion": {
670
- "label": "SUBSTRING",
671
- "detail": "SUBSTRING(string, start, length) -> String",
672
- "insertText": "SUBSTRING(${1:string_}, ${2:start_}, ${3:length_})$0",
673
- "insertTextMode": 2,
674
- "insertTextFormat": 2,
675
- "kind": 3,
676
- "documentation": {
677
- "kind": "markdown",
678
- "value": "Đ_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **string**: Đ_The text string to extract from_________________ớ.\n- **start**: Đ_The integer value that specifies where the returned characters will start______________________________________ớ.\n- **length**: Đ_The number of characters to extract___________________ớ.\n\n**Đ_Return value_____________ớ**: String"
679
- }
680
- },
681
- "parametersInfo": {
682
- "min": 3,
683
- "max": 3
684
- }
685
- },
686
- {
687
- "type": "function",
688
- "name": "substring",
689
- "bundle": "string",
690
- "description": "Đ_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ớ.",
691
- "examples": "\n##### Đ_Examples_________________ớ\n\nĐ_Returns 'City'_______________ớ\n\n```sql\nSUBSTRING('New York City' FROM 10 FOR 4)\n```\n\nĐ_Returns 'New York'___________________ớ\n\n```sql\nSUBSTRING('New York City' FROM 1 FOR 8)\n```\n\n",
692
- "completion": {
693
- "label": "SUBSTRING",
694
- "detail": "SUBSTRING(string, start, length) -> String",
695
- "insertText": "SUBSTRING(${1:string_} FROM ${2:start_} FOR ${3:length_})$0",
696
- "insertTextMode": 2,
697
- "insertTextFormat": 2,
698
- "kind": 3,
699
- "documentation": {
700
- "kind": "markdown",
701
- "value": "Đ_Returns a subset of characters in a text string from a starting point to the specified string length____________________________________________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **string**: Đ_The text string to extract from_________________ớ.\n- **start**: Đ_The integer value that specifies where the returned characters will start______________________________________ớ.\n- **length**: Đ_The number of characters to extract___________________ớ.\n\n**Đ_Return value_____________ớ**: String"
702
- }
703
- },
704
- "parametersInfo": {
705
- "min": 3,
706
- "max": 3
707
- }
708
- }
709
- ],
710
- {
711
- "type": "function",
712
- "name": "trim",
713
- "bundle": "string",
714
- "description": "Đ_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________ớ.",
715
- "examples": "\n##### Đ_Examples_________________ớ\n\nĐ_Returns 'myFunc'_________________ớ\n\n```sql\nTRIM(LEADING 't' FROM 'tMyFunc')\n```\n\nĐ_Returns ' hello world'________________________ớ\n\n```sql\nTRIM(TRAILING ' ' FROM ' hello world ')\n```\n\nĐ_Returns 'hello world'______________________ớ\n\n```sql\nTRIM(BOTH ' ' FROM ' hello world ')\n```\n\n",
716
- "completion": {
717
- "label": "TRIM",
718
- "detail": "TRIM(side, character, string) -> String",
719
- "insertText": "TRIM(${1:side_} ${2:character_} FROM ${3:string_})$0",
720
- "insertTextMode": 2,
721
- "insertTextFormat": 2,
722
- "kind": 3,
723
- "documentation": {
724
- "kind": "markdown",
725
- "value": "Đ_Returns a text string where all of the leading and/or trailing spaces or other specified characters have been removed. LEADING will trim the leading side of the text string, TRAILING will trim the trailing side of the text string, while BOTH will trim both sides of the text string______________________________________________________________________________________________________________________________________________ớ.\n\n**Đ_Parameters_____________________ớ**\n\n- **side**: Đ_The side of the text string where the space(s) or character(s) will be removed. Possible values: `LEADING`, `TRAILING`, `BOTH`_________________________________________________________________ớ.\n- **character**: Đ_The character(s) that will be trimmed from the text string_______________________________ớ.\n- **string**: Đ_The text string to trim_________________________ớ.\n\n**Đ_Return value_____________ớ**: String"
726
- }
727
- },
728
- "parametersInfo": {
729
- "min": 3,
730
- "max": 3
731
- }
732
- },
733
- {
734
- "type": "function",
735
- "name": "upper",
736
- "bundle": "string",
737
- "description": "Đ_Converts all characters in the text string to uppercase_____________________________ớ.",
738
- "examples": "\n##### Đ_Example_______________ớ\n\nĐ_Returns 'QUICK RED FOX'________________________ớ\n\n```sql\nUPPER('quick red fox')\n```\n\n",
739
- "completion": {
740
- "label": "UPPER",
741
- "detail": "UPPER(string) -> String",
742
- "insertText": "UPPER(${1:string_})$0",
743
- "insertTextMode": 2,
744
- "insertTextFormat": 2,
745
- "kind": 3,
746
- "documentation": {
747
- "kind": "markdown",
748
- "value": "Đ_Converts all characters in the text string to uppercase_____________________________ớ.\n\n**Đ_Parameter___________________ớ**\n\n- **string**: Đ_The string to convert to uppercase___________________ớ.\n\n**Đ_Return value_____________ớ**: String"
749
- }
750
- },
751
- "parametersInfo": {
752
- "min": 1,
753
- "max": 1
754
- }
755
- }
756
- ]
757
757
  }
758
758
  ]