src/QueryBuilder.php
public function insertBatch(string $table, $data=[]): ?PDOStatement
	{
		// Get the generated values and sql string
		[$sql, $data] = $this->driver->insertBatch($table, $data);

		return $sql !== NULL
			? $this->_run('', $table, $sql, $data)
			: NULL;
	}
public function insertBatch(string $table, $data=[]): ?PDOStatement
	{
		// Get the generated values and sql string
		[$sql, $data] = $this->driver->insertBatch($table, $data);

		return $sql !== NULL
			? $this->_run('', $table, $sql, $data)
			: NULL;
	}
public function insertBatch ( string $ table , $ data = [ ] ) : ? PDOStatement { // Get the generated values and sql string [ $ sql , $ data ] = $ this -> driver -> insertBatch ( $ table , $ data ) ; return $ sql !== NULL ? $ this -> _run ( '' , $ table , $ sql , $ data ) : NULL ; }
Creates and executes a batch insertion query

@param string $table
@param array $data
@return PDOStatement
Creates and executes a batch insertion query