@arcgis/coding-components 4.31.0-next.100 → 4.31.0-next.102
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 +43 -43
- 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-4574ffe0.js → p-0b4a3d93.js} +1 -1
- package/dist/arcgis-coding-components/{p-ca5e21ae.js → p-0f860676.js} +2 -2
- package/dist/arcgis-coding-components/{p-71912899.js → p-14fecc44.js} +2 -2
- package/dist/arcgis-coding-components/{p-d499c2c8.js → p-2c8819af.js} +2 -2
- package/dist/arcgis-coding-components/{p-e4107fc7.entry.js → p-3a38d641.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-3fbc499d.js +6 -0
- package/dist/arcgis-coding-components/{p-93497829.js → p-459a61f0.js} +1 -1
- package/dist/arcgis-coding-components/{p-19787db2.js → p-52b0fec1.js} +1 -1
- package/dist/arcgis-coding-components/{p-b283dbfb.js → p-704de8fa.js} +10 -10
- package/dist/arcgis-coding-components/{p-62a81db6.js → p-8f830be1.js} +2 -2
- package/dist/arcgis-coding-components/{p-6d1679d7.js → p-ccd5eb52.js} +2 -2
- package/dist/arcgis-coding-components/{p-9789b25b.js → p-d61577c7.js} +2 -2
- package/dist/arcgis-coding-components/{p-362b106d.js → p-d7dd2b37.js} +2 -2
- package/dist/arcgis-coding-components/{p-f6c8c48e.js → p-de54bfc2.js} +2 -2
- package/dist/arcgis-coding-components/p-e3b2cf5b.js +6 -0
- package/dist/arcgis-coding-components/{p-64ea3c58.entry.js → p-ea5abd39.entry.js} +2 -2
- package/dist/arcgis-coding-components/p-eb039bea.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-707dc6c6.js → p-fa876e36.js} +2 -2
- package/dist/cjs/{app-globals-4b840643.js → app-globals-55095c6a.js} +1 -1
- package/dist/cjs/{arcade-defaults-4fb2f0f2.js → arcade-defaults-2c6f766a.js} +3 -3
- package/dist/cjs/{arcade-mode-99d1b659.js → arcade-mode-4d6b8bda.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-f1386977.js} +1 -1
- package/dist/cjs/{cssMode-3f042660.js → cssMode-0a5ef0fc.js} +3 -3
- package/dist/cjs/{html-bfa7b20b.js → html-d21c0b00.js} +3 -3
- package/dist/cjs/{htmlMode-39496270.js → htmlMode-e093b0a9.js} +3 -3
- package/dist/cjs/{index-56b575b4.js → index-d7fa9630.js} +1 -1
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-a5972240.js → javascript-96e4cffa.js} +4 -4
- package/dist/cjs/{jsonMode-7dea9123.js → jsonMode-b8656a5e.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{sql-expr-defaults-e6038f75.js → sql-expr-defaults-9bb7603c.js} +38 -28
- package/dist/cjs/{sql-expr-mode-7b4ee768.js → sql-expr-mode-d5ecd8bf.js} +4 -4
- package/dist/cjs/{tsMode-8b8c14e0.js → tsMode-31cce9e6.js} +3 -3
- package/dist/cjs/{typescript-f9e9e491.js → typescript-9512b5d7.js} +3 -3
- package/dist/cjs/{useT9n-e6815234.js → useT9n-9d849272.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-f2db8846.js} +1 -1
- package/dist/esm/{arcade-defaults-3a1b86cd.js → arcade-defaults-ad16029b.js} +3 -3
- package/dist/esm/{arcade-mode-befc845e.js → arcade-mode-ee565899.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-2ac762b6.js} +1 -1
- package/dist/esm/{cssMode-46bb8d53.js → cssMode-fb3c0381.js} +3 -3
- package/dist/esm/{html-6b81f908.js → html-ce189ce8.js} +3 -3
- package/dist/esm/{htmlMode-b25e0941.js → htmlMode-ff335087.js} +3 -3
- package/dist/esm/{index-8e6962cc.js → index-4288430c.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-0c525554.js → javascript-e591957e.js} +4 -4
- package/dist/esm/{jsonMode-c0e68cc9.js → jsonMode-c10b935e.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{sql-expr-defaults-324e2199.js → sql-expr-defaults-6e07ccb7.js} +38 -28
- package/dist/esm/{sql-expr-mode-a1cf73b7.js → sql-expr-mode-91fdee9f.js} +4 -4
- package/dist/esm/{tsMode-f795e4e5.js → tsMode-c9d85e22.js} +3 -3
- package/dist/esm/{typescript-3d4e668d.js → typescript-f6d7f3c1.js} +3 -3
- package/dist/esm/{useT9n-f4687877.js → useT9n-dcbc9770.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
|
+
]
|