public function insertBatch(array $row) {
		$this->batch[] = $row;
		if(count($this->batch) >= $this->batch_size) {
			$this->flushBatch();
			return true;
		}
		return false;
	}
public function insertBatch(array $row) {
		$this->batch[] = $row;
		if(count($this->batch) >= $this->batch_size) {
			$this->flushBatch();
			return true;
		}
		return false;
	}
public function insertBatch ( array $ row ) { $ this -> batch [ ] = $ row ; if ( count ( $ this -> batch ) >= $ this -> batch_size ) { $ this -> flushBatch ( ) ; return true ; } return false ; }
Insert a row into batch.
@param  array $row
@return boolean    return true when a batch is inserted
Insert a row into batch .