@useorbis/db-sdk
Version:
Orbis' Typescript SDK for building open-data experiences.
28 lines (27 loc) • 524 B
TypeScript
export declare class StatementHistory {
#private;
constructor();
get runs(): ({
[k: string]: any;
success: boolean;
timestamp: number;
query: any;
} & ({
result: any;
} | {
error: any;
}) & {
details?: any;
})[];
storeResult(run: {
success: boolean;
timestamp: number;
query: any;
[k: string]: any;
} & ({
result: any;
} | {
error: any;
})): void;
clearHistory(): void;
}