@arcgis/coding-components 4.31.0-next.100 → 4.31.0-next.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/sql-expr.worker.js +28 -28
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ar.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bg.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.bs.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ca.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.cs.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.da.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.de.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.el.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.es.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.et.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fi.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.fr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.he.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.hu.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.id.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.it.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ja.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ko.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lt.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.lv.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nb.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.nl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-BR.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.pt-PT.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ro.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.ru.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sk.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sl.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.sv.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.th.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.tr.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.uk.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.vi.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-CN.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-HK.json +2 -1
- package/dist/arcgis-coding-components/assets/editor-variables/t9n/editor-variables.t9n.zh-TW.json +2 -1
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ar.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bg.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.bs.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ca.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.cs.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.da.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.de.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.el.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.en.json +9 -9
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.es.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.et.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fi.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.fr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.he.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.hu.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.id.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.it.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ja.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ko.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lt.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.lv.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.nl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.no.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-BR.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.pt-PT.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ro.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.ru.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sk.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sl.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.sv.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.th.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.tr.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.uk.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.vi.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-CN.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-HK.json +758 -0
- package/dist/arcgis-coding-components/assets/sql-language/api/sql-api.t9n.zh-TW.json +758 -0
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/p-0099cb0d.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ca5e21ae.js → p-0dce262c.js} +2 -2
- package/dist/arcgis-coding-components/{p-9789b25b.js → p-1858151a.js} +2 -2
- package/dist/arcgis-coding-components/{p-62a81db6.js → p-2de7e7b2.js} +2 -2
- package/dist/arcgis-coding-components/{p-f6c8c48e.js → p-2fa7b354.js} +3 -3
- package/dist/arcgis-coding-components/{p-4574ffe0.js → p-3b31375b.js} +1 -1
- package/dist/arcgis-coding-components/{p-e4107fc7.entry.js → p-6f45223d.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-7e43a86f.js +6 -0
- package/dist/arcgis-coding-components/{p-707dc6c6.js → p-936afb5f.js} +2 -2
- package/dist/arcgis-coding-components/{p-93497829.js → p-9ce8bda4.js} +1 -1
- package/dist/arcgis-coding-components/{p-d499c2c8.js → p-ac165874.js} +2 -2
- package/dist/arcgis-coding-components/{p-71912899.js → p-b2df0560.js} +2 -2
- package/dist/arcgis-coding-components/{p-19787db2.js → p-cdc51488.js} +1 -1
- package/dist/arcgis-coding-components/{p-64ea3c58.entry.js → p-cef69bbe.entry.js} +2 -2
- package/dist/arcgis-coding-components/{p-6d1679d7.js → p-d1dc7e54.js} +2 -2
- package/dist/arcgis-coding-components/p-d515c77f.js +6 -0
- package/dist/arcgis-coding-components/{p-b283dbfb.js → p-eb6d6bcd.js} +10 -10
- package/dist/arcgis-coding-components/{p-362b106d.js → p-edfcf736.js} +2 -2
- package/dist/cjs/{app-globals-4b840643.js → app-globals-fa455e3b.js} +1 -1
- package/dist/cjs/{arcade-defaults-4fb2f0f2.js → arcade-defaults-c65f2946.js} +3 -3
- package/dist/cjs/{arcade-mode-99d1b659.js → arcade-mode-c26e9d6a.js} +3 -3
- package/dist/cjs/arcgis-arcade-editor_6.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/arcgis-sql-expression-editor.cjs.entry.js +7 -7
- package/dist/cjs/arcgis-sql-expression-fields.cjs.entry.js +4 -4
- package/dist/cjs/{css-37282522.js → css-0fd2d99c.js} +1 -1
- package/dist/cjs/{cssMode-3f042660.js → cssMode-b80b147d.js} +3 -3
- package/dist/cjs/{html-bfa7b20b.js → html-da7b375d.js} +3 -3
- package/dist/cjs/{htmlMode-39496270.js → htmlMode-d32befb1.js} +3 -3
- package/dist/cjs/{index-56b575b4.js → index-7784a06f.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-a5972240.js → javascript-a868b6f5.js} +4 -4
- package/dist/cjs/{jsonMode-7dea9123.js → jsonMode-78dca1a7.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-e6038f75.js → sql-expr-defaults-2c542856.js} +38 -28
- package/dist/cjs/{sql-expr-mode-7b4ee768.js → sql-expr-mode-f2d1c231.js} +4 -4
- package/dist/cjs/{tsMode-8b8c14e0.js → tsMode-ffa70775.js} +3 -3
- package/dist/cjs/{typescript-f9e9e491.js → typescript-7bebb368.js} +3 -3
- package/dist/cjs/{useT9n-e6815234.js → useT9n-8cbeec71.js} +7 -5
- package/dist/components/arcade-defaults.js +1 -1
- package/dist/components/arcade-mode.js +1 -1
- package/dist/components/arcade-results.js +2 -2
- package/dist/components/arcade-suggestions.js +2 -2
- package/dist/components/arcgis-arcade-editor.js +2 -2
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/arcgis-editor-variables.js +1 -1
- package/dist/components/arcgis-language-api-panel.js +1 -1
- package/dist/components/arcgis-sql-expression-editor.js +5 -5
- package/dist/components/arcgis-sql-expression-fields.js +2 -2
- package/dist/components/{chunk-IUUKU7EW.js → chunk-UFIZBDFE.js} +2 -2
- package/dist/components/code-editor.js +2 -2
- package/dist/components/editor-variables.js +2 -2
- package/dist/components/fields.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/language-api-panel.js +2 -2
- package/dist/components/markdown.js +1 -1
- package/dist/components/sql-expr-defaults.js +29 -19
- package/dist/components/sql-expr-mode.js +2 -2
- package/dist/components/useT9n.js +5 -3
- package/dist/components/utilities.js +1 -1
- package/dist/esm/{app-globals-b21bcc49.js → app-globals-07f5e1d4.js} +1 -1
- package/dist/esm/{arcade-defaults-3a1b86cd.js → arcade-defaults-d78913f5.js} +3 -3
- package/dist/esm/{arcade-mode-befc845e.js → arcade-mode-879e0ab7.js} +3 -3
- package/dist/esm/arcgis-arcade-editor_6.entry.js +7 -7
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/arcgis-sql-expression-editor.entry.js +7 -7
- package/dist/esm/arcgis-sql-expression-fields.entry.js +4 -4
- package/dist/esm/{css-6c7e70f9.js → css-c6fb1209.js} +1 -1
- package/dist/esm/{cssMode-46bb8d53.js → cssMode-2015e5c2.js} +3 -3
- package/dist/esm/{html-6b81f908.js → html-a247b2ef.js} +3 -3
- package/dist/esm/{htmlMode-b25e0941.js → htmlMode-bbddb780.js} +3 -3
- package/dist/esm/{index-8e6962cc.js → index-03e0d6f3.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-0c525554.js → javascript-10c11c6a.js} +4 -4
- package/dist/esm/{jsonMode-c0e68cc9.js → jsonMode-31194587.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-324e2199.js → sql-expr-defaults-4960af21.js} +38 -28
- package/dist/esm/{sql-expr-mode-a1cf73b7.js → sql-expr-mode-2fb66dd0.js} +4 -4
- package/dist/esm/{tsMode-f795e4e5.js → tsMode-9ca0ac88.js} +3 -3
- package/dist/esm/{typescript-3d4e668d.js → typescript-79944363.js} +3 -3
- package/dist/esm/{useT9n-f4687877.js → useT9n-475945b0.js} +7 -5
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +8 -21
- package/dist/types/components/arcade-results/arcade-results.d.ts +13 -31
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +6 -17
- package/dist/types/components/editor-variables/editor-variables.d.ts +9 -23
- package/dist/types/components/language-api-panel/language-api-panel.d.ts +8 -21
- package/dist/types/components/sql-expression-editor/sql-expression-editor.d.ts +4 -13
- package/dist/types/components/sql-expression-fields/sql-expression-fields.d.ts +4 -13
- package/dist/types/utils/sql-expr-monaco/sql-expression-profile-strategy.d.ts +5 -1
- package/package.json +12 -12
- package/dist/arcgis-coding-components/p-82550582.entry.js +0 -6
- package/dist/arcgis-coding-components/p-c73873d0.js +0 -6
- package/dist/arcgis-coding-components/p-c8915176.js +0 -6
|
@@ -0,0 +1,758 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "date_functions",
|
|
4
|
+
"title": "ä_Date functions_______________Ü",
|
|
5
|
+
"items": [
|
|
6
|
+
{
|
|
7
|
+
"type": "function",
|
|
8
|
+
"name": "current_date",
|
|
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",
|
|
12
|
+
"completion": {
|
|
13
|
+
"label": "CURRENT_DATE",
|
|
14
|
+
"detail": "CURRENT_DATE() -> Datetime",
|
|
15
|
+
"insertText": "CURRENT_DATE($0)",
|
|
16
|
+
"insertTextMode": 2,
|
|
17
|
+
"insertTextFormat": 2,
|
|
18
|
+
"kind": 3,
|
|
19
|
+
"documentation": {
|
|
20
|
+
"kind": "markdown",
|
|
21
|
+
"value": "ä_Returns the current date in UTC_________________Ü.\n\n**ä_Return value_____________Ü**: Datetime"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"parametersInfo": {
|
|
25
|
+
"min": 0,
|
|
26
|
+
"max": 0
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "function",
|
|
31
|
+
"name": "current_time",
|
|
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",
|
|
35
|
+
"completion": {
|
|
36
|
+
"label": "CURRENT_TIME",
|
|
37
|
+
"detail": "CURRENT_TIME() -> Datetime",
|
|
38
|
+
"insertText": "CURRENT_TIME($0)",
|
|
39
|
+
"insertTextMode": 2,
|
|
40
|
+
"insertTextFormat": 2,
|
|
41
|
+
"kind": 3,
|
|
42
|
+
"documentation": {
|
|
43
|
+
"kind": "markdown",
|
|
44
|
+
"value": "ä_Returns the current UTC date and time in hours, minutes, and seconds____________________________________Ü.\n\n**ä_Return value_____________Ü**: Datetime"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"parametersInfo": {
|
|
48
|
+
"min": 0,
|
|
49
|
+
"max": 0
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "function",
|
|
54
|
+
"name": "current_timestamp",
|
|
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",
|
|
58
|
+
"completion": {
|
|
59
|
+
"label": "CURRENT_TIMESTAMP",
|
|
60
|
+
"detail": "CURRENT_TIMESTAMP() -> Datetime",
|
|
61
|
+
"insertText": "CURRENT_TIMESTAMP($0)",
|
|
62
|
+
"insertTextMode": 2,
|
|
63
|
+
"insertTextFormat": 2,
|
|
64
|
+
"kind": 3,
|
|
65
|
+
"documentation": {
|
|
66
|
+
"kind": "markdown",
|
|
67
|
+
"value": "ä_Returns the current UTC date and time in hours, minutes, seconds, and milliseconds___________________________________________Ü.\n\n**ä_Return value_____________Ü**: Datetime"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"parametersInfo": {
|
|
71
|
+
"min": 0,
|
|
72
|
+
"max": 0
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "function",
|
|
77
|
+
"name": "extract",
|
|
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 '12/21/2016')\n```\n\nä_Returns 21_____________________Ü\n\n```sql\nEXTRACT(DAY FROM TIMESTAMP '12/21/2016 12:00')\n```\n\nä_Returns 30_____________________Ü\n\n```sql\nEXTRACT(SECOND FROM TIME '10:50:30')\n```\n\n",
|
|
81
|
+
"completion": {
|
|
82
|
+
"label": "EXTRACT",
|
|
83
|
+
"detail": "EXTRACT(part, datetime) -> Number",
|
|
84
|
+
"insertText": "EXTRACT(${1:part_} FROM ${2:datetime_})$0",
|
|
85
|
+
"insertTextMode": 2,
|
|
86
|
+
"insertTextFormat": 2,
|
|
87
|
+
"kind": 3,
|
|
88
|
+
"documentation": {
|
|
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"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"parametersInfo": {
|
|
94
|
+
"min": 2,
|
|
95
|
+
"max": 2
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "numeric_functions",
|
|
102
|
+
"title": "ä_Numeric functions__________________Ü",
|
|
103
|
+
"items": [
|
|
104
|
+
{
|
|
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",
|
|
110
|
+
"completion": {
|
|
111
|
+
"label": "ABS",
|
|
112
|
+
"detail": "ABS(number) -> Number",
|
|
113
|
+
"insertText": "ABS(${1:number_})$0",
|
|
114
|
+
"insertTextMode": 2,
|
|
115
|
+
"insertTextFormat": 2,
|
|
116
|
+
"kind": 3,
|
|
117
|
+
"documentation": {
|
|
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"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"parametersInfo": {
|
|
123
|
+
"min": 1,
|
|
124
|
+
"max": 1
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
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",
|
|
133
|
+
"completion": {
|
|
134
|
+
"label": "ACOS",
|
|
135
|
+
"detail": "ACOS(number) -> Number",
|
|
136
|
+
"insertText": "ACOS(${1:number_})$0",
|
|
137
|
+
"insertTextMode": 2,
|
|
138
|
+
"insertTextFormat": 2,
|
|
139
|
+
"kind": 3,
|
|
140
|
+
"documentation": {
|
|
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"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"parametersInfo": {
|
|
146
|
+
"min": 1,
|
|
147
|
+
"max": 1
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
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",
|
|
156
|
+
"completion": {
|
|
157
|
+
"label": "ASIN",
|
|
158
|
+
"detail": "ASIN(number) -> Number",
|
|
159
|
+
"insertText": "ASIN(${1:number_})$0",
|
|
160
|
+
"insertTextMode": 2,
|
|
161
|
+
"insertTextFormat": 2,
|
|
162
|
+
"kind": 3,
|
|
163
|
+
"documentation": {
|
|
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"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"parametersInfo": {
|
|
169
|
+
"min": 1,
|
|
170
|
+
"max": 1
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
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",
|
|
179
|
+
"completion": {
|
|
180
|
+
"label": "ATAN",
|
|
181
|
+
"detail": "ATAN(number) -> Number",
|
|
182
|
+
"insertText": "ATAN(${1:number_})$0",
|
|
183
|
+
"insertTextMode": 2,
|
|
184
|
+
"insertTextFormat": 2,
|
|
185
|
+
"kind": 3,
|
|
186
|
+
"documentation": {
|
|
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"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"parametersInfo": {
|
|
192
|
+
"min": 1,
|
|
193
|
+
"max": 1
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
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",
|
|
202
|
+
"completion": {
|
|
203
|
+
"label": "CAST",
|
|
204
|
+
"detail": "CAST(value, dataType) -> Number,Datetime,String",
|
|
205
|
+
"insertText": "CAST(${1:value_} AS ${2:dataType_})$0",
|
|
206
|
+
"insertTextMode": 2,
|
|
207
|
+
"insertTextFormat": 2,
|
|
208
|
+
"kind": 3,
|
|
209
|
+
"documentation": {
|
|
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"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"parametersInfo": {
|
|
215
|
+
"min": 2,
|
|
216
|
+
"max": 2
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
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",
|
|
225
|
+
"completion": {
|
|
226
|
+
"label": "CEILING",
|
|
227
|
+
"detail": "CEILING(number) -> Number",
|
|
228
|
+
"insertText": "CEILING(${1:number_})$0",
|
|
229
|
+
"insertTextMode": 2,
|
|
230
|
+
"insertTextFormat": 2,
|
|
231
|
+
"kind": 3,
|
|
232
|
+
"documentation": {
|
|
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"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"parametersInfo": {
|
|
238
|
+
"min": 1,
|
|
239
|
+
"max": 1
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"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",
|
|
248
|
+
"completion": {
|
|
249
|
+
"label": "COS",
|
|
250
|
+
"detail": "COS(number) -> Number",
|
|
251
|
+
"insertText": "COS(${1:number_})$0",
|
|
252
|
+
"insertTextMode": 2,
|
|
253
|
+
"insertTextFormat": 2,
|
|
254
|
+
"kind": 3,
|
|
255
|
+
"documentation": {
|
|
256
|
+
"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"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"parametersInfo": {
|
|
261
|
+
"min": 1,
|
|
262
|
+
"max": 1
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"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",
|
|
271
|
+
"completion": {
|
|
272
|
+
"label": "FLOOR",
|
|
273
|
+
"detail": "FLOOR(number) -> Number",
|
|
274
|
+
"insertText": "FLOOR(${1:number_})$0",
|
|
275
|
+
"insertTextMode": 2,
|
|
276
|
+
"insertTextFormat": 2,
|
|
277
|
+
"kind": 3,
|
|
278
|
+
"documentation": {
|
|
279
|
+
"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"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"parametersInfo": {
|
|
284
|
+
"min": 1,
|
|
285
|
+
"max": 1
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "function",
|
|
290
|
+
"name": "log",
|
|
291
|
+
"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",
|
|
294
|
+
"completion": {
|
|
295
|
+
"label": "LOG",
|
|
296
|
+
"detail": "LOG(number) -> Number",
|
|
297
|
+
"insertText": "LOG(${1:number_})$0",
|
|
298
|
+
"insertTextMode": 2,
|
|
299
|
+
"insertTextFormat": 2,
|
|
300
|
+
"kind": 3,
|
|
301
|
+
"documentation": {
|
|
302
|
+
"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"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"parametersInfo": {
|
|
307
|
+
"min": 1,
|
|
308
|
+
"max": 1
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "function",
|
|
313
|
+
"name": "log10",
|
|
314
|
+
"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",
|
|
317
|
+
"completion": {
|
|
318
|
+
"label": "LOG10",
|
|
319
|
+
"detail": "LOG10(number) -> Number",
|
|
320
|
+
"insertText": "LOG10(${1:number_})$0",
|
|
321
|
+
"insertTextMode": 2,
|
|
322
|
+
"insertTextFormat": 2,
|
|
323
|
+
"kind": 3,
|
|
324
|
+
"documentation": {
|
|
325
|
+
"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"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"parametersInfo": {
|
|
330
|
+
"min": 1,
|
|
331
|
+
"max": 1
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"type": "function",
|
|
336
|
+
"name": "mod",
|
|
337
|
+
"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",
|
|
340
|
+
"completion": {
|
|
341
|
+
"label": "MOD",
|
|
342
|
+
"detail": "MOD(x, y) -> Number",
|
|
343
|
+
"insertText": "MOD(${1:x_}, ${2:y_})$0",
|
|
344
|
+
"insertTextMode": 2,
|
|
345
|
+
"insertTextFormat": 2,
|
|
346
|
+
"kind": 3,
|
|
347
|
+
"documentation": {
|
|
348
|
+
"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"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"parametersInfo": {
|
|
353
|
+
"min": 2,
|
|
354
|
+
"max": 2
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"type": "function",
|
|
359
|
+
"name": "nullif",
|
|
360
|
+
"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",
|
|
363
|
+
"completion": {
|
|
364
|
+
"label": "NULLIF",
|
|
365
|
+
"detail": "NULLIF(expression1, expression2) -> Number,String,Datetime",
|
|
366
|
+
"insertText": "NULLIF(${1:expression1_}, ${2:expression2_})$0",
|
|
367
|
+
"insertTextMode": 2,
|
|
368
|
+
"insertTextFormat": 2,
|
|
369
|
+
"kind": 3,
|
|
370
|
+
"documentation": {
|
|
371
|
+
"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"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
"parametersInfo": {
|
|
376
|
+
"min": 2,
|
|
377
|
+
"max": 2
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"type": "function",
|
|
382
|
+
"name": "power",
|
|
383
|
+
"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",
|
|
386
|
+
"completion": {
|
|
387
|
+
"label": "POWER",
|
|
388
|
+
"detail": "POWER(x, y) -> Number",
|
|
389
|
+
"insertText": "POWER(${1:x_}, ${2:y_})$0",
|
|
390
|
+
"insertTextMode": 2,
|
|
391
|
+
"insertTextFormat": 2,
|
|
392
|
+
"kind": 3,
|
|
393
|
+
"documentation": {
|
|
394
|
+
"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"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"parametersInfo": {
|
|
399
|
+
"min": 2,
|
|
400
|
+
"max": 2
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"type": "function",
|
|
405
|
+
"name": "round",
|
|
406
|
+
"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",
|
|
409
|
+
"completion": {
|
|
410
|
+
"label": "ROUND",
|
|
411
|
+
"detail": "ROUND(number, length) -> Number",
|
|
412
|
+
"insertText": "ROUND(${1:number_}, ${2:length_})$0",
|
|
413
|
+
"insertTextMode": 2,
|
|
414
|
+
"insertTextFormat": 2,
|
|
415
|
+
"kind": 3,
|
|
416
|
+
"documentation": {
|
|
417
|
+
"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"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"parametersInfo": {
|
|
422
|
+
"min": 2,
|
|
423
|
+
"max": 2
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"type": "function",
|
|
428
|
+
"name": "sign",
|
|
429
|
+
"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",
|
|
432
|
+
"completion": {
|
|
433
|
+
"label": "SIGN",
|
|
434
|
+
"detail": "SIGN(number) -> Number",
|
|
435
|
+
"insertText": "SIGN(${1:number_})$0",
|
|
436
|
+
"insertTextMode": 2,
|
|
437
|
+
"insertTextFormat": 2,
|
|
438
|
+
"kind": 3,
|
|
439
|
+
"documentation": {
|
|
440
|
+
"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"
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
"parametersInfo": {
|
|
445
|
+
"min": 1,
|
|
446
|
+
"max": 1
|
|
447
|
+
}
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"type": "function",
|
|
451
|
+
"name": "sin",
|
|
452
|
+
"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",
|
|
455
|
+
"completion": {
|
|
456
|
+
"label": "SIN",
|
|
457
|
+
"detail": "SIN(number) -> Number",
|
|
458
|
+
"insertText": "SIN(${1:number_})$0",
|
|
459
|
+
"insertTextMode": 2,
|
|
460
|
+
"insertTextFormat": 2,
|
|
461
|
+
"kind": 3,
|
|
462
|
+
"documentation": {
|
|
463
|
+
"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"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"parametersInfo": {
|
|
468
|
+
"min": 1,
|
|
469
|
+
"max": 1
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"type": "function",
|
|
474
|
+
"name": "tan",
|
|
475
|
+
"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",
|
|
478
|
+
"completion": {
|
|
479
|
+
"label": "TAN",
|
|
480
|
+
"detail": "TAN(number) -> Number",
|
|
481
|
+
"insertText": "TAN(${1:number_})$0",
|
|
482
|
+
"insertTextMode": 2,
|
|
483
|
+
"insertTextFormat": 2,
|
|
484
|
+
"kind": 3,
|
|
485
|
+
"documentation": {
|
|
486
|
+
"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"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"parametersInfo": {
|
|
491
|
+
"min": 1,
|
|
492
|
+
"max": 1
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"type": "function",
|
|
497
|
+
"name": "truncate",
|
|
498
|
+
"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",
|
|
501
|
+
"completion": {
|
|
502
|
+
"label": "TRUNCATE",
|
|
503
|
+
"detail": "TRUNCATE(number, decimals) -> Number",
|
|
504
|
+
"insertText": "TRUNCATE(${1:number_}, ${2:decimals_})$0",
|
|
505
|
+
"insertTextMode": 2,
|
|
506
|
+
"insertTextFormat": 2,
|
|
507
|
+
"kind": 3,
|
|
508
|
+
"documentation": {
|
|
509
|
+
"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"
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"parametersInfo": {
|
|
514
|
+
"min": 2,
|
|
515
|
+
"max": 2
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
]
|
|
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($0)",
|
|
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
|
+
}
|
|
758
|
+
]
|