MCPcopy Create free account
hub / github.com/effect-app/libs / UuidV7Insert

Function UuidV7Insert

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

Source from the content-addressed store, hash-verified

852 * A field that represents a string UUID v7 that is generated on inserts.
853 *
854 * @category schemas
855 * @since 4.0.0
856 */
857export const UuidV7Insert = <const B extends string>(
858 schema: Schema.brand<Schema.String, B>
859): UuidV7Insert<B> =>
860 Field({
861 select: schema,
862 insert: UuidV7WithGenerate(schema),
863 update: schema,
864 json: schema
865 })

Callers

nothing calls this directly

Calls 2

UuidV7WithGenerateFunction · 0.85
FieldFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…