These are chat archives for deployd/deployd

15th
Sep 2016
thbl
@thbl
Sep 15 2016 12:45
@chachan thanks will look into that :P
@rgolea remember this query you once send me ? :)
if(event === "GET"){
query.company = me && me.company
}
Rares Golea
@rgolea
Sep 15 2016 12:48
yes
thbl
@thbl
Sep 15 2016 12:48
you got any doc for the query ?
wanna dp query.xxx = xx&& xx || "this"
but i won't do the or
Rares Golea
@rgolea
Sep 15 2016 12:48
what?
oh!
thbl
@thbl
Sep 15 2016 12:49
hehe you understand ? :smile:
Rares Golea
@rgolea
Sep 15 2016 12:49
query.xxx = {$or: [xx&&xx, "this"]}
included in mongodb
is this what you were asking for?
thbl
@thbl
Sep 15 2016 12:51
yea :smile:
but it gives an error :worried:
message": "invalid operator: $or",
"stack": "MongoError: invalid operator:--.........................................
Rares Golea
@rgolea
Sep 15 2016 12:52
uups
query.$or =[{xxx: xx&&xx}, ....
thbl
@thbl
Sep 15 2016 12:58
thanks works perfect now :D