Skip to main content

validate_cost

Function validate_cost 

Source
pub fn validate_cost(cost: Option<f32>) -> Result<(), SQLError>
Expand description

COST must be positive, which PostgreSQL checks of the value it stores in a float4.