Scenic::Mysql
Scenic-Mysql adds a Mysql Adapter to scenic
Installing
Add to your Gemfile
:
gem 'scenic'
gem 'scenic-mysql'
Then bundle install
.
Configuring scenic to use the Mysql adapter
# config/initializers/scenic.rb
Scenic.configure do |config|
config.adapter = Scenic::Adapters::Mysql.new
end
And that's all!
Caveats
Mysql does not offer support for materialized views, so any calls to materialized views
will either result in false
, or raise a Scenic::Adapters::Mysql::MaterializedViewsNotSupportedError
About
scenic-mysql is currently maintained by Rennan Oliveira and AbraĆ£o Miranda.
This gem is merely a Mysql adapter implementation to the awesome scenic project, and in no way claims to have any direct relation with its maintainers.