dolphindb 3.0.214 → 3.0.216

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 CHANGED
@@ -419,7 +419,7 @@ export interface ConvertOptions {
419
419
  /** `'ms'` timestamp 类型转换为字符串表示时显示到秒还是毫秒 */
420
420
  timestamp?: 's' | 'ms';
421
421
  }
422
- export declare function convert(type: DdbType, value: DdbValue, le: boolean, { blob, char, timestamp }?: ConvertOptions): string | number | bigint | boolean | DdbFunctionDefValue | DdbDurationValue | DdbDecimal32Value | DdbDecimal64Value | DdbDecimal32VectorValue | DdbDecimal64VectorValue | DdbDecimal128VectorValue | BigInt128Array | DdbSymbolExtendedValue | string[] | DdbArrayVectorValue | DdbMatrixValue | Uint8Array<ArrayBufferLike> | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | BigInt64Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike>[] | DdbObj<DdbValue>[] | IotVectorItemValue | DdbDurationVectorValue | number[] | DdbTensorValue | DdbChartValue;
422
+ export declare function convert(type: DdbType, value: DdbValue, le: boolean, { blob, char, timestamp }?: ConvertOptions): string | number | bigint | boolean | number[] | Uint8Array<ArrayBufferLike> | DdbFunctionDefValue | DdbDurationValue | DdbDecimal32Value | DdbDecimal64Value | Int8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | BigInt64Array<ArrayBufferLike> | BigInt128Array | string[] | Uint8Array<ArrayBufferLike>[] | DdbObj<DdbValue>[] | IotVectorItemValue | DdbSymbolExtendedValue | DdbArrayVectorValue | DdbDecimal32VectorValue | DdbDecimal64VectorValue | DdbDecimal128VectorValue | DdbDurationVectorValue | DdbMatrixValue | DdbChartValue | DdbTensorValue;
423
423
  /** 转换一个向量到 js 原生数组 */
424
424
  export declare function converts(type: DdbType, value: DdbVectorValue, rows: number, le: boolean, options?: ConvertOptions): any[] | Uint8Array;
425
425
  /** 构造 void 类型,默认为 `DdbVoidType.undefined` */
@@ -617,7 +617,7 @@ type DdbRpcType = 'script' | 'function' | 'variable' | 'connect';
617
617
  export interface DdbRpcOptions extends DdbEvalOptions {
618
618
  script?: string;
619
619
  func?: string;
620
- args?: (DdbObj | string | boolean)[];
620
+ args?: Convertable[];
621
621
  vars?: string[];
622
622
  skip_connection_check?: boolean;
623
623
  on_more_messages?: (buffer: Uint8Array) => void;
package/browser.js CHANGED
@@ -1397,6 +1397,7 @@ export class DdbObj {
1397
1397
  // ...
1398
1398
  // av
1399
1399
  const type_ = this.type - 64;
1400
+ options = { ...options, grouping: false };
1400
1401
  const limit = 10;
1401
1402
  let array_items = new Array(Math.min(limit, this.rows));
1402
1403
  let i_items = 0;