-
Notifications
You must be signed in to change notification settings - Fork 1
thirdreplicator/kyoto_record
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple interface to Kyoto Cabinet, somewhat inspired by Active Record. Programmed for ease of use and hopefully speed..... no benchmarks yet. # Features * Just declare your attributes you want to persist. * Declare your indexes for a reverse lookup by value. * Range scan queries available. * Fast...? Please fork. # --------------------- require 'kyoto_record' class Duck include KyotoRecord attr_kyoto :nickname, :waddle_power index_kyoto :nickname end donald = Duck.new donald.nickname = "Don" donald.waddle_power = false donald.save # Reboot your computer. # Load back your data. duck2 = Duck.find(1) duck3 = Duck.find_by_nickname("Don") # Please see kyoto_record_spec.rb for details. # --------------------- MIT license. Enjoy.
About
Easy Ruby interface to Kyoto Cabinet. Please fork!
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published