class NoSE::Disconnect
A representation of a disconnect in the workload
Public Instance Methods
requires_delete?(_index)
click to toggle source
Specifies that disconnections require deletion
# File lib/nose/statements/connection.rb, line 156 def requires_delete?(_index) true end
unparse()
click to toggle source
Produce the SQL text corresponding to this disconnection @return [String]
# File lib/nose/statements/connection.rb, line 150 def unparse "DISCONNECT #{source.name}(\"#{source_pk}\") FROM " \ "#{target.name}(\"#{target_pk}\")" end