ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / project.sort / Sort

Sort

data class Sort

Data class representing mongo DB sort

Constructors

Name Summary
<init> Data class representing mongo DB sortSort(sorts: List<SortElement>)

Properties

Name Summary
sorts List of sorts, first element has highest priorityval sorts: List<SortElement>

Functions

Name Summary
buildSort Convert model to BsonDocument to pass to mongo queryfun buildSort(): BsonDocument