diff --git a/src/BulkInsert.php b/src/BulkInsert.php
index <HASH>..<HASH> 100644
--- a/src/BulkInsert.php
+++ b/src/BulkInsert.php
@@ -150,7 +150,7 @@ class BulkInsert
     public function write()
     {
         $rowCount = count($this->rows);
-        if ($rowCount > 0) {
+        if ($rowCount == 0) {
             return $this;
         }
Fix early exit comparison to look for empty rows