Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Support Option<Option<T>> for updating columns to be null #101

@tqwewe

Description

@tqwewe

In some other libraries such as Diesel, it has support for Option<Option<T>> for an update struct.

This adds the following functionality:

  • None - Don't update the column
  • Some(None) - Update the column to be null
  • Some(Some(value)) - Update the column to be value

Is this currently supported or planned to be supported?

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