What's difference of static and methods?

334 views
Skip to first unread message

Raitucarp

unread,
May 24, 2013, 2:43:49 AM5/24/13
to mongoo...@googlegroups.com
What is the difference static and methods in mongoose?

Aaron Heckmann

unread,
May 24, 2013, 6:11:12 PM5/24/13
to mongoo...@googlegroups.com
statics are assigned to your model http://mongoosejs.com/docs/guide.html#statics

methods are inherited by documents  http://mongoosejs.com/docs/guide.html#methods




On Thu, May 23, 2013 at 11:43 PM, Raitucarp <ribhararnu...@gmail.com> wrote:
What is the difference static and methods in mongoose?

--
Documentation - http://mongoosejs.com/
Plugins - http://plugins.mongoosejs.com/
Bug Reports - http://github.com/learnboost/mongoose
Production Examples - http://mongoosejs.tumblr.com/
StackOverflow - http://stackoverflow.com/questions/tagged/mongoose
Google Groups - https://groups.google.com/forum/?fromgroups#!forum/mongoose-orm
Twitter - https://twitter.com/mongoosejs
IRC - #mongoosejs
---
You received this message because you are subscribed to the Google Groups "Mongoose Node.JS ODM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoose-orm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Aaron


Reply all
Reply to author
Forward
0 new messages