Files

SQLConstructor::BasicUpdate

Internal class which represents a basic INSERT statement.

Constants

METHODS

Attributes

attr_first[RW]
attr_order_by[RW]
attr_skip[RW]
attr_where[RW]
upd_set[RW]
upd_tables[RW]

Public Class Methods

new( _caller, *list ) click to toggle source

Class constructor. _caller - the caller object

# File lib/sqlconstructor.rb, line 686
def initialize ( _caller, *list )
    super _caller
    @upd_tables = QAttr.new( :name => 'upd_tables', :text => '',
                             :val  => SQLAliasedList.new( *list ) )
end

Public Instance Methods

update_more( *list ) click to toggle source

Add tables to UPDATE tables list ( @upd_tables )

# File lib/sqlconstructor.rb, line 695
def update_more ( *list )
    @upd_tables.val.push *list
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.