C# Class FluentCassandra.CqlHelper

Mostra file Open project: nativex/fluentcassandra Class Usage Examples

Public Methods

Method Description
EscapeForCql ( string value ) : string

Escapse the provided string for use with CQL.

FormatCql ( string format ) : string

Replaces the format item in a specified string with the string representation of a corresponding object in a specified array. Arguments are updated to make sure reserved characters are escaped to support Cassandra's CQL.

Method Details

EscapeForCql() public static method

Escapse the provided string for use with CQL.
public static EscapeForCql ( string value ) : string
value string The string value to escape.
return string

FormatCql() public static method

Replaces the format item in a specified string with the string representation of a corresponding object in a specified array. Arguments are updated to make sure reserved characters are escaped to support Cassandra's CQL.
public static FormatCql ( string format ) : string
format string A composite format string.
return string