Skip to content

How do I need to use map[string]interface in the project to correspond to the map[string]int/map[string]string type in the database #799

Open
@DGuang21

Description

@DGuang21

**Is your feature request related to an issue? Please describe. **
A clear and concise description of the problem. predecessor. when […]

I want to use map[string]interface in the project to correspond to the map[string]int/map[string]string type in the database

Describe your desired solution
A clear and concise description of what you want to happen.

Flexible, supports arbitrary conversion between int/uint/string types, you can use map[string] interface type scan/append row

Describe the alternatives you have considered
A clear and concise description of any alternative solutions or features you've considered.

#794, a small part has been completed, it seems that the code changes will not be too much, and already supports int/uint/string type conversion, as well as map[string ]interface select/insert

Metadata

Metadata

Assignees

No one assigned

    Labels

    stalerequires a follow-up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions