dolphindb 2.0.518 → 2.0.519
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 +1 -22
- package/browser.js.map +1 -1
- package/index.js +0 -21
- package/index.js.map +1 -1
- package/package.json +6 -6
package/browser.js
CHANGED
|
@@ -1174,7 +1174,7 @@ function format(type, value, le) {
|
|
|
1174
1174
|
case DdbType.uuid:
|
|
1175
1175
|
return uuid2str(value, le);
|
|
1176
1176
|
case DdbType.functiondef:
|
|
1177
|
-
return value.quote('single');
|
|
1177
|
+
return value.name.quote('single');
|
|
1178
1178
|
case DdbType.handle:
|
|
1179
1179
|
case DdbType.code:
|
|
1180
1180
|
return value.quote('single');
|
|
@@ -1222,7 +1222,6 @@ class DdbVoid extends DdbObj {
|
|
|
1222
1222
|
super({
|
|
1223
1223
|
form: DdbForm.scalar,
|
|
1224
1224
|
type: DdbType.void,
|
|
1225
|
-
length: 0,
|
|
1226
1225
|
value: null,
|
|
1227
1226
|
});
|
|
1228
1227
|
}
|
|
@@ -1233,7 +1232,6 @@ class DdbBool extends DdbObj {
|
|
|
1233
1232
|
super({
|
|
1234
1233
|
form: DdbForm.scalar,
|
|
1235
1234
|
type: DdbType.bool,
|
|
1236
|
-
length: 1,
|
|
1237
1235
|
value,
|
|
1238
1236
|
});
|
|
1239
1237
|
}
|
|
@@ -1244,7 +1242,6 @@ class DdbChar extends DdbObj {
|
|
|
1244
1242
|
super({
|
|
1245
1243
|
form: DdbForm.scalar,
|
|
1246
1244
|
type: DdbType.char,
|
|
1247
|
-
length: 1,
|
|
1248
1245
|
value: typeof value === 'string' ?
|
|
1249
1246
|
value.charCodeAt(0)
|
|
1250
1247
|
:
|
|
@@ -1258,7 +1255,6 @@ class DdbInt extends DdbObj {
|
|
|
1258
1255
|
super({
|
|
1259
1256
|
form: DdbForm.scalar,
|
|
1260
1257
|
type: DdbType.int,
|
|
1261
|
-
length: 4,
|
|
1262
1258
|
value,
|
|
1263
1259
|
});
|
|
1264
1260
|
}
|
|
@@ -1269,7 +1265,6 @@ class DdbString extends DdbObj {
|
|
|
1269
1265
|
super({
|
|
1270
1266
|
form: DdbForm.scalar,
|
|
1271
1267
|
type: DdbType.string,
|
|
1272
|
-
length: 0,
|
|
1273
1268
|
value
|
|
1274
1269
|
});
|
|
1275
1270
|
}
|
|
@@ -1280,7 +1275,6 @@ class DdbLong extends DdbObj {
|
|
|
1280
1275
|
super({
|
|
1281
1276
|
form: DdbForm.scalar,
|
|
1282
1277
|
type: DdbType.long,
|
|
1283
|
-
length: 8,
|
|
1284
1278
|
value
|
|
1285
1279
|
});
|
|
1286
1280
|
}
|
|
@@ -1291,7 +1285,6 @@ class DdbDouble extends DdbObj {
|
|
|
1291
1285
|
super({
|
|
1292
1286
|
form: DdbForm.scalar,
|
|
1293
1287
|
type: DdbType.double,
|
|
1294
|
-
length: 8,
|
|
1295
1288
|
value
|
|
1296
1289
|
});
|
|
1297
1290
|
}
|
|
@@ -1302,7 +1295,6 @@ class DdbDateTime extends DdbObj {
|
|
|
1302
1295
|
super({
|
|
1303
1296
|
form: DdbForm.scalar,
|
|
1304
1297
|
type: DdbType.datetime,
|
|
1305
|
-
length: 4,
|
|
1306
1298
|
value
|
|
1307
1299
|
});
|
|
1308
1300
|
}
|
|
@@ -1313,7 +1305,6 @@ class DdbTimeStamp extends DdbObj {
|
|
|
1313
1305
|
super({
|
|
1314
1306
|
form: DdbForm.scalar,
|
|
1315
1307
|
type: DdbType.timestamp,
|
|
1316
|
-
length: 8,
|
|
1317
1308
|
value
|
|
1318
1309
|
});
|
|
1319
1310
|
}
|
|
@@ -1324,7 +1315,6 @@ class DdbNanoTimeStamp extends DdbObj {
|
|
|
1324
1315
|
super({
|
|
1325
1316
|
form: DdbForm.scalar,
|
|
1326
1317
|
type: DdbType.nanotimestamp,
|
|
1327
|
-
length: 8,
|
|
1328
1318
|
value
|
|
1329
1319
|
});
|
|
1330
1320
|
}
|
|
@@ -1335,7 +1325,6 @@ class DdbPair extends DdbObj {
|
|
|
1335
1325
|
super({
|
|
1336
1326
|
form: DdbForm.pair,
|
|
1337
1327
|
type: DdbType.int,
|
|
1338
|
-
length: 0,
|
|
1339
1328
|
rows: 2,
|
|
1340
1329
|
cols: 1,
|
|
1341
1330
|
value: Int32Array.of(l === null ? exports.nulls.int32 : l, r === null ? exports.nulls.int32 : r)
|
|
@@ -1348,7 +1337,6 @@ class DdbFunction extends DdbObj {
|
|
|
1348
1337
|
super({
|
|
1349
1338
|
form: DdbForm.scalar,
|
|
1350
1339
|
type: DdbType.functiondef,
|
|
1351
|
-
length: 0,
|
|
1352
1340
|
value: { type, name }
|
|
1353
1341
|
});
|
|
1354
1342
|
}
|
|
@@ -1359,7 +1347,6 @@ class DdbVectorInt extends DdbObj {
|
|
|
1359
1347
|
super({
|
|
1360
1348
|
form: DdbForm.vector,
|
|
1361
1349
|
type: DdbType.int,
|
|
1362
|
-
length: 0,
|
|
1363
1350
|
rows: ints.length,
|
|
1364
1351
|
cols: 1,
|
|
1365
1352
|
value: ints instanceof Int32Array ?
|
|
@@ -1379,7 +1366,6 @@ class DdbVectorDouble extends DdbObj {
|
|
|
1379
1366
|
super({
|
|
1380
1367
|
form: DdbForm.vector,
|
|
1381
1368
|
type: DdbType.double,
|
|
1382
|
-
length: 0,
|
|
1383
1369
|
rows: doubles.length,
|
|
1384
1370
|
cols: 1,
|
|
1385
1371
|
value: doubles instanceof Float64Array ?
|
|
@@ -1399,7 +1385,6 @@ class DdbVectorString extends DdbObj {
|
|
|
1399
1385
|
super({
|
|
1400
1386
|
form: DdbForm.vector,
|
|
1401
1387
|
type: DdbType.string,
|
|
1402
|
-
length: 0,
|
|
1403
1388
|
rows: strings.length,
|
|
1404
1389
|
cols: 1,
|
|
1405
1390
|
value: strings,
|
|
@@ -1413,7 +1398,6 @@ class DdbVectorAny extends DdbObj {
|
|
|
1413
1398
|
super({
|
|
1414
1399
|
form: DdbForm.vector,
|
|
1415
1400
|
type: DdbType.any,
|
|
1416
|
-
length: 0,
|
|
1417
1401
|
rows: objs.length,
|
|
1418
1402
|
cols: 1,
|
|
1419
1403
|
value: objs,
|
|
@@ -1440,7 +1424,6 @@ class DdbVectorSymbol extends DdbObj {
|
|
|
1440
1424
|
super({
|
|
1441
1425
|
form: DdbForm.vector,
|
|
1442
1426
|
type: DdbType.symbol_extended,
|
|
1443
|
-
length: 0,
|
|
1444
1427
|
rows: strings.length,
|
|
1445
1428
|
cols: 1,
|
|
1446
1429
|
value: {
|
|
@@ -1458,7 +1441,6 @@ class DdbSetInt extends DdbObj {
|
|
|
1458
1441
|
super({
|
|
1459
1442
|
form: DdbForm.set,
|
|
1460
1443
|
type: DdbType.int,
|
|
1461
|
-
length: 0,
|
|
1462
1444
|
rows: ints instanceof Set ?
|
|
1463
1445
|
ints.size
|
|
1464
1446
|
:
|
|
@@ -1480,7 +1462,6 @@ class DdbSetDouble extends DdbObj {
|
|
|
1480
1462
|
super({
|
|
1481
1463
|
form: DdbForm.set,
|
|
1482
1464
|
type: DdbType.double,
|
|
1483
|
-
length: 0,
|
|
1484
1465
|
rows: doubles instanceof Set ?
|
|
1485
1466
|
doubles.size
|
|
1486
1467
|
:
|
|
@@ -1504,7 +1485,6 @@ class DdbSetString extends DdbObj {
|
|
|
1504
1485
|
super({
|
|
1505
1486
|
form: DdbForm.set,
|
|
1506
1487
|
type: DdbType.string,
|
|
1507
|
-
length: 0,
|
|
1508
1488
|
rows: strings.length,
|
|
1509
1489
|
cols: 1,
|
|
1510
1490
|
value: strings
|
|
@@ -1517,7 +1497,6 @@ class DdbTable extends DdbObj {
|
|
|
1517
1497
|
super({
|
|
1518
1498
|
form: DdbForm.table,
|
|
1519
1499
|
type: DdbType.void,
|
|
1520
|
-
length: 0,
|
|
1521
1500
|
rows: columns[0].rows,
|
|
1522
1501
|
cols: columns.length,
|
|
1523
1502
|
name,
|