Skip to content

BoLaMN/loopback-mixin-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loopback-mixin-count

adds header X-Total-Count with count of total rows works with relation methods aswell

  • npm install loopback-mixin-count --save

Setup

  mixins:
    Count:
      methods: [ 'find', 'findOne', '__get__relatedModelNamePlural' ]

License: MIT

About

adds header X-Total-Count with count of total rows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published