|
15 | 15 | use EventEngine\DocumentStore\Filter\Filter; |
16 | 16 | use EventEngine\DocumentStore\Index; |
17 | 17 | use EventEngine\DocumentStore\OrderBy\OrderBy; |
| 18 | +use EventEngine\DocumentStore\PartialSelect; |
18 | 19 |
|
19 | 20 | trait InnerDocumentStore |
20 | 21 | { |
@@ -170,18 +171,29 @@ public function getDoc(string $collectionName, string $docId): ?array |
170 | 171 | } |
171 | 172 |
|
172 | 173 | /** |
173 | | - * @param string $collectionName |
174 | | - * @param Filter $filter |
175 | | - * @param int|null $skip |
176 | | - * @param int|null $limit |
177 | | - * @param OrderBy|null $orderBy |
178 | | - * @return \Traversable list of docs |
| 174 | + * @inheritDoc |
179 | 175 | */ |
180 | 176 | public function filterDocs(string $collectionName, Filter $filter, int $skip = null, int $limit = null, OrderBy $orderBy = null): \Traversable |
181 | 177 | { |
182 | 178 | return $this->documentStore->filterDocs($collectionName, $filter, $skip, $limit, $orderBy); |
183 | 179 | } |
184 | 180 |
|
| 181 | + /** |
| 182 | + * @inheritDoc |
| 183 | + */ |
| 184 | + public function findDocs(string $collectionName, Filter $filter, int $skip = null, int $limit = null, OrderBy $orderBy = null): \Traversable |
| 185 | + { |
| 186 | + return $this->documentStore->findDocs($collectionName, $filter, $skip, $limit, $orderBy); |
| 187 | + } |
| 188 | + |
| 189 | + /** |
| 190 | + * @inheritDoc |
| 191 | + */ |
| 192 | + public function findPartialDocs(string $collectionName, PartialSelect $partialSelect, Filter $filter, int $skip = null, int $limit = null, OrderBy $orderBy = null): \Traversable |
| 193 | + { |
| 194 | + return $this->documentStore->findPartialDocs($collectionName, $partialSelect, $filter, $skip, $limit, $orderBy); |
| 195 | + } |
| 196 | + |
185 | 197 | /** |
186 | 198 | * @param string $collectionName |
187 | 199 | * @param Filter $filter |
|
0 commit comments