How do you talk to a BerkeleyDB database from Ruby or Ruby on Rails?
-
13-09-2019 - |
Question
I have no idea how I would set up a BerkelyDB database in a Ruby or Rails project.
Does anyone have any experience configuring one, that they could talk about?
Maybe using ActiveRecord or Datamapper?
Solution
I would use Moneta, which provides a unified interface for key/value stores: https://github.com/minad/moneta
OTHER TIPS
i think you can use MySQL and use the BerkeleyDB storage engine and use ActiveRecord or DataMapper as usual. Will be cool to use BDB that way. try this: http://dev.mysql.com/doc/refman/5.0/en/bdb-storage-engine.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow