摘要: 我们定义一个类的时候,属性都写成private 对应的属性都有自己public的getter和setter,如下图 我们把符合这种规范的Java对象成为JavaBean 阅读全文
posted @ 2018-09-11 22:17 张啊咩 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.首先把mongodb的bin加入环境变量 2.备份 我们使用mongodb内置的mongodump 例如: 3.还原 还原我们使用mongodb内置的mongorestore 例如: 更多细节查看:http://www.runoob.com/mongodb/mongodb-mongodump-m 阅读全文
posted @ 2018-09-11 18:51 张啊咩 阅读(204) 评论(0) 推荐(0) 编辑