lookupColumn
lookupColumn(
schema,name):AnyColumn|undefined
Defined in: src/schema/schema.ts:150
The column name of schema, or undefined if it has none. Only the schema’s own columns
count, so an inherited key such as toString or __proto__ is not mistaken for one.
Parameters
Section titled “Parameters”schema
Section titled “schema”string
Returns
Section titled “Returns”AnyColumn | undefined