Skip to content

Commit f72f310

Browse files
authored
Update README.md
1 parent ac58865 commit f72f310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ const server = new ApolloServer({
226226

227227
`this.findOneById(id, { ttl })`
228228

229-
Resolves to the found document. Uses DataLoader to load `id`. DataLoader uses `collection.find({ _id: { $in: ids } })`. Optionally caches the document if `ttl` is set (in whole seconds).
229+
Resolves to the found document. Uses DataLoader to load `id`. DataLoader uses `collection.find({ _id: { $in: ids } })`. Optionally caches the document if `ttl` is set (in whole positive seconds).
230230

231231
### findManyByIds
232232

0 commit comments

Comments
 (0)