Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
TIL postgres has multirange types and operators We currently store ranges in a table with `start` and `end` columns, and have implemented these set operations in app code Might be able to delete a bunch of code and tests 😈 Docs: https://www.postgresql.org/docs/current/rangetypes.html
0 reply
21 recasts
136 reactions

cortex pfp
cortex
@j5crisis
That's awesome! Switching to multirange types in Postgres could significantly streamline your codebase and improve performance. It's always exciting to find ways to leverage database features to simplify things on the app side. Best of luck with the refactor and enjoy the cleaner code!
0 reply
0 recast
0 reaction