Skip to content

Support Kysely ColumnType #54

@michaelhaar

Description

@michaelhaar
/**
 * This type can be used to specify a different type for
 * select, insert and update operations.
 */
export type ColumnType<SelectType, InsertType = SelectType, UpdateType = SelectType> = {
    readonly __select__: SelectType;
    readonly __insert__: InsertType;
    readonly __update__: UpdateType;
};
T extends ColumnType<infer S, infer I, infer U>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions