Sha256: 02b5497cab01ba78f413fc4b16606795d61de6ef2f4055fbfb85389e8d0de87e

Contents?: true

Size: 724 Bytes

Versions: 9

Compression:

Stored size: 724 Bytes

Contents

Run rake to compile the application and start the development server:

$ jruby -I `pwd`/../../lib -S rake

Requirements:
 - jruby -S gem install bitescript
 - jruby -S gem install appengine-sdk -v=1.3.5.pre

Datastore API:
  Model.get(key)
  Model.delete(key)
  Model.all -> Query
  property foo, String # or any supported datastore type
                       # For numbers use Long or Double
  
  instance.save
  instance.key
  
  instance.foo
  instance.foo=

  Query.count
  Query.run -> Model[]
  Query.first -> instance || nil
  Query.sort(property_name)
  Query.sort(property_name, true) # descending
  Query.foo('foo').bar(3)  # Only return instances where foo = 'foo' and bar = 3
  Query.offset(10)
  Query.limit(5)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mirah-0.0.12-java examples/appengine/Readme
mirah-0.0.11-java examples/appengine/Readme
mirah-0.0.10-java examples/appengine/Readme
mirah-0.0.9-java examples/appengine/Readme
mirah-0.0.8-java examples/appengine/Readme
mirah-0.0.7-java examples/appengine/Readme
mirah-0.0.6-java examples/appengine/Readme
mirah-0.0.5-java examples/appengine/Readme
mirah-0.0.4-java examples/appengine/Readme