Writing an ActiveRecord adapter

前端 未结 2 1606
无人共我
无人共我 2020-12-20 18:33

I\'d like to write my own ActiveRecord adapter for the HBase database since none currently exist. However, I\'ve been searching for a while online and can\'t find any good r

相关标签:
2条回答
  • 2020-12-20 18:51

    You should check out Rhino.

    0 讨论(0)
  • 2020-12-20 19:01

    I think the easiest thing to do is go to the source.

    The rails trunk has adapters for mysql, postgres and sqlite, which you could base your adapter on. abstract_adapter.rb is pretty short and fairly straight forward to implement.

    0 讨论(0)
提交回复
热议问题