Skip to content

Getting / setting attributes should be case insensitive #35

@ipundit

Description

@ipundit

Currently,

$model->attrCamelCase != $model->ATTRCAMELCASE != $model->attrcamelcase

even though MySQL and Postgres's table attributes are case insensitive. The test suite works around this problem by strtoupper() attributes for the model fixtures. This is better to be implemented in the Model.php class itself so that users don't have to reinvent this wheel over and over again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions