gotime-cassandra_object 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,11 +34,11 @@ module CassandraObject
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def connection
|
37
|
-
@@connection ||= Cassandra.new(connection_config[:keyspace], connection_config[:servers], connection_config[:thrift].symbolize_keys
|
37
|
+
@@connection ||= Cassandra.new(connection_config[:keyspace], connection_config[:servers], connection_config[:thrift].symbolize_keys)
|
38
38
|
end
|
39
39
|
|
40
40
|
def cql
|
41
|
-
@@cql ||= CassandraCQL::Database.new(connection_config[:servers], keyspace: connection_config[:keyspace])
|
41
|
+
@@cql ||= CassandraCQL::Database.new(connection_config[:servers], keyspace: connection_config[:keyspace], connection_config[:thrift].symbolize_keys)
|
42
42
|
end
|
43
43
|
|
44
44
|
def execute_cql(cql_string, *bind_vars)
|