dolphindb 3.1.7 → 3.1.9
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.js +5 -4
- package/browser.js.map +1 -1
- package/package.json +4 -4
- package/test.js.map +1 -1
package/browser.js
CHANGED
|
@@ -2738,10 +2738,11 @@ export class DDB {
|
|
|
2738
2738
|
const command = this.enc.encode((() => {
|
|
2739
2739
|
switch (type) {
|
|
2740
2740
|
case 'function':
|
|
2741
|
-
if (
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2741
|
+
if (this.verbose)
|
|
2742
|
+
if (args.length)
|
|
2743
|
+
console.log(func, args.map(arg => arg.data()), rpc_id);
|
|
2744
|
+
else
|
|
2745
|
+
console.log(`${func}()`, rpc_id);
|
|
2745
2746
|
assert(!func.includes('\0'), t('发送至 DolphinDB 执行的脚本中间不能含有 \\0'));
|
|
2746
2747
|
return 'function\n' +
|
|
2747
2748
|
`${func}\n` +
|