diff --git a/src/BasicDB.php b/src/BasicDB.php index 99c7f9c..0832671 100644 --- a/src/BasicDB.php +++ b/src/BasicDB.php @@ -324,6 +324,19 @@ public function insert($tableName) $this->sql = 'INSERT INTO ' . $tableName; return $this; } + + /** + * Used for insert operation + * + * @param + * $tableName + * @return $this + */ + public function insertIgnore($tableName) + { + $this->sql = 'INSERT IGNORE INTO ' . $tableName; + return $this; + } /** * Used for setting data at insert operation.