Tag: 字段

MongoDB:select所有字段+子集合中所有匹配的元素

这里是我的mongoosecollections的一个文件: { _id: 55ae7be99e772a7c025a0a7b, id: 'foo', isBoolean: true, kind: 'bar', values: [ { y: 0, x: Wed Aug 26 2015 11:12:56 GMT+0200 (Mitteleuropäische Sommerzeit), _id: 55ae7ae05596dd740eb8a204 }, { y: 0, x: Wed Aug 26 2015 11:12:57 GMT+0200 (Mitteleuropäische Sommerzeit), _id: 55ae7ae05596dd740eb8a203 }, { y: 1, x: Wed Aug 26 2015 11:12:56 GMT+0200 (Mitteleuropäische Sommerzeit); _id: […]