Query is equal,
hasone return the first instance from the collection,hasmany return the whole collection.
Query is equal,
hasone return the first instance from the collection,hasmany return the whole collection.
转载于:https://www.cnblogs.com/ybleeho/p/9772902.html