dolphindb 2.0.978 → 2.0.1000

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/README.md CHANGED
@@ -76,6 +76,10 @@ let ddbsecure = new DDB('wss://dolphindb.com', {
76
76
  // set python session flag, default `false`
77
77
  python: false,
78
78
 
79
+ // set sql standrd flag, use the SqlStandard enum to pass arguments, default `DolphinDB`
80
+ // sql: SqlStandard.MySQL,
81
+ // sql: SqlStandard.Oracle,
82
+
79
83
  // After setting this option, the database connection is only used for streaming data. For details, see `5. Streaming Data`
80
84
  streaming: undefined
81
85
  })
package/README.zh.md CHANGED
@@ -73,6 +73,10 @@ let ddb = new DDB('ws://127.0.0.1:8848', {
73
73
  // 设置 python session flag,默认 `false`
74
74
  python: false,
75
75
 
76
+ // 设置当前会话执行的 sql 标准, 请使用 SqlStandard 枚举进行传参,默认 `DolphinDB`
77
+ // sql: SqlStandard.MySQL,
78
+ // sql: SqlStandard.Oracle,
79
+
76
80
  // 设置该选项后,该数据库连接只用于流数据,详细用法见后文 `5. 流数据`
77
81
  streaming: undefined
78
82
  })
package/docs.zh.json CHANGED
@@ -62875,7 +62875,7 @@
62875
62875
  {
62876
62876
  "type": "text",
62877
62877
  "value": [
62878
- "返回相应的纳秒时间戳。返回值类型是NANOTIMESTAMP,时间类型变量。如果参数 *X* 中没有日期,则返回值是1999.12.31 00:00:00.000000000 + X纳秒的时间戳。"
62878
+ "返回相应的纳秒时间戳。返回值类型是 NANOTIMESTAMP,时间类型变量。如果参数 *X* 中没有日期,则返回值是1970.01.01 00:00:00.000000000 + *X* 纳秒的时间戳。"
62879
62879
  ]
62880
62880
  }
62881
62881
  ]
@@ -62890,7 +62890,7 @@
62890
62890
  "value": [
62891
62891
  "",
62892
62892
  " $ nanotimestamp(1000000000);",
62893
- " 1999.12.31T00:00:01.000000000",
62893
+ " 1970.01.01T00:00:01.000000000",
62894
62894
  "",
62895
62895
  " $ nanotimestamp(2012.12.03 12:06:09 2012.12.03 13:08:01);",
62896
62896
  " [2012.12.03T12:06:09.000000000,2012.12.03T13:08:01.000000000]",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dolphindb",
3
3
  "description": "DolphinDB JavaScript API",
4
- "version": "2.0.978",
4
+ "version": "2.0.1000",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
7
  "browser": "./browser.js",
@@ -25,10 +25,10 @@
25
25
  "JavaScript"
26
26
  ],
27
27
  "devDependencies": {
28
- "@types/node": "^20.4.0",
29
- "@typescript-eslint/eslint-plugin": "^5.61.0",
30
- "@typescript-eslint/parser": "^5.61.0",
31
- "eslint": "^8.44.0",
28
+ "@types/node": "^20.4.2",
29
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
30
+ "@typescript-eslint/parser": "^6.0.0",
31
+ "eslint": "^8.45.0",
32
32
  "eslint-plugin-xlint": "^1.0.6",
33
33
  "ts-node": "^10.9.1",
34
34
  "typescript": "^5.1.6"
@@ -37,7 +37,7 @@
37
37
  "dayjs": "^1.11.9",
38
38
  "ipaddr.js": "^2.1.0",
39
39
  "tslib": "^2.6.0",
40
- "xshell": "^1.0.36"
40
+ "xshell": "^1.0.38"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "tsc",