Sha256: 595a73d48c4ac6afcb7ce7eb64f240b461b492d47ffab90a49d290575d623e2b
Contents?: true
Size: 664 Bytes
Versions: 25
Compression:
Stored size: 664 Bytes
Contents
Collection === A collection contains multiple items. You can use any method that you also could call on an array (like count, [0], first etc.). ## Total `total` provides total amount of items (even if paginated). ## Limit `limit` provides amount of items per page. ## Offset `offset` provides how many items where skipped to start the current page. ## Offset / Limit / Pagination You can paginate by passing offset, and limit params. They will be forwarded to the backend. ```ruby data = Feedback.where(limit: 50) #<LHS::Data @_proxy=#<LHS::Collection>> data.count // 50 Feedback.where(limit: 50, offset: 51) #<LHS::Data @_proxy=#<LHS::Collection>> ```
Version data entries
25 entries across 25 versions & 1 rubygems