Skip to content

Allow Option::None as null expr in select queries #2826

@angrynode

Description

@angrynode

Following this comment: angrynode/hightorrent#26 (comment)

I'm sorry i dont understand sea-query architecture to make the PR myself. Though if you point me in the right direction i may be able.

Since inserting None produces null in the DB, I feel like it would be a great addition to allow querying by Option::None.

But maybe there are reasons beyond my comprehension why it's not so. If so, i can make a PR to mention that in the newtype docs, but maybe it should be added elsewhere too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions