![]() Mongo: db.staff.insert()Ĭursor=staff.find(new BasicDBObject("position", "Senior Java Developer")) MySQL: INSERT INTO Staff (name, position) VALUES ('John Doe','Senior Java Developer') To better understand the differences see most common queries in MySQL, Mongo and Mongo Java API dialects. Basic types include string, integer, float, timestamp, binary, a document object, or an array. Set of documents (also referred to as objects)Ī key is a name (string) identifier and a value is a basic type. MongoDB terminologyĪs the NoSQL term suggests - things are a bit different in MongoDB then in the SQL world. Here is MongoDB Java primer that you can find useful before reaching for comprehensive MongoDB Java API docs. MongoDB is leader amongst NoSQL databases and all our Java hosting packages support it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |