SollmoStudio / beyond

Beyond: The Scalable Game Server Framework
http://www.beyondframework.com
Apache License 2.0
25 stars 9 forks source link

Example for $where query seems not working. #222

Open murmur76 opened 9 years ago

murmur76 commented 9 years ago

https://github.com/SollmoStudio/beyond/wiki/Beyond-DB-API-Query#example

In this example, where method is used with callback function that receives document as an argument. But it does not work and mongodb's document says we should use this or obj instead of callback argument.

For me, I still prefer example's style but seems hard to support it. May we change the example?