Skip to content

rennanoliveira/scenic-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Mysql adapter for the scenic gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published