cassandra-protocol 4.0.0

Cassandra protocol implementation
Documentation
1
2
3
4
5
/// Returns the identifier in a format appropriate for concatenation in a CQL query.
#[inline]
pub fn quote(text: &str) -> String {
    format!("\"{}\"", text.replace('"', "\"\""))
}