format_query_fields

Function format_query_fields 

Source
pub fn format_query_fields<I, S>(fields: I, prefix: Option<&str>) -> String
where I: IntoIterator<Item = S>, S: AsRef<str>,
Expand description

Utility function for formatting part of a cypher [Query].

[prefix] applies to placeholders only, not field names. For example, foo: $foo would become foo: $prefix_foo.