[google-appengine] Re: appengine datastore model for twitter like showing posts from users followed

2017-06-16 Thread Suresh Jeevanandam
Jordan, Ok. I was thinking doing join on SQL would be significantly less costly - but after reading your insights I think that doing the join ourselves will not be significantly slow. Thanks for this insight. - Suresh On Friday, 16 June 2017 01:00:15 UTC+5:30, Jordan (Cloud Platform Support) w

[google-appengine] Re: appengine datastore model for twitter like showing posts from users followed

2017-06-15 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
You are correct, performing the two separate queries is the correct way of retrieving the Post entities made by the authors who are followed by current_user. A JOIN operation is actually the same thing, just in SQL syntax. The first step would be to JOIN all 'Post' entities with 'Following' en