@deiden26 That said, you're not going insane, the package manager has been delayed in updating packages simply because npm resets their counter every once in awhile, and doesn't automatically notify nbbpm in any way. Will code a fix for it today so hopefully this is the last we'll hear of it.
It`s hard to take Select Where from nodebb using MongoDb
-
I just want to select users id, where "fbid" not equal " "(is exists).
I try in mongo shell executedb.objects.find({_key:"users:uid"}, {fbid: {$ne: ""}})
Error: error: {
"waitedMS" : NumberLong(0),
"ok" : 0,
"errmsg" : "Unsupported projection option: fbid: { $ne: "" }",
"code" : 2
}and
db.objects.find({_key:"users:uid"}, {$where:"this.fbid != ''"})
show me nothing. What am I doing wrong? thx in advise.
-
@dread said in It`s hard to take Select Where from nodebb using MongoDb:
db.objects.find({_key:"users:uid"}, {fbid: {$ne: ""}})
Try
db.objects.find({_key: /^user:\d+/, fbid: {$ne:""}})
and
db.objects.find({_key: /^user:\d+/, fbid: {$exists:true}})
-
@baris thank`s a lot! db.objects.find({_key: /^user:\d+/, fbid: {$exists:true}}) - perfect query for me!