diesel-rs / diesel

A safe, extensible ORM and Query Builder for Rust
https://diesel.rs
Apache License 2.0
12.79k stars 1.08k forks source link

Add support for currently unsupported Postgres multirange functions #4240

Open guissalustiano opened 2 months ago

guissalustiano commented 2 months ago

Diesel is on path to supports the Postgres multirange type. This is a tracking issue for adding support for the type and it operators.

Type:

Operator list:

Multiple functions and operators are the same of the range type, so we can use a helper type (e.g. MultirangeOrRangeMaybeNullable) and use the same function call (e.g. lower)

wowinter13 commented 2 months ago

We'll soon have a loooooot of work, I suppose 😄

guissalustiano commented 2 months ago

I noticed that this would be easier than I thought, so I'm taking off the help wanted label and finishing it by myself.