如果在使用的时候,需要频繁的去查复杂的表与表之间的关联关系时,关系型数据库更友好。
如果在使用的时候,需要频繁对数据进行读写操作时,文档类型数据库更友好。
数据类型:
String:字符串 Number:数字
Object:对象 Array:数组
Bool:布尔值 GeoPoint:地理位置点
Date:时间(指客户端时间) Null:字段存在值为空
图片来自慕课网,若侵权请告知删除