(query: Filter<MessageDoc> = {})
| 58 | |
| 59 | @ArgMethod |
| 60 | static count(query: Filter<MessageDoc> = {}) { |
| 61 | return MessageModel.coll.countDocuments(query); |
| 62 | } |
| 63 | |
| 64 | static getMulti(uid: number) { |
| 65 | return MessageModel.coll.find({ $or: [{ from: uid }, { to: uid }] }); |
nothing calls this directly
no outgoing calls
no test coverage detected