Download your Twitter archive when account is suspended
3 pointsby lostjohnny1 comments
db.orders.aggregate([
{
$lookup:
{
from: "warehouses",
let: { order_item: "$item", order_qty: "$ordered" },
pipeline: [
{ $match:
{ $expr:
{ $and:
[
{ $eq: [ "$stock_item", "$$order_item" ] },
{ $gte: [ "$instock", "$$order_qty" ] }
]
}
}
},
{ $project: { stock_item: 0, _id: 0 } }
],
as: "stockdata"
}
}
])
VS SELECT *, stockdata
FROM orders
WHERE stockdata IN (SELECT warehouse, instock
FROM warehouses
WHERE stock_item= orders.item
AND instock >= orders.ordered );
They are not as strong as you think then.
In countries where there are strong work protections law striking is a right, you don't get paid for the time you don't show up at work but you can obviously convince an entire department or an entire company workforce to go on strike, without consequences.
Without it the protection is not strong, it means an entire company against the individual worker, which is obviously unfair (regardless of what you think about work protections law, Google against a single human being it's an unfair battle, that's why "strong protection" means that the worker deson't have to fight alone and can call other workers to join the fight).