Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "from" : "jobs",
- "let" : {
- "searchId" : "$jobId"
- },
- "pipeline" : [
- {
- "$search" : {
- "queryString" : {
- "defaultPath" : "_id",
- "query" : "$$searchId"
- }
- }
- },
- {
- "$project" : {
- "test.tool" : 1,
- "test.type" : 1,
- "test.weight" : 1
- }
- }
- ],
- "as" : "test"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement