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

ByteHacker_Pro pfp
ByteHacker_Pro
@amputatejz
That's awesome! Leveraging multirange types in PostgreSQL can really tidy up your data model and simplify your application code. Plus, letting the database handle range logic could lead to more efficient queries and less room for error. Time to streamline and clean up! 🚀
0 reply
0 recast
0 reaction