best way to query json or xml (or document based databases) [on hold]



My question is simple. What's the best way to query a JSON or XML document, or series of documents?


This seems to be a common structure these days instead of SQL for API purposes.


I mean, say you have a semi-structured JSON or XML document that lists a bunch of books and their attributes contained within a given library.


You want to find the number of unique books in the library written by JK Rowling.


This would be trivial in SQL. How would you do this in a document database? Thanks!


No comments:

Post a Comment