Skip to main content

request

Function request 

pub fn request(template: &str, config: &NeonConfig) -> SqlRequest
Expand description

The whole of a rendered migration, as one non-interactive transaction.

ReadCommitted rather than the config’s level, and deliberately: DDL under SERIALIZABLE takes predicate locks it has no use for, and a migration applied twice concurrently by two fixture instances is already made safe by IF NOT EXISTS rather than by isolation.