/datastore

ActiveRecord Adapter for AppEngine DataStore

Primary LanguageRubyMIT LicenseMIT

Datastore Adapter

ActiveRecord Adatper for AppEngine Datastore. The AppEngine Datastore is not a relational database system. So, this adapter only support some basic features.

Installation

Use appengine-sdk (1.4.0)

Create Rails 3 application:

gem install rails --version=3.0.6
rails new app_name -m http://siddick.github.com/datastore/rails3.rb
cd app_name
appcfg.rb run bin/rails g scaffold post title:string content:text  
appcfg.rb run bin/rake db:migrate

Run the server:

dev_appserver.rb .

Supported Features

  1. has_many and belongs_to
  2. migration
  3. table indexes
  4. operators( =, >, >=, <=, <>, in, and )

Not Supported

Datastore is not a Relational Database system. So, you can’t expect more.

  1. Joins
  2. operators( or, between, like, etc )

Bugs

Please report the bugs.

https://github.com/siddick/datastore/issues