Remove unneeded analyze dal operation
This commit is contained in:
parent
1be37ab02e
commit
a45a08d91c
@ -2,6 +2,7 @@ package dalutils
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/cortezaproject/corteza-server/compose/types"
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza-server/pkg/filter"
|
||||
@ -204,10 +205,6 @@ func recFilterOperations(f types.RecordFilter) (out dal.OperationSet) {
|
||||
out = append(out, dal.Paging)
|
||||
}
|
||||
|
||||
if f.IncTotal {
|
||||
out = append(out, dal.Analyze)
|
||||
}
|
||||
|
||||
if f.Sort != nil {
|
||||
out = append(out, dal.Sorting)
|
||||
}
|
||||
|
||||
@ -13,9 +13,6 @@ const (
|
||||
Lookup Operation = "corteza::dal:operation:lookup"
|
||||
Paging Operation = "corteza::dal:operation:paging"
|
||||
Sorting Operation = "corteza::dal:operation:sorting"
|
||||
Analyze Operation = "corteza::dal:operation:analyze"
|
||||
|
||||
// @todo reporter operations
|
||||
)
|
||||
|
||||
var (
|
||||
@ -27,7 +24,6 @@ var (
|
||||
Lookup,
|
||||
Paging,
|
||||
Sorting,
|
||||
Analyze,
|
||||
}
|
||||
|
||||
createOperations = OperationSet{
|
||||
@ -46,7 +42,6 @@ var (
|
||||
Search,
|
||||
Paging,
|
||||
Sorting,
|
||||
Analyze,
|
||||
}
|
||||
|
||||
lookupOperations = OperationSet{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user