Add a simple column to the index
Optionalopts: { length?: number; order?: "ASC" | "DESC" }Add a functional index using a column reference
Optionalopts: {Add LOWER(column) expression
Optionalopts: { order?: "ASC" | "DESC" }Add UPPER(column) expression
Optionalopts: { order?: "ASC" | "DESC" }Add LENGTH(column) expression
Optionalopts: { order?: "ASC" | "DESC" }Add SUBSTRING(column FROM start FOR length) expression
Optionallength: numberOptionalopts: { order?: "ASC" | "DESC" }Add a custom function expression
Optionalalias: stringAdd COALESCE expression for handling NULLs
Add JSON extract expression (PostgreSQL)
Get all index columns
Build the index column expressions
Reset the builder
Builder for index expressions