5 ms·
We're actually working on adding commands to ReQL to make queries a lot simpler. (It turns out that just a few commands that are very easy for us to implement c
by coffeemug 13y ago
We're actually working on adding commands to ReQL to make queries a lot simpler. (It turns out that just a few commands that are very easy for us to implement can make enormous difference)
If you can, would you mind giving examples of things you'd like to do that are hard? We'd love to make it easy, and we think we've got most common things covered in the next release, but if there's something specific you have in mind we'd really appreciate it.
- hoodoof 13y agoThe basic stuff needed to let a beginner developer write a web app should be super super simple. REALLY simple. No map no reduce nothing hard. Here are some of the basic examples of typical things people might need to do when writing a web app: How do I select records based on a value in an array? How would I find all records whose name begins with "star" i.e. 'Star Trek' 'Star Base' 'Star Wars' 'Star Anise' I have records which contain an array of email addresses. How would I get all documents which contain one or more of a list of email addresses? How would I add a where clause to my queries to ensure for example that the "status" field in my document equals "open"? How would I implement paging through a result set? How would I implement count to control the number of records returned during paging? What is the right way to store dates in ReThinkDB so that they can be queried? How would I select all documents in a date range? How do I do queries on fields that are within other fields in my JSON structure? How do I do wildcard searches? How do I define which fields are returned from my query, or does it always return the entire document? How do I make sure that I do not add documents to the database that are missing required fields, thereby breaking all queries that do not contain those required fields? It should be incredibly easy (and well documented) to do all the above. I wanted to work with ReThinkDB but chose a different database because I was so intimidated by the query writing.
- coffeemug 13y agoThank you, this is phenomenal feedback!! Most of these are already very simple, and the ones that aren't will become very simple soon. Michel (@neumino on github) is working on improving the docs right now, and I will pass this list on to him. We'll get this documented ASAP. Thank you again, this is incredibly helpful!
- hoodoof 13y agoI look forward to returning to RethinkDB. Great product and the developers are so friendly and helpful. Good attitude.