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/index.js CHANGED
@@ -1253,7 +1253,6 @@ class DdbVoid extends DdbObj {
1253
1253
  super({
1254
1254
  form: DdbForm.scalar,
1255
1255
  type: DdbType.void,
1256
- length: 0,
1257
1256
  value: null,
1258
1257
  });
1259
1258
  }
@@ -1264,7 +1263,6 @@ class DdbBool extends DdbObj {
1264
1263
  super({
1265
1264
  form: DdbForm.scalar,
1266
1265
  type: DdbType.bool,
1267
- length: 1,
1268
1266
  value,
1269
1267
  });
1270
1268
  }
@@ -1275,7 +1273,6 @@ class DdbChar extends DdbObj {
1275
1273
  super({
1276
1274
  form: DdbForm.scalar,
1277
1275
  type: DdbType.char,
1278
- length: 1,
1279
1276
  value: typeof value === 'string' ?
1280
1277
  value.charCodeAt(0)
1281
1278
  :
@@ -1289,7 +1286,6 @@ class DdbInt extends DdbObj {
1289
1286
  super({
1290
1287
  form: DdbForm.scalar,
1291
1288
  type: DdbType.int,
1292
- length: 4,
1293
1289
  value,
1294
1290
  });
1295
1291
  }
@@ -1300,7 +1296,6 @@ class DdbString extends DdbObj {
1300
1296
  super({
1301
1297
  form: DdbForm.scalar,
1302
1298
  type: DdbType.string,
1303
- length: 0,
1304
1299
  value
1305
1300
  });
1306
1301
  }
@@ -1311,7 +1306,6 @@ class DdbLong extends DdbObj {
1311
1306
  super({
1312
1307
  form: DdbForm.scalar,
1313
1308
  type: DdbType.long,
1314
- length: 8,
1315
1309
  value
1316
1310
  });
1317
1311
  }
@@ -1322,7 +1316,6 @@ class DdbDouble extends DdbObj {
1322
1316
  super({
1323
1317
  form: DdbForm.scalar,
1324
1318
  type: DdbType.double,
1325
- length: 8,
1326
1319
  value
1327
1320
  });
1328
1321
  }
@@ -1333,7 +1326,6 @@ class DdbDateTime extends DdbObj {
1333
1326
  super({
1334
1327
  form: DdbForm.scalar,
1335
1328
  type: DdbType.datetime,
1336
- length: 4,
1337
1329
  value
1338
1330
  });
1339
1331
  }
@@ -1344,7 +1336,6 @@ class DdbTimeStamp extends DdbObj {
1344
1336
  super({
1345
1337
  form: DdbForm.scalar,
1346
1338
  type: DdbType.timestamp,
1347
- length: 8,
1348
1339
  value
1349
1340
  });
1350
1341
  }
@@ -1355,7 +1346,6 @@ class DdbNanoTimeStamp extends DdbObj {
1355
1346
  super({
1356
1347
  form: DdbForm.scalar,
1357
1348
  type: DdbType.nanotimestamp,
1358
- length: 8,
1359
1349
  value
1360
1350
  });
1361
1351
  }
@@ -1366,7 +1356,6 @@ class DdbPair extends DdbObj {
1366
1356
  super({
1367
1357
  form: DdbForm.pair,
1368
1358
  type: DdbType.int,
1369
- length: 0,
1370
1359
  rows: 2,
1371
1360
  cols: 1,
1372
1361
  value: Int32Array.of(l === null ? exports.nulls.int32 : l, r === null ? exports.nulls.int32 : r)
@@ -1379,7 +1368,6 @@ class DdbFunction extends DdbObj {
1379
1368
  super({
1380
1369
  form: DdbForm.scalar,
1381
1370
  type: DdbType.functiondef,
1382
- length: 0,
1383
1371
  value: { type, name }
1384
1372
  });
1385
1373
  }
@@ -1390,7 +1378,6 @@ class DdbVectorInt extends DdbObj {
1390
1378
  super({
1391
1379
  form: DdbForm.vector,
1392
1380
  type: DdbType.int,
1393
- length: 0,
1394
1381
  rows: ints.length,
1395
1382
  cols: 1,
1396
1383
  value: ints instanceof Int32Array ?
@@ -1410,7 +1397,6 @@ class DdbVectorDouble extends DdbObj {
1410
1397
  super({
1411
1398
  form: DdbForm.vector,
1412
1399
  type: DdbType.double,
1413
- length: 0,
1414
1400
  rows: doubles.length,
1415
1401
  cols: 1,
1416
1402
  value: doubles instanceof Float64Array ?
@@ -1430,7 +1416,6 @@ class DdbVectorString extends DdbObj {
1430
1416
  super({
1431
1417
  form: DdbForm.vector,
1432
1418
  type: DdbType.string,
1433
- length: 0,
1434
1419
  rows: strings.length,
1435
1420
  cols: 1,
1436
1421
  value: strings,
@@ -1444,7 +1429,6 @@ class DdbVectorAny extends DdbObj {
1444
1429
  super({
1445
1430
  form: DdbForm.vector,
1446
1431
  type: DdbType.any,
1447
- length: 0,
1448
1432
  rows: objs.length,
1449
1433
  cols: 1,
1450
1434
  value: objs,
@@ -1471,7 +1455,6 @@ class DdbVectorSymbol extends DdbObj {
1471
1455
  super({
1472
1456
  form: DdbForm.vector,
1473
1457
  type: DdbType.symbol_extended,
1474
- length: 0,
1475
1458
  rows: strings.length,
1476
1459
  cols: 1,
1477
1460
  value: {
@@ -1489,7 +1472,6 @@ class DdbSetInt extends DdbObj {
1489
1472
  super({
1490
1473
  form: DdbForm.set,
1491
1474
  type: DdbType.int,
1492
- length: 0,
1493
1475
  rows: ints instanceof Set ?
1494
1476
  ints.size
1495
1477
  :
@@ -1511,7 +1493,6 @@ class DdbSetDouble extends DdbObj {
1511
1493
  super({
1512
1494
  form: DdbForm.set,
1513
1495
  type: DdbType.double,
1514
- length: 0,
1515
1496
  rows: doubles instanceof Set ?
1516
1497
  doubles.size
1517
1498
  :
@@ -1535,7 +1516,6 @@ class DdbSetString extends DdbObj {
1535
1516
  super({
1536
1517
  form: DdbForm.set,
1537
1518
  type: DdbType.string,
1538
- length: 0,
1539
1519
  rows: strings.length,
1540
1520
  cols: 1,
1541
1521
  value: strings
@@ -1548,7 +1528,6 @@ class DdbTable extends DdbObj {
1548
1528
  super({
1549
1529
  form: DdbForm.table,
1550
1530
  type: DdbType.void,
1551
- length: 0,
1552
1531
  rows: columns[0].rows,
1553
1532
  cols: columns.length,
1554
1533
  name,