My experience is with MongoDB as well and although I have gotten used to 
the syntax, I dislike the fact that 1. you need to learn a 'new' syntax for 
every system 2. that you have a function call with 7 different parameters 
for each query you run which is IMHO rather unreadable (especially in 
combination with point 1). Secondly, do you realize that the UnQL effort 
has a lot in common with JSON notation to describe it that way? In other 
words, the thing I believe you call "easy to understand" would still exist.

Few examples:
INSERT INTO abc VALUE ["this","is","an","array"];
INSERT INTO abc VALUE { type: "message", content: "This is an object" };
INSERT INTO abc VALUE {   type:"nested",   content: {     content: "nested 
object",     x:1,     y: {str:"hi", str2:"there"},     z:*true *  } }; SELECT 
FROM abc WHERE abc.type=="message"

For more complex examples you would have to check the links in the original 
message, but you can hardly call this harder to understand than the 
mongocollectionfind function (and as far as I am concerned a lot easier.)

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

     Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to