mget() public static method
Gets a list of records by its primary keys.
| public static array mget ( array $primaryKeys, $options = [] ) | ||
|---|---|---|
| $primaryKeys | array |
An array of primaryKey values |
| $options | array |
Options given in this parameter are passed to elasticsearch as request URI parameters. Please refer to the elasticsearch documentation for more details on these options. |
| return | array |
The record instances, or empty array if nothing was found |
Please login to continue.