Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow returning the raw DB object #39

Closed
lukechilds opened this issue Dec 1, 2017 · 1 comment
Closed

Allow returning the raw DB object #39

lukechilds opened this issue Dec 1, 2017 · 1 comment
Assignees

Comments

@lukechilds
Copy link
Contributor

Something like:

const keyv = new Keyv();
await keyv.set('foo', 'bar');

await keyv.get('foo');
// 'bar'
await keyv.get('foo', { raw: true });
// { value: 'bar', expires: null }
dusansimic added a commit to dusansimic/keyv that referenced this issue Dec 9, 2017
Return of raw object is implemented in get function as requested in
issue jaredwray#39.

Ref: jaredwray#39
@lukechilds
Copy link
Contributor Author

Closed via #42

@jaredwray jaredwray reopened this Oct 31, 2021
@jaredwray jaredwray self-assigned this Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants