dolphindb 3.0.2 → 3.0.3
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/browser.d.ts +1 -1
- package/browser.js +2 -6
- package/browser.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +2 -6
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/test.js +28 -8
- package/test.js.map +1 -1
package/browser.d.ts
CHANGED
|
@@ -187,7 +187,7 @@ export interface InspectOptions {
|
|
|
187
187
|
decimals?: number;
|
|
188
188
|
/** `false` 决定 null 值如何返回. nullstr ? 'null' : '' */
|
|
189
189
|
nullstr?: boolean;
|
|
190
|
-
/**
|
|
190
|
+
/** `在 format 中默认为 false,在 toString 中默认为 true` 决定 string, symbol, char 类型是否加引号 */
|
|
191
191
|
quote?: boolean;
|
|
192
192
|
/** `true` 决定格式化后的数据是否有千分位 */
|
|
193
193
|
grouping?: boolean;
|
package/browser.js
CHANGED
|
@@ -1005,11 +1005,7 @@ export class DdbObj {
|
|
|
1005
1005
|
const data = (() => {
|
|
1006
1006
|
switch (this.form) {
|
|
1007
1007
|
case DdbForm.scalar:
|
|
1008
|
-
|
|
1009
|
-
if (this.type === DdbType.string)
|
|
1010
|
-
return this.value;
|
|
1011
|
-
else
|
|
1012
|
-
return format(this.type, this.value, this.le, options);
|
|
1008
|
+
return format(this.type, this.value, this.le, options);
|
|
1013
1009
|
case DdbForm.vector:
|
|
1014
1010
|
case DdbForm.pair:
|
|
1015
1011
|
case DdbForm.set: {
|
|
@@ -2526,7 +2522,7 @@ export class DDB {
|
|
|
2526
2522
|
]));
|
|
2527
2523
|
});
|
|
2528
2524
|
if (this.verbose)
|
|
2529
|
-
console.log(result.toString(
|
|
2525
|
+
console.log(result.toString() + rpc_id);
|
|
2530
2526
|
return result;
|
|
2531
2527
|
});
|
|
2532
2528
|
}
|