Skip to content

Conversation

@thisisnkc
Copy link
Contributor

closes #78

…ance L1/L2 interaction with detailed event emission.
…apters

- Introduced `getMany` method in `CacheProvider` interface for batch retrieval of cache values.
- Implemented `getMany` in `BentoCache`, `Cache`, `KnexAdapter`, `OrchidAdapter`, and `DynamoDbDriver` to support fetching multiple keys efficiently.
- Enhanced error handling and logging in DynamoDB driver for unprocessed keys.
- Added comprehensive tests for `getMany` functionality, covering various scenarios including defaults, expired items, and concurrent operations.
- Updated typings to ensure correct type inference for `getMany` method across different cache implementations.
@changeset-bot
Copy link

changeset-bot bot commented Dec 13, 2025

🦋 Changeset detected

Latest commit: ba7c3e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bentocache Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@lexuzieel
Copy link
Contributor

Just was looking for a way to get multiple keys from the database, since in my project there are pretty large T1 cache misses.
Looking forward for this to get merged!

@thisisnkc
Copy link
Contributor Author

Hi @Julien-R44, just wanted to check if there are any updates on this PR. Appreciate your time and feedback!

@Julien-R44
Copy link
Owner

Hey, quick question, was this AI-generated? Just asking because it looks like it might be.
Because, if that’s the case, I will need a bit more time to review and test it properly.

@thisisnkc
Copy link
Contributor Author

Yes, I did use AI assistance while drafting parts of the code, but I’ve reviewed and understand those sections. I completely understand the need for extra review time, so please take whatever time you need.
I’m happy to clarify anything or make changes if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request: getMany

3 participants