Skip to content

Consider replacing ToString bound for more precise bound #24

@pcpthm

Description

@pcpthm

Currently, query builder accepts ToString for its arguments. But this trait doesn't have definite semantics and many types implement this. Most of the instances are irrelevant to database query, such as error types (because it implements Display for human display of the error).
I'm not sure why just accepting String or impl Into<String> is not enough. Probably it should be.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions