See more
…', UserSchema) you’re binding the layout of the schema to the model which is named 'User' . This is what you will be using to access the data in the database, and that’s exactly why you are exporting it t…
…', UserSchema)
'User'
…iz de dados. Um resource collections também adicionará automa…iz de dados. Um resource collections também adicionará automaticamente informações de paginação aos dadps de meta e links.