matteodem / matteodem/meteor-server-session

Mongo index

Open
#5 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
21
Forks
7
PR merge metrics
No merged PRs in 30d

Description

`Collection.findOne({ 'key' : key });`

Might be good to do an ensureIndex call for key.

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the repository for the Collection.findOne({ 'key' : key }) usage and inspect how the session collection is initialized. Add an index for key at the collection setup point, then verify that key-based session lookups continue to work and the index is created.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mongodb
Domain
databases
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.