Skip to content
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

Open
tqwewe opened this issue Jun 13, 2021 · 0 comments
Open

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

tqwewe opened this issue Jun 13, 2021 · 0 comments

Comments

@tqwewe
Copy link

tqwewe commented Jun 13, 2021

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant