@sqb/sqljs
Version:
SQB serialization extension for sql.js driver
13 lines (12 loc) • 371 B
TypeScript
import { Adapter, RowType } from '@sqb/connect';
export declare class SqljsCursor implements Adapter.Cursor {
private _stmt?;
private readonly _rowType;
constructor(stmt: any, opts: {
rowType: RowType;
});
get isClosed(): boolean;
get rowType(): RowType;
close(): Promise<void>;
fetch(nRows: number): Promise<any[] | undefined>;
}