Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle ndb models #54

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 8 comments
Open

handle ndb models #54

GoogleCodeExporter opened this issue Mar 15, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

You cannot use the rest-server with ndb models.

Original issue reported on code.google.com by or...@orser.org on 14 May 2012 at 8:39

@GoogleCodeExporter
Copy link
Author

NDB: https://developers.google.com/appengine/docs/python/ndb/

Original comment by jahlborn@gmail.com on 15 May 2012 at 12:13

  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

@GoogleCodeExporter
Copy link
Author

This would be very useful. I was just thinking of migrating my app ti use ndb.

Original comment by muijsenb...@gmail.com on 7 Feb 2013 at 9:03

@GoogleCodeExporter
Copy link
Author

https://docs.google.com/document/d/1AefylbadN456_Z7BZOpZEXDq8cR8LYu7QgI7bt5V0Iw/
edit?pli=1

Original comment by muijsenb...@gmail.com on 7 Feb 2013 at 9:06

@GoogleCodeExporter
Copy link
Author

I agree that it is very useful, I used information from that table to migrate 
my own application and also create NDB DAL for web2py which I finally selected 
instead of appengine-rest-server

Original comment by a...@holubec.net on 7 Feb 2013 at 9:58

@GoogleCodeExporter
Copy link
Author

Maybe you could make it configurable. So you can choose db or ndb.

Original comment by muijsenb...@gmail.com on 26 Mar 2013 at 3:04

@GoogleCodeExporter
Copy link
Author

Your example page (and other issues here) suggest using this with the AppEngine 
Guestbook example project; however, as of 23 Oct 2013, that project uses ndb 
instead of db, and so appengine-rest-server does NOT work "out of the box" with 
that project. One must go into their guestboook.py and change ndb to db, which 
is 1) not obvious to newbs like myself, and 2) loses functionality of ndb?

Original comment by cpconser...@gmail.com on 23 Oct 2013 at 7:36

@GoogleCodeExporter
Copy link
Author

Actually, you can't just change ndb to db; you have to change the query setup 
and other things as well. I was able to get this working only because I copied 
the example code in issue 51...

Original comment by cpconser...@gmail.com on 23 Oct 2013 at 7:56

@GoogleCodeExporter
Copy link
Author

Can appengine endpoints serve as a replacement? Anyway, found it easy to create 
a rest server for ndb ... here's one modeled for ember.js 
https://github.com/kelonye/gae-ember-rest

Original comment by kelonyem...@gmail.com on 24 Oct 2013 at 8:53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant