Sha256: b2a58d41269218e2e16918729c32e5136ef6cc35110988479ec1f7d4f22b003a

Contents?: true

Size: 326 Bytes

Versions: 4

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL::Operators

  # Describes keys index
  #
  # @example
  #   fn = Operators[:cql_keys]
  #   fn[:foo]
  #   # => "KEYS(foo)"
  #
  # @param [#to_s] column
  #
  # @return [String]
  #
  def self.cql_keys(column)
    "KEYS(#{column})"
  end

end # module QueryBuilder::CQL::Operators

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
query_builder-0.0.4 lib/query_builder/cql/operators/cql_keys.rb
query_builder-0.0.3 lib/query_builder/cql/operators/cql_keys.rb
query_builder-0.0.2 lib/query_builder/cql/operators/cql_keys.rb
query_builder-0.0.1 lib/query_builder/cql/operators/cql_keys.rb