Method: NoSE::Connection#unparse

Defined in:
lib/nose/statements/connection.rb

#unparseString

Produce the SQL text corresponding to this connection

Returns:

  • (String)


36
37
38
39
# File 'lib/nose/statements/connection.rb', line 36

def unparse
  "CONNECT #{source.name}(\"#{source_pk}\") TO " \
    "#{target.name}(\"#{target_pk}\")"
end