The primary philosophy behind the App Engine data warehouse, like other nosql databases, is to do your writing work, not reading. With this in mind, you can use the relationship with your parents, as Adam suggests, and save an “incomplete account” on each node, which counts the number of urgent children who are not yet completed. When you mark node complete, decrease its parent counter node; if it makes him complete, go to his parents, etc. With a structure like this, you can immediately show whether the task is completed or not.
source
share