From 68d7eb07d88338f28c40a5ba68061a7f4e35f340 Mon Sep 17 00:00:00 2001 From: mms Date: Sun, 10 Nov 2024 00:20:05 +0100 Subject: feat: dsl --- lib/some/database.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/some/database.rb') diff --git a/lib/some/database.rb b/lib/some/database.rb index 5595a41..d481dd5 100644 --- a/lib/some/database.rb +++ b/lib/some/database.rb @@ -11,5 +11,9 @@ module Some def query(query) db.query(query) end + + def search_messages(query) + query(query).search_messages + end end end -- cgit v1.2.3