Sha256: 76406e95ac78df8bbf497a166632ad8fb194de189eda0ad978f78b5a1caac999

Contents?: true

Size: 706 Bytes

Versions: 1

Compression:

Stored size: 706 Bytes

Contents

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

Requirements:
 - Install the google-appengine gem (under MRI, not JRUBY)
 - Have jruby on your path so dubyc can run.

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

1 entries across 1 versions & 1 rubygems

Version Path
duby-0.0.2-java examples/appengine/Readme