like_str_from_literal

Function like_str_from_literal 

Source
fn like_str_from_literal(l: &Literal) -> Option<&str>
Expand description

Returns a str represented by Literal if it contains a valid utf8 sequence and is safe for like (has no ‘%’ and ‘_’)