Prado\Data\Common\TDbCommandBuilder::getColumnBindings PHP 메소드

getColumnBindings() 보호된 메소드

Create a name-value or position-value if $position=true binding strings.
protected getColumnBindings ( $values, $position = false ) : string
리턴 string update column names with corresponding binding substrings.
    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;
    }