Skip to content

Map underscore to camel case for SqlColumn objects #272

Closed
@ghost

Description

When I query data with CommonSelectMapper.selectManyMappedRows() method, it can't map underscore to camel case automatically, I have to specify an alias for every cloumn, I think we can do something to improve this.

The way I can think of is to add a method like asCamelCase for SqlColumn class, which can convert the name of the column to camel case, and return a new SqlColumn object, what do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions