Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

Support of compound indexes #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

Santinell
Copy link
Contributor

Added support of compound indexes. (#15)

Example:

//Unique pair user_id and project_name
exports.indexes = [
  {
    fields: { user_id:1, project_name: 1 },
    options: { unique: true }
  }
]

@Santinell
Copy link
Contributor Author

Tests will be soon...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant