Skip to main content

CONCURRENT

Constant CONCURRENT 

Source
pub const CONCURRENT: IndexMarker;
Expand description

Creates or drops an index CONCURRENTLY.

ยงExample

#[PostgresIndex(concurrent)]
struct UsersEmailIdx(Users::email);

See: https://www.postgresql.org/docs/current/sql-createindex.html