Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fridays committed Feb 16, 2017
1 parent 844c567 commit c1265d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -462,7 +462,7 @@ function checkIdExists(schema, data) {
.select('id')
.where('id', data)
.then(function (rows) {
return !!rows/length; // true if record is found
return !!rows.length; // true if record is found
});
}

Expand Down

0 comments on commit c1265d6

Please sign in to comment.