百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

activerecord-trilogy-adapter

> 后端框架
开源

适用于 Rails v6.0 - v7.0 的 Trilogy 数据库客户端的 Active Record 适配器

177 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

适用于 Rails v6.0 - v7.0 的 Trilogy 数据库客户端的 Active Record 适配器

Trilogy Adapter

Ruby on Rails Active Record database adapter for Trilogy, a client library for MySQL-compatible database servers, designed for performance, flexibility, and ease of embedding.

This gem offers Trilogy support for versions of Active Record prior to v7.1. Currently supports:

  • ⚠️ Rails v7.1+ includes Trilogy support by default making this gem unnecessary (and still do add gem "trilogy" to your Gemfile)
  • ✅ Rails v7.0.x
  • ✅ Rails v6.1.x
  • ✅ Rails v6.0.x

Requirements

  • Ruby v2.7 or higher
  • Active Record v6.0.x or higher
  • Trilogy v2.4.0 or higher, which is included as a dependency of this gem.

Setup

  1. Add the following to your Gemfile and run bundle install:

    rb
    # Gemfile
    gem "activerecord-trilogy-adapter"
  2. Update your application's database configuration to use trilogy as the adapter:

    yaml
    # config/database.yml
    adapter: trilogy

Versioning

Read Semantic Versioning for details. Briefly, it means:

  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
  • Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.

Contributions

Read CONTRIBUTING for details.

License

Released under the MIT License.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyactiverecordrails

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架