首页 > Nosql如何去掉前面的ID?

Nosql如何去掉前面的ID?

{ "_id": { "$oid": "54c065956621eb77b3ac11d3" }, "birthday": null, "email": null, "password": "1234", "phoneNumber": "1234567890", "sex": 0, "userId": 34567891, "userImage": "1234567890.png", "username": null }

如何写userbean,尤其是那个 $oid 该怎么处理?


你这个应该是用MongoDB吧~
MongoDB只是NoSQL中的一种~
另~MongoDB是支持你自己重写ID的

【热门文章】
【热门文章】