Method: Ronin::SQL::Clauses#from

Defined in:
lib/ronin/sql/clauses.rb

#from(table = nil, &block) ⇒ self

Appends a FROM clause.

Parameters:

  • table (Field, Symbol) (defaults to: nil)

    The table to select from.

Returns:

  • (self)


72
73
74
# File 'lib/ronin/sql/clauses.rb', line 72

def from(table=nil,&block)
  clause(:FROM,table,&block)
end