Skip to main content

inject_max_execution_time

Function inject_max_execution_time 

Source
pub fn inject_max_execution_time(sql: &str, ms: u32) -> String
Expand description

Inject /*+ MAX_EXECUTION_TIME(ms) */ after the leading select keyword when not already present. Case-insensitive, first-statement only.