Skip to content

Collection.distinct()

David Fahlander edited this page Mar 28, 2014 · 2 revisions

Syntax

collection.distinct()

Return Value

This Collection instance (this)

Remarks

Removes any duplicates of primary keys in the collection. Useful only when working with multi valued indexes, see Version.stores()

Clone this wiki locally