Module: Rethinker::QueryRunner
- Extended by:
- Autoload
- Defined in:
- lib/rethinker/query_runner.rb
Defined Under Namespace
Classes: Connection, DatabaseOnDemand, Driver, Middleware, Selection, TableOnDemand, WriteError
Class Attribute Summary collapse
-
.stack ⇒ Object
Returns the value of attribute stack.
Class Method Summary collapse
Methods included from Autoload
autoload, autoload_and_include
Class Attribute Details
.stack ⇒ Object
Returns the value of attribute stack.
16 17 18 |
# File 'lib/rethinker/query_runner.rb', line 16 def stack @stack end |
Class Method Details
.run(options = {}, &block) ⇒ Object
18 19 20 |
# File 'lib/rethinker/query_runner.rb', line 18 def run(={}, &block) stack.call(:query => yield, :options => ) end |