public function flushBatch() {
		if(count($this->batch) > 0) {
			$this->insertMany($this->batch, $this->batch_replace);
			$this->batch = [];
			return true;
		}
		return false;
	}
public function flushBatch() {
		if(count($this->batch) > 0) {
			$this->insertMany($this->batch, $this->batch_replace);
			$this->batch = [];
			return true;
		}
		return false;
	}
public function flushBatch ( ) { if ( count ( $ this -> batch ) > 0 ) { $ this -> insertMany ( $ this -> batch , $ this -> batch_replace ) ; $ this -> batch = [ ] ; return true ; } return false ; }
Flush the batch.
@return boolean    return true when a batch is inserted
Flush the batch .