MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / instant

Function instant

apps/cloud/src/auth/workos-mirror-store.ts:501–501  ·  view source on GitHub ↗
(at: Date)

Source from the content-addressed store, hash-verified

499// A raw `sql` fragment binds a Date without the column's driver mapping, so
500// every instant below is passed as ISO text and cast.
501const instant = (at: Date) => sql`${at.toISOString()}::timestamptz`;
502
503// An account tombstone moves the row's timestamp to the deletion time —
504// never backwards, so a row that somehow carries a newer WorkOS timestamp

Callers 2

noEarlierThanFunction · 0.85
tombstoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected