Skip to content

Mark query builder functions as const function #665

Description

@Evian-Zhang

Motivation

I'm new to this crate. and during my experience of writing ORMs, I think it is wise to mark query builder functions as const functions. In most situations, one query corresponds to one static string, which we can define them in const environments. However, current implementation of query builders does not contain a const mark, while I didn't find something prevents doing so.

Proposed Solutions

Mark query builder functions as const function.

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