Constructors
constructor
-
Parameters
-
values: Array<any> | Promise<Array<any>>
Methods
[Symbol.asyncIterator]
- [Symbol.asyncIterator](): AsyncIterator<T>
toArray
- toArray(__namedParameters?: object): Promise<T[]>
- toArray(options?: object): Promise<T[]>
-
Parameters
-
Default value __namedParameters: object = {}
-
Parameters
A collection of related model instances.
This collection can be async-iterated or turned directly into an array using
toArray()
.