Skip to main content

shift_created_at

Function shift_created_at 

Source
pub async fn shift_created_at(
    conn: &mut PgConnection,
    id: Uuid,
    offset: Duration,
) -> ModelResult<()>
Expand description

Moves a submission’s creation time by offset, which may be negative.

Every row a transaction inserts shares one Postgres now(), so submission order is otherwise unobservable within it.