import { type InferModel } from "https://deno.land/x/drizzle@v0.23.85/table.ts";
Type Parameters
TTable extends AnyTable
definition: TInferMode extends "insert" ? Simplify<[Key in keyof TTable["_"]["columns"] & stringin keyof RequiredKeyOnly<MapColumnName<Key, TTable["_"]["columns"][Key], TConfig["dbColumnNames"]>, TTable["_"]["columns"][Key]>]: GetColumnData<TTable["_"]["columns"][Key], "query"> & [Key in keyof TTable["_"]["columns"] & stringin keyof OptionalKeyOnly<MapColumnName<Key, TTable["_"]["columns"][Key], TConfig["dbColumnNames"]>, TTable["_"]["columns"][Key]>]?: GetColumnData<TTable["_"]["columns"][Key], "query">> : [Key in keyof TTable["_"]["columns"] & stringin keyof MapColumnName<Key, TTable["_"]["columns"][Key], TConfig["dbColumnNames"]>]: GetColumnData<TTable["_"]["columns"][Key], "query">