FindById doesn't use Cloudant Read by Id method
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- databases
Research direction
Start by locating the FindById entry point and the code that currently issues the Cloudant _find query. Read the Cloudant Read-by-Id method documentation and determine how it should be selected for findById; done means the requested path uses Read and its behavior is covered by the relevant connector tests, if present.
Written by the indexing model from the issue text.
Description
The FindById is not actually using Cloudant's Id Lookup method ('Read'), rather it uses a standard query (_find), which is 10x more expensive. Is there an option that uses a Read for the findById function?
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from loopbackio/loopback-connector-cloudant
-
breaking-change p2
loopbackio/loopback-connector-cloudant#253 · 4 comments · 1 assignee ·
All issues in loopbackio/loopback-connector-cloudant
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·