{"repo":"umbrellio/umbrellio-sequel-plugins","free":true,"listed":false,"github":"https://github.com/umbrellio/umbrellio-sequel-plugins","clone":"git clone https://github.com/umbrellio/umbrellio-sequel-plugins.git","description":"Sequel plugins","language":"Ruby","stars":19,"topics":["sequel","database","plugins","extensions"],"license":"MIT","category":"databases-storage","readme_excerpt":"SequelPlugins Installation Add this line to your application's Gemfile: And then execute: $ bundle Extensions - CurrencyRates - PGTools - Slave - Synchronize - Methods in Migrations - Deferrable Foreign Keys - Set Local - Migration Transaction Options - Fibered Connection Pool Plugins - AttrEncrypted - Duplicate - GetColumnValue - MoneyAccessors - StoreAccessors - Synchronize - Upsert - WithLock Tools - TimestampMigratorUndoExtension - Rails DBConsole CurrencyRates Plugin for joining currency rates table to any other table and money exchange. Enable: DB.extension :currency rates Currency rates table example: Usage example: PGTools Enable: DB.extension :pg tools #inherited tables for Plugins for getting all inherited tables. Example: Slave Enable: DB.extension :slave Plugin for choosing slave server for query. Example: Important: you have to define a server named 'slave' in sequel config before using it. Synchronize Enable: DB.extension :synchronize Plugin for using transaction advisory locks for application-level mutexes. Example: Methods in Migrations Enable: Sequel.extension(:methods in migrations) . Also, you will need to add and require symbiont-ruby gem. Support for method definitions and invocations inside Sequel.migration . Example: Deferrable Foreign Keys Enable: Sequel.extension(:deferrable foreign keys) Makes foreign keys constraints deferrable ( DEFERABLE INITIALLY DEFERRED ) by default. Example: OR Set Local Enable: DB.extension(:set local) Makes possible to set t","default_branch":null,"files":null,"tree":[],"storefront":"/r/umbrellio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/umbrellio/umbrellio-sequel-plugins/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}