diff --git a/lib/utils/option-parser.js b/lib/utils/option-parser.js
index <HASH>..<HASH> 100644
--- a/lib/utils/option-parser.js
+++ b/lib/utils/option-parser.js
@@ -35,7 +35,7 @@ module.exports = function refineSql (sql, propertyIdToColumn, options) {
   if (options) {
     // WHERE
     // -----
-    if (Object.prototype.hasOwnProperty.call(options, 'where')) {
+    if (Object.prototype.hasOwnProperty.call(options, 'where') && Object.keys(options.where).length) {
       sql += buildWhereClause(options.where, propertyIdToColumn, values)
     }
fix: check where is not empty object