TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hands-on with Remodel: A New Python ODM for RethinkDB

18 pointsby mglukhovskyover 10 years ago

3 comments

robbiepover 10 years ago
I don&#x27;t know much about databases and which way to best do things but in the past 6 months I have been building lots of things in flask and do it&#x27;s a problem I&#x27;m increasingly becoming acquainted with.<p>I wonder: -is it useful to not have a defined data structure? I would k it makes it slightly more verbose when you are trying to update elements to have to refer to the key value pair rather than just the foot notation style -does this mean that you don&#x27;t need to redefine a data structure&#x2F;model if you add additional elements? -apart from what looks looks an elegant syntactical structure for data queries, are there any specific advantages to this approach?<p>Thanks for your help in increasing my understanding
StavrosKover 10 years ago
RethinkDB keeps looking better and better. That aside, I have recently been convinced of the huge advantages of a strict schema on your data. It&#x27;s just very very useful to <i>know</i> that your data will be a specific type when loaded.<p>In cases where we didn&#x27;t enforce that (e.g. allowing nulls when we shouldn&#x27;t have, or using a JSON blob), it came back to bite us in the ass.
dmritard96over 10 years ago
Nice, I have been holding off on using rethinkdb for my web apps until there was a nice odm, i&#x27;ll certainly give it a look although I must admit that postgres has been pretty great for us.