There seems to be lost capability in DP4 compared to DP3 when I attempt to access specific documents. With DP3, if I wanted to see all of the contents of one document I would do something like “SELECT * FROM default KEY ‘document_name’” or “SELECT * FROM default WHERE Meta().id=‘document_name’”. When I attempt these commands now I get:
“msg”: “syntax error”
with "SELECT * FROM default KEY ‘document_name’
“msg”: “Wrong number of arguments to function Meta.”
with “SELECT * FROM default WHERE Meta().id=‘document_name’”.
Is there another way I would need to go about doing this now or is this something that is being worked out.
I noticed in the new language reference that the Meta() function now seems to expect an expression in the parentheses as the name of the document. I also tried using Meta(‘document_name’).id=‘document_name’, which returns an empty result set.