Skip to content

ActiveRecord-like sanitization on filter #618

Open
@ellnix

Description

@ellnix

While Meilisearch is not meant to be a database in the traditional sense, I think it's possible for sensitive data to end up in indexes.

I think we should support sanitized parameters in methods like filter, similar to ActiveRecord, by having ? and ?<number> as placeholders and successive arguments that fill in the placeholders.

This issue is just as stub for high level discussion, since I would like to research how ActiveRecord does it before talking about implementation details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions