On Saturday, July 14, 2018 at 5:52:11 PM UTC-7, Patrick Kuykendall wrote: > > I was curious if there was any official support for extending database > adapters in a similar manner to model plugins. > > In a few projects, I've needed to alter methods like #schema_parse_table > to do things like scrape extended properties or add custom data types for > columns. I've done this in the past with monkey-patching, but I was > wondering if there was a better way. > > Even if there isn't, I have to say I'm always impressed with what this ORM > is capable of and its current level of customization. Excellent work! >
Sequel has supported both Database extensions and Dataset extensions since 3.37.0, which are the equivalent to model plugins at the Database and Dataset levels. See http://sequel.jeremyevans.net/rdoc/files/doc/extensions_rdoc.html for details on creating Database and Dataset extensions. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
