import { type NamingStrategyInterface } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";
Naming strategy defines how auto-generated names for such things like table name, or table column gonna be generated.
Methods
Gets the relation constraint (UNIQUE or UNIQUE INDEX) name from the given table name, column names and WHERE condition, if UNIQUE INDEX used.
Gets the name of the foreign key.
Gets the name of the join table used in the many-to-many relations.
Columns in join tables can have duplicate names in case of self-referencing. This method provide a resolution for such column names.
Gets the name of the column used for columns in the junction tables.
The reverse?:boolean parameter denotes if the joinTableColumnName is called for the junctionColumn (false) or the inverseJunctionColumns (true)
Gets the name of the column used for columns in the junction tables from the invers side of the relationship.