Class: Cuprum::Collections::Basic::QueryBuilder

Inherits:
QueryBuilder
  • Object
show all
Defined in:
lib/cuprum/collections/basic/query_builder.rb

Overview

Concrete implementation of QueryBuilder for a basic query.

Instance Attribute Summary

Attributes inherited from QueryBuilder

#base_query

Instance Method Summary collapse

Methods inherited from QueryBuilder

#call

Constructor Details

#initialize(base_query) ⇒ QueryBuilder

Returns a new instance of QueryBuilder.

Parameters:



11
12
13
14
15
# File 'lib/cuprum/collections/basic/query_builder.rb', line 11

def initialize(base_query)
  super

  @filters = base_query.send(:filters)
end