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

Add a method on FDBRecordStore to check if a record exists #196

Closed
alecgrieser opened this issue Nov 30, 2018 · 0 comments
Closed

Add a method on FDBRecordStore to check if a record exists #196

alecgrieser opened this issue Nov 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@alecgrieser
Copy link
Contributor

Currently, the only way to see if a record exists is to try and load the record. The FDB client doesn't really allow us to check for the presence of keys (at the moment), so the best we can do is something like read the record from the database but not deserialize it (and save some CPU work). If, at some point, the FDB client allows us to query for the presence of keys, we could theoretically change that function to save some network bandwidth as well.

@alecgrieser alecgrieser changed the title Method on FDBRecordStore to check if a record exists Add a method on FDBRecordStore to check if a record exists Dec 1, 2018
@alecgrieser alecgrieser added the enhancement New feature or request label Dec 1, 2018
@MMcM MMcM closed this as completed in b509f10 Dec 1, 2018
MMcM added a commit that referenced this issue Dec 1, 2018
Resolves #196: Add a method on FDBRecordStore to check if a record exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant