mysql - result structure

This commit is contained in:
Jan Prochazka
2020-02-02 19:34:04 +01:00
parent 6188e90340
commit c0b45a56d8
5 changed files with 6 additions and 9 deletions

5
types/query.d.ts vendored
View File

@@ -3,6 +3,11 @@ export interface RangeDefinition {
limit: number;
}
export interface QueryResultColumn {
name: string;
}
export interface QueryResult {
rows: any[];
columns: QueryResultColumn[];
}