MCPcopy Create free account
hub / github.com/Effect-TS/effect / UuidV7Insert

Function UuidV7Insert

packages/effect/src/unstable/schema/Model.ts:856–864  ·  view source on GitHub ↗
(
  schema: Schema.brand<Schema.String, B>
)

Source from the content-addressed store, hash-verified

854 * @since 4.0.0
855 */
856export const UuidV7Insert = <const B extends string>(
857 schema: Schema.brand<Schema.String, B>
858): UuidV7Insert<B> =>
859 Field({
860 select: schema,
861 insert: UuidV7WithGenerate(schema),
862 update: schema,
863 json: schema
864 })

Callers

nothing calls this directly

Calls 2

UuidV7WithGenerateFunction · 0.85
FieldFunction · 0.70

Tested by

no test coverage detected