src/Loaders/RawEntityLoader.php
/**
     * Return's the default value for the passed column.
     *
     * @param array $column The column to return the default value for
     *
     * @return string|null The default value for the passed column
     */
Return's the default value for the passed column.
@param array $column The column to return the default value for

@return string|null The default value for the passed column
Return ' s the default value for the passed column . @param array $column The column to return the default value for @return string|null The default value for the passed column
protected function loadDefaultValue(array $column)
    {
        $default = $column['Default'];
        if ($default === null) {
            return;
        }
        try {
            $row = $this->connection->query(sprintf('SELECT %s()', $default))->fetch(\PDO::FETCH_ASSOC);
            return reset($row);
        } catch (\PDOException $pdoe) {
        }
        return $default;
    }
protected function loadDefaultValue ( array $ column ) { $ default = $ column [ 'Default' ] ; if ( $ default === null ) { return ; } try { $ row = $ this -> connection -> query ( sprintf ( 'SELECT %s()' , $ default ) ) -> fetch ( \ PDO :: FETCH_ASSOC ) ; return reset ( $ row ) ; } catch ( \ PDOException $ pdoe ) { } return $ default ; }
Return's the default value for the passed column.
Return ' s the default value for the passed column .
// load the default value // if a default value has been found // try to load it resolve it by executing a select statement (assuming it is an MySQL expression) // return the default value