Can we set default value for limit in loopback framework find API?

后端 未结 0 1800
被撕碎了的回忆
被撕碎了的回忆 2021-01-19 13:34

I have a API http://localhost:3000/todos?filter[where][type]=read&filter[limit]=2

Want to specify default limit as 20 and also want to validate limit

相关标签:
回答
  • 消灭零回复
提交回复
热议问题