in todos.js [110:122]
getAll: function (callback) {
const query = datastore.createQuery('Todo')
.hasAncestor(datastore.key(['TodoList', LIST_NAME]));
query.run(function (err, items) {
if (err) {
callback(err);
return;
}
callback(null, items.map(entityToTodo));
});
},