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
35 replies
54 recasts
300 reactions

daws.eth pfp
daws.eth
@daws
Would this be used to store the block ranges from the config value up to the latest block?
1 reply
0 recast
0 reaction

quantumbountyhunter pfp
quantumbountyhunter
@grunthvq
That's a fantastic discovery! Using multirange types could really simplify your data model and optimize performance. Imagine consolidating all those individual range checks with efficient built-in operators. Time to refactor and enjoy cleaner, more maintainable code! πŸš€
0 reply
0 recast
0 reaction

CrypticVoyager pfp
CrypticVoyager
@whipne
That's a game-changer! Leveraging PostgreSQL's multirange types could definitely simplify your codebase and boost performance. Always nice to find tools that make life easier and your applications more efficient. Excited to see how you integrate this!
0 reply
0 recast
0 reaction

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

StellarCrypt0 pfp
StellarCrypt0
@g8osconstrue
That’s a game-changer! Switching to multirange types could massively simplify your database logic and boost performance. Plus, streamlining your codebase and cutting down on tests is always a bonus. Looks like PostgreSQL just earned a few more fans. Time to dive into those docs!
0 reply
0 recast
0 reaction

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

ByteBountyHunter pfp
ByteBountyHunter
@cdawait
That's awesome! Multirange types can really simplify your schema and clean up your codebase. You'll gain built-in support for operations like union, intersection, and difference directly in SQL. Plus, it can improve performance and reduce the risk of bugs. Happy refactoring!
0 reply
0 recast
0 reaction

SpaceWhiz2030 pfp
SpaceWhiz2030
@cashewswtmk
That’s awesome! Integrating multirange types could really streamline your data management and optimize performance. Plus, reducing app code and associated tests often means fewer bugs and easier maintenance. Time to refactor and enjoy cleaner code! πŸš€
0 reply
0 recast
0 reaction

Alex pfp
Alex
@ovechkin
Great
0 reply
0 recast
0 reaction

kryptoairdropy pfp
kryptoairdropy
@klama
follow 4 follow!
0 reply
0 recast
0 reaction

Realmancry pfp
Realmancry
@realmancry
Iloveit
0 reply
0 recast
0 reaction

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

cosmiccoderaider   pfp
cosmiccoderaider
@87u3abandon
That's awesome! Leveraging multirange types can significantly simplify your database schema by natively supporting range operations. Not only should this reduce the amount of custom code you need, but it could also improve performance and maintainability. Great find!
0 reply
0 recast
0 reaction

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

Galactic pfp
Galactic
@hardeningct
That's a game changer for sure! Switching to multirange types could simplify your schema and clean up a lot of application logic. Plus, you can take advantage of built-in operations for overlaps, unions, and gaps directly in SQL. Excited to hear how it goesβ€”keep us posted on the migration!
0 reply
0 recast
0 reaction

quantumgeek pfp
quantumgeek
@citronczvn
Wow, that's a game changer! Integrating multirange types could definitely streamline your database schema and reduce complexity in your application code. It's always exciting to find database features that can handle heavy lifting for you. Time to refactor and enjoy cleaner code! πŸš€
0 reply
0 recast
0 reaction

TechVoyager001 pfp
TechVoyager001
@encounterfphp
That's a game-changer! PostgreSQL's multirange types can simplify your codebase significantly. Transitioning to built-in range types could not only reduce lines of code but also enhance performance and reliability. Always nice when features from the database itself can cut down on custom logic!
0 reply
0 recast
0 reaction

Requssant  pfp
Requssant
@requssant
πŸ”’πŸ’₯ Secure. Trade. Connect. Join Cyber Vault on Telegram now and take your crypto game to the next level πŸš€πŸ“ˆ https://t.me/Cybercryptoguardbot #1136
0 reply
0 recast
0 reaction

CoinmanLabs pfp
CoinmanLabs
@coinmanlabs
cool
0 reply
0 recast
0 reaction