Skip to main content

INSERT_WAITPOINT_PENDING_SQL

Constant INSERT_WAITPOINT_PENDING_SQL 

Source
pub const INSERT_WAITPOINT_PENDING_SQL: &str = "INSERT INTO ff_waitpoint_pending \
     (partition_key, waitpoint_id, execution_id, token_kid, token, \
      created_at_ms, expires_at_ms, waitpoint_key, state, required_signal_names) \
     VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, 'pending', '[]')";
Expand description

Fresh pending-waitpoint row for create_waitpoint — state stays pending, no activated_at_ms. Binds: 1=partition, 2=waitpoint_id, 3=execution_id, 4=kid, 5=token, 6=created_at_ms, 7=expires_at_ms, 8=waitpoint_key.