Skip to main content

function_script

Function function_script 

Source
pub fn function_script(env: &dyn Env, oid: u32) -> Result<Option<Script>>
Expand description

The statements of the body of the function in SQL with the OID, for Body::Statements. None when the catalog has no function in SQL with the OID, or when the body is RETURN.

ยงErrors

The errors of the parse of the body, and 42P13 for a body with no statement in a function that does not return void.