搜索小工具:https://github.com/super-l/superl-url
自动搜索指定关键词指定页数的结果并存储到 MySQL上
SQL | MongoDB |
---|---|
Database | Database |
Table | Collection |
Index | Index |
Row | Document |
Column | Field |
Joins | Embed in document or link via DBRef |
CREATE TABLE employee (name VARCHAR(100)) | db.createCollection("employee") |
INSERT INTO employees VALUES (Alex, 36) | db.employees.insert({name: "Alex", age: 36}) |
SELECT * FROM employees | db.employees.find() |
SELECT * FROM employees LIMIT 1 | db.employees.findOne() |
SELECT DISTINCT name FROM employees | db.employees.distinct("name") |
UPDATE employees SET age = 37 WHERE name = 'Alex' | db.employees.update({name: "Alex"}, {$set: {age: 37}}, {multi: true}) |
DELETE FROM employees WHERE name = 'Alex' | db.employees.remove({name: "Alex"}) |
CREATE INDEX ON employees (name ASC) | db.employees.ensureIndex({name: 1}) |
官方PDF: http://s3.amazonaws.com/info-mongodb-com/sql_to_mongo.pdf
MySQL 转 Mongo: http://www.querymongo.com/
整个上半年翻译、整理出了很多内容,也欠下了许多债,其中有些还呆在草稿箱里,要尽量都安排在6月30日前完结
【已完结】精通 Docker 第三版中文版,今天也终于结束了这本书的翻译,真心不错,很多扩展知识还有待梳理。
精通Python自动化脚本-运维人员宝典已翻译完成,是一本梳理运维相关知识不错的书,但如想深入了解感觉还是差了点意思