src/Rio/AbstractEntity.php
protected function parameters()
    {
        $index = 0;
        $parameters = [
            'p' => [],
            'c' => []
        ];

        foreach ($this->properties as $name => $property) {
            if ($name !== $this->primary && false === isset($property['column'])) {
                $index++;

                $parameters['p'][$index] = $name . ' = ?';
                $parameters['c'][$index] = $name;
            }
        }

        return $parameters;
    }
protected function parameters()
    {
        $index = 0;
        $parameters = [
            'p' => [],
            'c' => []
        ];

        foreach ($this->properties as $name => $property) {
            if ($name !== $this->primary && false === isset($property['column'])) {
                $index++;

                $parameters['p'][$index] = $name . ' = ?';
                $parameters['c'][$index] = $name;
            }
        }

        return $parameters;
    }
protected function parameters ( ) { $ index = 0 ; $ parameters = [ 'p' => [ ] , 'c' => [ ] ] ; foreach ( $ this -> properties as $ name => $ property ) { if ( $ name !== $ this -> primary && false === isset ( $ property [ 'column' ] ) ) { $ index ++ ; $ parameters [ 'p' ] [ $ index ] = $ name . ' = ?' ; $ parameters [ 'c' ] [ $ index ] = $ name ; } } return $ parameters ; }
Create prepared statement parameters

@return array
Create prepared statement parameters