Class: SqlStmtLib::SqlJoin

Inherits:
Struct
  • Object
show all
Defined in:
lib/sqlstmt/data.rb

Overview

kwstr is the keyword string, like ‘JOIN’ or ‘LEFT JOIN’ table is a SqlTable object, representing the table being joined to on_expr is the ON expression for the join

Instance Attribute Summary collapse

Instance Attribute Details

#kwstrObject

Returns the value of attribute kwstr

Returns:

  • (Object)

    the current value of kwstr



20
21
22
# File 'lib/sqlstmt/data.rb', line 20

def kwstr
  @kwstr
end

#on_exprObject

Returns the value of attribute on_expr

Returns:

  • (Object)

    the current value of on_expr



20
21
22
# File 'lib/sqlstmt/data.rb', line 20

def on_expr
  @on_expr
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



20
21
22
# File 'lib/sqlstmt/data.rb', line 20

def table
  @table
end