The PStore interfaces for the Google App Engine Datastore.
You can use the Google App Engine Datastore like PStore.
db = AppEngine::PStore.new('database.pstore') db.transaction do |db| db[:key1] = "value1" db[:key2] = "value2" end db.transaction do |db| puts db[:key1] # => "value1" end
A database has following limits.
-
maximum key count: 1,000 keys
-
maximum value size: 1MB
This module is hosted by gems.github.com.
sudo gem install machu-appengine-pstore --source http://gems.github.com
This library depends on appengine-apis.
Copyright © 2009 MATSUOKA Kohei. See LICENSE for details.