-
maybe https://github.com/chriso/node-validator
-
Throws error when using Mongoose Single Embeds (https://mongoosejs.com/docs/subdocs.html#single-embedded)
```
let s1 = new mongoose.Schema({
name : {
type:String
}
})
let s2 =…
-
ch8 p413
await Comment.updateOne
await Comment.deleteOne
ch12 p591
await Room.deleteOne({ _id: roomId });
await Chat.deleteMany({ room: roomId });
-
This piece of the code can cause difficult to debug issues.
```
self.findOne(condition, function(err, result ) {
if (result) {
callback(err, result);
…
vibgy updated
9 years ago
-
(node:144856) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Liste…
-
## mlab
- https://mlab.com/login/
## 연동 참조
- https://velopert.com/594
- http://jdm.kr/blog/21
- http://poiemaweb.com/mongoose
## simple한 예시
- http://twowix.me/45
## RESTFULL API
- https://m…
-
I have a schema with virtual populate field http://mongoosejs.com/docs/populate.html
In the docs I can't find information about how to include these virtuals in hydrated results. There is informati…
-
- https://www.mongodb.com/docs/manual/changeStreams/
- https://www.mongodb.com/docs/manual/reference/change-events/
-
I'm trying to add a Point type to my schema which follows this format
```
point: {
type: "Point",
coordinates: [ 40, 5 ]
}
```
I figured the following approach would work
```
…
-
```
> EthereumClassicExplorer@0.2.0 start /opt/eth/explorer
> concurrently "node tools/sync.js " "node app.js"
[0] config.json found.
[0] Connecting 95.161.190.118:8545...
[0] (node:13032) Dep…