标签: laravel eloquent limit
我需要在laravel 5中制作from,to(two)value mysql limit query 如何在下面给出的Laravel查询中转换此查询 SELECT * FROM games LIMIT 5,10
games
答案 0 :(得分:1)
使用take()和skip():
take()
skip()
User::skip($from)->take($to)->get();