pub fn bind_named<F>(source: &str, lookup: F) -> Result<String, QqlError>where F: Fn(&str) -> Option<Value>,
Substitute named parameters (:name) into source.
:name
source
lookup receives the parameter name without the : prefix and returns the bound Value.
lookup
:
Value