Archive for October, 2021
คำสั่ง Clear CRLF ของ Git
October 7, 2021
Leave a comment
git config core.autocrlf false
git rm –cached -r .
git reset –hard
Categories: Uncategorized
crlf, Git
คำสั่ง MongoDB ที่ใช้บ่อย
October 7, 2021
Leave a comment
ใช้หา field object ของ array ชุด
{store_id: 37976, items: {$elemMatch: {is_flashsale:1, store_campaign_id: { $ne: “851” }}}}
ค้นหาแบบกรอง datetime
{“updated_at” : {“$lte”: new Date(“2021-09-15T02:02:58.000Z”)}}
Categories: Uncategorized
mnogodb