// Sort field to sort for mongodb
Sort field to sort for mongodb
// Sort field to sort for mongodb
func (q Query) Sort() string {
	if q.Timestamp.Ascendant {
		return "timestamp"
	} else {
		return "-timestamp"
	}
}
func ( q Query ) Sort ( ) string { if q . Timestamp . Ascendant { return " " } else { return " " } }
Sort field to sort for mongodb
Sort field to sort for mongodb