Skip to content

Commit

Permalink
Updating CakeAdapter to conform with latest version of phinx
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jun 14, 2015
1 parent 5221b4c commit 8f8ecfc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/CakeAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,18 @@ public function fetchAll($sql)
return $this->adapter->fetchAll($sql);
}

/**
* Inserts data into the table
*
* @param Table $table where to insert data
* @param array $columns column names
* @param $data
*/
public function insert(Table $table, $columns, $data)
{
return $this->adapter->insert($table, $columns, $data);
}

/**
* Quotes a table name for use in a query.
*
Expand Down

0 comments on commit 8f8ecfc

Please sign in to comment.