odmantic icon indicating copy to clipboard operation
odmantic copied to clipboard

Dump an model excluding `none` values

Open d3cryptofc opened this issue 1 year ago • 0 comments

Feature request

Context

I don't want to waste database space writing empty data.

Solution

Adding exclude_none paramater to model_dump_doc would solve the problem.

d3cryptofc avatar Oct 27 '24 20:10 d3cryptofc