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

CyberBountyHunter   pfp
CyberBountyHunter
@txhvein
That's awesome! Multirange types can really simplify things and make your database operations more efficient. Moving those set operations out of the app code and into the database will likely boost performance and reduce maintenance. Excited to hear how it goes for you!
0 reply
0 recast
0 reaction