triniwiz / triniwiz/nativescript-plugins
[Couchbase] TypeError: CBLQueryExpression.property(...).between is not a function
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 87
- Forks
- 57
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 4
Description
I'm using Couchbase plugin on android for some time now and had zero issues.
I ran one of our apps on an Apple device for the first time and the following error occured:
TypeError: CBLQueryExpression.property(...).between is not a function
I use latest version of plugin and my apple device runs os 13.5.
I tried to log between function inside plugin sources and it returns undefined.
Additionally, after checking Couchbase lite docs, I found out this function is a pair with and.
https://docs.couchbase.com/mobile/2.8.0/couchbase-lite-objc/Classes/CBLQueryExpression.html#/c:objc(cs)CBLQueryExpression(im)between:and:
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start at the CBLQueryExpression.property(...).between entry point in the plugin sources and compare its Apple-platform implementation with the Android behavior. Use the linked Couchbase Lite documentation to verify the between/and API contract, then reproduce the query on an Apple device. Done means between is available and behaves consistently on the affected platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, javascript
- Domain
- databases, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100