Skip to content

[Docs] How does projection work in Rust? #80

@wbrickner

Description

@wbrickner

Hello,

wondering how this library can support document projection if not every field is an Option<T>?

For instance if I only want one field from matching documents, how is this possible in Wither, which returns my struct back to me?

It is supported under options, but I think deserialization will fail in this case, otherwise the application will have entered an unsound state.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions