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

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