Zum Hauptinhalt springen

KnownTables

The known tables of the database.

declare interface KnownTables {
costcenter: {
id: "number";
recipient: "string";
costcenter: "string";
costcenterName: "string";
};
}

Extends

  • Record<string, Record<string, DBResultType>>

Indexable

[key: string]: Record<string, DBResultType>

Properties

table

table: object

columnString

columnString: "string"

columnString2

columnString2: "string"

columnNumber

columnNumber: "number"

columnFloat

columnFloat: "float"

columnBoolean

columnBoolean: "boolean"

columnDate

columnDate: "date"

columnTimestamp

columnTimestamp: "timestamp"


otherTable

otherTable: object

column1

column1: "string"

column2

column2: "number"