Class: Dbee::Providers::NullProvider

Inherits:
Object
  • Object
show all
Defined in:
lib/dbee/providers/null_provider.rb

Overview

Default stand-in provider that ships with Dbee. The main use-case would be to plug in a provider or provide your own implementation. There really is no real-world use of this provider.

Instance Method Summary collapse

Instance Method Details

#sql(_model, _query) ⇒ Object



16
17
18
# File 'lib/dbee/providers/null_provider.rb', line 16

def sql(_model, _query)
  'SELECT NULL'
end