protected function setPropertiesForSaveCreateDeleteQuery(QueryBuilder $query, array $properties): void
    {
        // Iterate through the properties
        foreach ($properties as $column => $property) {
            if ($property === null) {
                continue;
            }

            // Set the column and param name
            $query->set($column, $this->columnParam($column));
        }
    }
protected function setPropertiesForSaveCreateDeleteQuery(QueryBuilder $query, array $properties): void
    {
        // Iterate through the properties
        foreach ($properties as $column => $property) {
            if ($property === null) {
                continue;
            }

            // Set the column and param name
            $query->set($column, $this->columnParam($column));
        }
    }
protected function setPropertiesForSaveCreateDeleteQuery ( QueryBuilder $ query , array $ properties ) : void { // Iterate through the properties foreach ( $ properties as $ column => $ property ) { if ( $ property === null ) { continue ; } // Set the column and param name $ query -> set ( $ column , $ this -> columnParam ( $ column ) ) ; } }
Set properties for save, delete, or create queries.

@param QueryBuilder $query
@param array        $properties

@return void
Set properties for save delete or create queries .