protected function getColumnBindings($values, $position = false)
{
$bindings = array();
foreach (array_keys($values) as $name) {
$column = $this->getTableInfo()->getColumn($name)->getColumnName();
$bindings[] = $position ? $column . ' = ?' : $column . ' = :' . $name;
}
return $bindings;
}