1.1.1 • Published 2 years ago

mongoose-dedupe v1.1.1

Weekly downloads
61
License
MIT
Repository
-
Last release
2 years ago
PropDescription
dedupeUse this to lookup a single field value's uniqueness
dedupeWithRuns all properties with this flag in a query
PropDescription
distinctUse this to make a sub-document value unique. If merge or accumulate options are not present in sibling options, then it will error on match.
mergeUse this to overwrite a sub-document property on match
accumulateUse this to add to a sub-document property on match

Additionally, you can pass an "options" property to the plugin to append query data to each lookup. This is useful if you're using another plugin, such as one that checks the "active" state of a document.

1.1.1

2 years ago

1.1.0

2 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago