Using find() with the MySQL Document Store
The Video The find() function for the MySQL Document Store is a very powerful tool and I have just finished a handy introductory video. By the way -- please let me have feed back on the pace, the background music, the CGI special effects ( kidding! ), and the amount of the content. The Script For those who want to follow along with the videos, the core examples are below. The first step is to connect to a MySQL server to talk to the world_x schema (Instructions on loading that schema at the first link above). \connect root@localhost/world_x db is an object to points to the world_x schema. To find the records in the countryinfo collection, use db.countryinfo.find() . But that returns 237 JSON documents, too many! So lets cut it down to one record by qualifying that we only want the record where the _id is equal to USA , db.countryinfo.find(‘_id = “USA”’) Deeper Level items in the Document You can reach deeper level items by providing the path to the object such a...



