i'd like to install mongodb 3.4 on a raspberry pi 3 running the latest raspbian.
on their repos i can only find old versions of mongodb.
how can i compile from source? i mean, is it just downloading the source an configure/make?
just asking because of architecture being arm64
just checked the sources. scons, after all...
my question remains, though: any special advise for rpi3/arm64?
How can I retrieve all documents in a collection for which two particular fields of the same document do *not* equal one another?
you can't compare two fields in the same document, without using the aggregation framework
Derick: That's fine, I'm doing that anyway
the example in https://docs.mongodb.com/manual/reference/operator/aggregation/eq/
has a [ "$qte", 250 ] - just replace that with [ "$field1", "$field2" ]
Derick: Ah, thank you
Derick: Wait, I don't want to do a $project, I want to do a $match
I am using ruby and mongodb and I can't seem to find how to have a collection formatted into json
BlueProtoman: you can do a match on the result of a project
BlueProtoman: bed time now
nvm got it