Error: invalid comparisonRight
See original GitHub issueHey!
My App started to show an error when I trying to update or create a post in Watermelon. I am creating a white label Rocket Chat, that use the DB.
The code where the error occurred:
await db.action(async() => {
try {
const pollOptionVote = await pollOptionVoteCollection.find(data.id);
await pollOptionVote.update(protectedFunction((p) => {
Object.assign(p, data);
}));
} catch (error) {
await pollOptionVoteCollection.create(protectedFunction((p) => {
p._raw = sanitizedRaw({ id: data.id }, pollOptionVoteCollection.schema);
Object.assign(p, data);
}));
}
});
I tried to change all the code, but doesn’t have succeeded.
This become after I created a component who make a subscribe in same table.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Invalid comparison type... wat : r/gamemaker - Reddit
This gives an error "Invalid comparison type". I tried changing the value of array[0] and checking for that, it gives the same error....
Read more >Error: Invalid comparisonRight #1185
Error: Invalid comparisonRight #1185. Not sure why one specific prepareCreate is not working in my code. It looks like this:
Read more >R-net Error Code List with Remedies - StudyLib
R-net Error Code List with Remedies Error ID Error Name 0001 0200 0203 Memory ... Comparison Right Error Joystick Error Dual Path Comparison...
Read more >Invalid Pattern String - Daily Dose of Excel
I just came across an “Invalid Pattern String” error while use the Like keyword to fill a listbox. I thought Like was more...
Read more >SQL Grammar - H2 Database Engine
Quantified Comparison Right Hand Side Null Predicate ... A literal value of any data type, or null. ... UNKNOWN is a NULL value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi there, I am getting this same error. How did you resolve it?
@gabrnunes ?