dictyBase/modware-annotation

View on GitHub
internal/repository/arangodb/field.go

Summary

Maintainability
A
0 mins
Test Coverage
package arangodb

// FilterMap provides mapping of filter attributes to database fields.
func FilterMap() map[string]string {
    return map[string]string{
        "entry_id":   "ann.entry_id",
        "value":      "ann.value",
        "created_by": "ann.created_by",
        "version":    "ann.version",
        "rank":       "ann.rank",
        "tag":        "cvt.label",
        "ontology":   "cv.metadata.namespace",
    }
}