Parent

Class Index [+]

Quicksearch

Sequel::DataObjects::MySQL::Dataset

Dataset class for MySQL datasets accessed via DataObjects.

Constants

APOS
APOS_RE
DOUBLE_APOS

Public Instance Methods

provides_accurate_rows_matched?() click to toggle source

The DataObjects MySQL driver uses the number of rows actually modified in the update, instead of the number of matched by the filter.

    # File lib/sequel/adapters/do/mysql.rb, line 42
42:         def provides_accurate_rows_matched?
43:           false
44:         end

Private Instance Methods

literal_string_append(sql, s) click to toggle source

do_mysql sets NO_BACKSLASH_ESCAPES, so use standard SQL string escaping

    # File lib/sequel/adapters/do/mysql.rb, line 49
49:         def literal_string_append(sql, s)
50:           sql << APOS << s.gsub(APOS_RE, DOUBLE_APOS) << APOS
51:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.