public function push($table, $data, $ignore = false)
	{
		// Add insert statement
		$this->insert($table, $ignore)
		     ->values($data);

		$result = $this->execute();

		// Return the inserted data
		return !$result ?: $this->connection->insertid();
	}
public function push($table, $data, $ignore = false)
	{
		// Add insert statement
		$this->insert($table, $ignore)
		     ->values($data);

		$result = $this->execute();

		// Return the inserted data
		return !$result ?: $this->connection->insertid();
	}
public function push ( $ table , $ data , $ ignore = false ) { // Add insert statement $ this -> insert ( $ table , $ ignore ) -> values ( $ data ) ; $ result = $ this -> execute ( ) ; // Return the inserted data return ! $ result ? : $ this -> connection -> insertid ( ) ; }
Inserts a new row using data provided into given table

@param   string    $table   The table name into which the data should be inserted
@param   array     $data    An associative array of data to insert
@param   bool      $ignore  Whether or not to perform an insert ignore
@return  bool|int
@since   2.0.0
Inserts a new row using data provided into given table