Skip to content

Don't cast numeric strings to integers when they are explicitly defined as a string in the ORM prototype #2

@joepie91

Description

@joepie91

Currently the database abstraction code will attempt to cast all whole numeric strings to integers, no matter where the data comes from.

The query method should have some way of informing it of explicit datatypes, to prevent this conversion if the parameter is explicitly configured as a 'string' in the prototype of an ORM class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions