pis #12

Merged
fred.boniface merged 95 commits from pis into main 2023-05-06 21:54:51 +01:00
1 changed files with 13 additions and 13 deletions
Showing only changes of commit 3017981090 - Show all commits

View File

@ -16,9 +16,9 @@ async function findPisByOrigDest(start,end) {
]
},
$expr: {
$eq: [
{ $arrayElemAt: [ "$stops", 0 ] },
firstCrs
$and: [
{ $eq: [{ $arrayElemAt: [ "$stops", -1 ] }, lastCrs] },
{ $eq: [{ $arrayElemAt: [ "$stops", 0 ] }, firstCrs] }
]
}
}