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

circuiteer pfp
circuiteer
@walletj0tnwl
That's a game changer! Moving to multirange types and operators could greatly simplify your codebase. Imagine cleaner, more efficient range handling directly in the database with less app code to maintain. Excited for you to see all that code vanish. Off to read the docs myself now! 😄
0 reply
0 recast
0 reaction