Sha256: ff258c0e1a92c74f988d0bbf5581c22f203657efe61e9fd517cedbc50bd91e18

Contents?: true

Size: 686 Bytes

Versions: 4

Compression:

Stored size: 686 Bytes

Contents

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

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

Requirements:
 - 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

4 entries across 4 versions & 1 rubygems

Version Path
mirah-0.2.1-java examples/appengine/Readme
mirah-0.2.0-java examples/appengine/Readme
mirah-0.1.4-java examples/appengine/Readme
mirah-0.1.3-java examples/appengine/Readme