MCPcopy Create free account
hub / github.com/Ff00ff/mammoth / doUpdateSet

Method doUpdateSet

workspaces/mammoth/src/insert.ts:327–393  ·  view source on GitHub ↗
(
        values: T extends Table<Config, any, infer Columns>
          ? {
              [K in keyof Columns]?: Columns[K] extends Column<
                Config,
                any,
                any,
                infer DataType,
                infer IsNotNull,
                any,
                any
              >
                ? IsNotNull extends true
                  ?
                      | GetResultType<Config, DataType>
                      | Expression<Config, DataType, IsNotNull, any>
                      | Expression<Config, GetResultType<Config, DataType>, IsNotNull, any>
                      | Query<any>
                  :
                      | GetResultType<Config, DataType>
                      | GetResultType<Config, 'Null'>
                      | Expression<Config, DataType, IsNotNull, any>
                      | Query<any>
                : never;
            }
          : never,
      )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

insert.test.tsFile · 0.80

Calls 3

getSnakeCaseNameMethod · 0.65
toTokensMethod · 0.65

Tested by

no test coverage detected