The Schema static method under mongoose reported an error is not a function?

  node.js, question

Fetch is as follows:
MovieSchema.static = {

fetch: function (cb) {
 return this
 .find({})
 .sort("meta.updateAt")
 .exec(cb)
 },
 findById: function (id, cb) {
 return this
 .findOne({_id: id})
 .exec(cb)
 bracket

};

The entry route file code is as follows:

app.get(“/”, function (req, res) {

Movie.fetch(function (err, movies) {
 if(err){
 console.log(err);
 bracket
 res.render('index',{
 'title':"imooc",
 movies: movies
 })
 });

})

The error was reported as follows:

TypeError: Movie.fetch is not a function

Atc: \ users \ administrator \ desktop \ project \Node\app.js:24:11
Handle [ashandle _ request] (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ layer.js: 95: 5)
Atnext (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ route.js: 131: 13)
Dispatch (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ route.js: 112: 3)
Handle [ashandle _ request] (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ layer.js: 95: 5)
Atc: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ index.js: 277: 22
Process _ params (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ index.js: 330: 12)
Atnext (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ express \ lib \ router \ index.js: 271: 10)
Error (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ serve-static \ index.js: 120: 7)
at emitOne (events.js:77:13)
at SendStream.emit (events.js:169:7)
Error (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ send \ index.js: 245: 17)
Onstaterror (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ send \ index.js: 356: 12)
Atnext (c: \ users \ administrator \ desktop \ project \ node \ node _ modules \ send \ index.js: 658: 28)
Atc: \ users \ administrator \ desktop \ project \ node \ node _ modules \ send \ index.js: 666: 23
at FSReqWrap.oncomplete (fs.js:82:15)

Atc: \ users \ administrator \ desktop \ project \ node \ node _ modules \ send \ index.js: 666: 23
at FSReqWrap.oncomplete (fs.js:82:15)

I guess maybeSchemeStatic methods of need to be compiled intoModelTo use, see the document for details.mongoosejs.com/docs/api.html#schema_Schema-static.