Sha256: 615637e6fb8e991cfa3a50c4deebe26a094ef85e0323965652de3028b081c1ba

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

# encoding: utf-8

module QueryBuilder::CQL::Operators

  # Describes TTL() function
  #
  # @example
  #   fn = Operators[:cql_ttl]
  #   fn[:name]
  #   # => "TTL(name)"
  #
  # @param [#to_s] column
  #
  # @return [String]
  #
  def self.cql_ttl(column)
    "TTL(#{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_ttl.rb
query_builder-0.0.3 lib/query_builder/cql/operators/cql_ttl.rb
query_builder-0.0.2 lib/query_builder/cql/operators/cql_ttl.rb
query_builder-0.0.1 lib/query_builder/cql/operators/cql_ttl.rb