struct
Meilisearch::Crystal::List(T)
- Meilisearch::Crystal::List(T)
- Meilisearch::Crystal::Resource
- Struct
- Value
- Object
Overview
A paginated Meilisearch collection.
Included Modules
- Enumerable(T)
Defined in:
meilisearch/crystal/resource.crConstructors
-
.new(pull : JSON::PullParser)
A paginated Meilisearch collection.
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#each(& : T -> ) : Nil
Must yield this collection's elements to the block.
- #from : Int64 | Nil
- #limit : Int32 | Nil
- #next : Int64 | Nil
- #offset : Int32 | Nil
- #results : Array(T)
- #total : Int32
Constructor methods inherited from struct Meilisearch::Crystal::Resource
new(pull : JSON::PullParser)new(*, __pull_for_json_serializable pull : JSON::PullParser) new
Macros inherited from struct Meilisearch::Crystal::Resource
define(name, &block)
define,
field(declaration)
field,
field!(declaration)
field!,
field?(declaration)
field?
Constructor Detail
Instance Method Detail
def each(& : T -> ) : Nil
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.