diff options
Diffstat (limited to 'lib/some/database.rb')
-rw-r--r-- | lib/some/database.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |