Skip to main content

source_clause

Function source_clause 

Source
pub fn source_clause(source: &str, procedure: bool) -> String
Expand description

Dollar-quote a source body as PostgreSQL does, extending the delimiter when its prefix occurs anywhere in the unchanged source. The caller supplies the final newline.