Hi,
19 is the number for the decimal type: https://docs.mongodb.com/manual/reference/operator/query/type/. This means that the MongoDB driver gets the correct info that we want to query price with a condition that has a decimal, but it does not allow it for some reason. Unfortunately I do not know why that is. What happens if you just use {"price" : 30.0)}?
Kind regards,
Alexander
Hello.
If price is stored in mongodb as a string ({“price” : 30.0)}) reading from mongodb is no problem. If database is large converting from decimal to string values before read by knime is really problematic. (needs write permissions etc.)
Hi,
I do not understand this. {“price” : 30.0)} does not store the value as a string but as a number, isn’t it? String would be {“price” : “30.0”)}.
Kind regards,
Alexander