From f64efb835479842d3ab5255850e7cae11bedf447 Mon Sep 17 00:00:00 2001 From: Yuki Fukuma Date: Wed, 29 Apr 2026 19:44:57 +0900 Subject: [PATCH] Add Trilogy to the list of supported adapters in README --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cec0107..3d01073 100644 --- a/README.md +++ b/README.md @@ -83,14 +83,15 @@ DB[:posts].update(title: "sequel-activerecord_connection") #=> 1 ``` -The database extension supports `postgresql`, `mysql2` and `sqlite3` +The database extension supports `postgresql`, `mysql2`, `trilogy` and `sqlite3` ActiveRecord adapters, just make sure to initialize the corresponding Sequel adapter before loading the extension. ```rb -Sequel.postgres(extensions: :activerecord_connection) # for "postgresql" adapter -Sequel.mysql2(extensions: :activerecord_connection) # for "mysql2" adapter -Sequel.sqlite(extensions: :activerecord_connection) # for "sqlite3" adapter +Sequel.postgres(extensions: :activerecord_connection) # for "postgresql" adapter +Sequel.mysql2(extensions: :activerecord_connection) # for "mysql2" adapter +Sequel.trilogy(extensions: :activerecord_connection) # for "trilogy" adapter +Sequel.sqlite(extensions: :activerecord_connection) # for "sqlite3" adapter ``` If you're on JRuby, you should be using the JDBC adapters: