src/QueryBuilder.php
public function insert(string $table, $data=[]): ?PDOStatement
	{
		if ( ! empty($data))
		{
			$this->set($data);
		}

		return $this->_run('insert', $table);
	}
public function insert(string $table, $data=[]): ?PDOStatement
	{
		if ( ! empty($data))
		{
			$this->set($data);
		}

		return $this->_run('insert', $table);
	}
public function insert ( string $ table , $ data = [ ] ) : ? PDOStatement { if ( ! empty ( $ data ) ) { $ this -> set ( $ data ) ; } return $ this -> _run ( 'insert' , $ table ) ; }
Creates an insert clause, and executes it

@param string $table
@param mixed $data
@return PDOStatement
Creates an insert clause and executes it