We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS
2.13.15
Joplin 2.13.15 (prod, darwin)
Client ID: 5ab41cb905494c2882efb1db8a1d3612 Sync Version: 3 Profile Version: 44 Keychain Supported: Yes
Revision: 7d2c1c0
Conflict Resolution: 1.2.3 Simple Backup: 1.3.5
When I paste the following aggregate query in text editor
db.iprepservicedbs.aggregate([ { $group: { _id: { orgID: "$orgID", machine_identifier: "$machine_identifier", processName: "$processName" }, count: { $sum: 1 }, communicationTime: { $push: "$communicationTime" }, /* Keep other fields intact by using $first*/ orgID: { $first: "$orgID" }, machine_identifier: { $first: "$machine_identifier" }, IP: { $first: "$IP" }, isMalicious: { $first: "$isMalicious" }, reason: { $first: "$reason" }, processName: { $first: "$processName" }, ipOrganization: { $first: "$ipOrganization" }, country: { $first: "$country" }, countryCode: { $first: "$countryCode" }, exePath: { $first: "$exePath" }, appSigned: { $first: "$appSigned" }, __v: { $first: "$__v" }, firstId: { $first: "$_id" } /* Preserve the _id of the first document*/ } }, { $project: { _id: "$firstId", /* Use the preserved _id of the first document*/ count: "$count", /* Include count but not in the final output*/ orgID: 1, machine_identifier: 1, IP: 1, isMalicious: 1, reason: 1, communicationTime: 1, processName: 1, ipOrganization: 1, country: 1, countryCode: 1, exePath: 1, appSigned: 1, __v: 1 } }] ).pretty()
it shows up as:
The error should not be there.
No response
The text was updated successfully, but these errors were encountered:
When pasting source code that may contain reserved characters it's better to wrap it in a code block like so:
Sorry, something went wrong.
No branches or pull requests
Operating system
macOS
Joplin version
2.13.15
Desktop version info
Joplin 2.13.15 (prod, darwin)
Client ID: 5ab41cb905494c2882efb1db8a1d3612
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes
Revision: 7d2c1c0
Conflict Resolution: 1.2.3
Simple Backup: 1.3.5
Current behaviour
When I paste the following aggregate query in text editor
it shows up as:
Expected behaviour
The error should not be there.
Logs
No response
The text was updated successfully, but these errors were encountered: