Skip to content

Commit

Permalink
Fix model-datastore filter (GoogleCloudPlatform#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Nassri committed Oct 13, 2016
1 parent 252e635 commit 28d1c18
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 4-auth/books/model-datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function list (limit, token, cb) {
// [START listby]
function listBy (userId, limit, token, cb) {
var q = ds.createQuery([kind])
.filter('createdById =', userId)
.filter('createdById', '=', userId)
.limit(limit)
.start(token);

Expand Down
2 changes: 1 addition & 1 deletion 5-logging/books/model-datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function list (limit, token, cb) {
// user.
function listBy (userId, limit, token, cb) {
var q = ds.createQuery([kind])
.filter('createdById =', userId)
.filter('createdById', '=', userId)
.limit(limit)
.start(token);

Expand Down
2 changes: 1 addition & 1 deletion 6-pubsub/books/model-datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function list (limit, token, cb) {
// user.
function listBy (userId, limit, token, cb) {
var q = ds.createQuery([kind])
.filter('createdById =', userId)
.filter('createdById', '=', userId)
.limit(limit)
.start(token);

Expand Down
2 changes: 1 addition & 1 deletion 7-gce/books/model-datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function list (limit, token, cb) {
// user.
function listBy (userId, limit, token, cb) {
var q = ds.createQuery([kind])
.filter('createdById =', userId)
.filter('createdById', '=', userId)
.limit(limit)
.start(token);

Expand Down
2 changes: 1 addition & 1 deletion optional-container-engine/books/model-datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function list (limit, token, cb) {
// user.
function listBy (userId, limit, token, cb) {
var q = ds.createQuery([kind])
.filter('createdById =', userId)
.filter('createdById', '=', userId)
.limit(limit)
.start(token);

Expand Down

0 comments on commit 28d1c18

Please sign in to comment.