io2015-codelabs icon indicating copy to clipboard operation
io2015-codelabs copied to clipboard

Use a valid filter() for userId Datastore query

Open dbs opened this issue 8 years ago • 2 comments

The code for the solution for the Datastore query that is supposed to return only a specific user's books fails to return any books. The problem is that the comparison operator and property key were included in a single string. Break the values out into separate strings so that the filter() method has a property, comparison operator, and value as expected.

Closes #69.

Signed-off-by: Dan Scott [email protected]

dbs avatar Mar 22 '16 04:03 dbs

We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm.

googlebot avatar Mar 22 '16 04:03 googlebot

I'm Dan Scott, and I confirm that I did author this commit.

dbs avatar Mar 22 '16 04:03 dbs