Class: Cassie::Schema::DeleteVersionQuery

Inherits:
Modification show all
Defined in:
lib/cassie/schema/queries/delete_version_query.rb

Instance Attribute Summary

Attributes included from Cassie::Statements::Execution::ClassMethods

#result_class

Attributes included from Cassie::Statements::Statement

#cql, #params

Instance Method Summary collapse

Methods included from Cassie::Statements::Core

#initialize

Methods included from Cassie::Statements::Execution::ClassMethods

#inherited

Methods included from Cassie::Statements::Execution

#execute, #execute!, #execution_options

Methods included from Cassie::Statements::Execution::Instrumentation

#execute

Methods included from Cassie::Statements::Execution::PartitionLinking

#build_partition_linker, #execute, #partition_linker?

Methods included from Cassie::Statements::Execution::Callbacks

#execute

Methods included from Cassie::Statements::Execution::Consistency

#consistency

Methods included from Cassie::Statements::Statement

#logger, #statement, #table, #to_cql

Methods included from Cassie::Statements::Statement::Preparation::ClassMethods

#prepare, #prepare=, #prepare?

Methods included from Cassie::Statements::Statement::Idempotency::ClassMethods

#idempotent, #idempotent=, #idempotent?, #non_idempotent

Methods included from Cassie::Statements::Statement::Idempotency

#idempotent, #idempotent?

Methods included from Cassie::Statements::Statement::TypeHinting::ClassMethods

#type_hints, #type_hints=

Methods included from Cassie::Statements::Statement::TypeHinting

#type_hints

Methods included from Cassie::Statements::Statement::Preparation

cache, init_cache, #statement

Methods included from Connection

#session

Methods included from Connection::ClassMethods

#keyspace=

Instance Method Details

#applicationObject



20
21
22
23
24
# File 'lib/cassie/schema/queries/delete_version_query.rb', line 20

def application
  #setting #env should win
  return @application if defined?(@application)
  Cassie::Schema.application
end

#envObject



14
15
16
17
18
# File 'lib/cassie/schema/queries/delete_version_query.rb', line 14

def env
  #setting #env should win
  return @env if defined?(@env)
  Cassie.env
end

#id?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/cassie/schema/queries/delete_version_query.rb', line 10

def id?
  !!self.id
end

#keyspaceObject



26
27
28
# File 'lib/cassie/schema/queries/delete_version_query.rb', line 26

def keyspace
  Cassie::Schema.schema_keyspace
end