Sha256: ea31f2e0b2ee3e02ef0e6edbe1bab8d13fab21d6758543dea10bd14dffe696a3

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

module DataMapper
  class Adapters::DataObjectsAdapter
    def select_statement_with_query(query)
      SQLFinders::SQLBuilder.new(self, query).select_statement
    end

    alias_method :select_statement_without_query, :select_statement
    alias_method :select_statement, :select_statement_with_query
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
sbf-dm-sql-finders-0.0.4 lib/data_mapper/sql_finders/adapter.rb
dm-sql-finders-0.0.3 lib/data_mapper/sql_finders/adapter.rb
dm-sql-finders-0.0.2 lib/data_mapper/sql_finders/adapter.rb