(at: Date)
| 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. |
| 501 | const 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 |
no outgoing calls
no test coverage detected