database-builder
Version:
Library to assist in creating and maintaining SQL commands.
15 lines (14 loc) • 610 B
TypeScript
import { DatabaseBase, DatabaseObject, DatabaseResult } from "../definitions/database-definition";
import { QueryCompiled } from "./query-compiled";
import { Observable } from "rxjs";
export declare class ExecutableBuilder {
enableLog: boolean;
constructor(enableLog?: boolean);
executeBatch(compiled: QueryCompiled[], database: DatabaseObject): Observable<boolean>;
execute(compiled: QueryCompiled[], database: DatabaseBase): Observable<DatabaseResult[]>;
private buildSqlBatch;
private executeSql;
private checkParams;
private executorLinked;
private log;
}