Module: Babik::QuerySet::SQLRenderizable

Included in:
AbstractBase
Defined in:
lib/babik/queryset/mixins/sql_renderizable.rb

Overview

Enumerable functionality for QuerySet

Instance Method Summary collapse

Instance Method Details

#sqlQuerySet

Get the SQL renderer for this QuerySet.

Returns:

  • (QuerySet)

    SQL Renderer for this QuerySet.



10
11
12
13
# File 'lib/babik/queryset/mixins/sql_renderizable.rb', line 10

def sql
  renderer = SQLRenderer.new(self)
  renderer
end