Skip to content

Instantly share code, notes, and snippets.

@kevcodez
Created October 7, 2022 14:46
Show Gist options
  • Save kevcodez/ec465f328e8b12b80fad32faf28964e4 to your computer and use it in GitHub Desktop.
Save kevcodez/ec465f328e8b12b80fad32faf28964e4 to your computer and use it in GitHub Desktop.
medium_mongodb_performance_array_exists
db.assets.find({
"myArray.0": { $exists: true }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment