mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
Unexport Field.RecalculateCaches
This commit is contained in:
parent
55c0dcee23
commit
fc49d67c0b
2 changed files with 3 additions and 3 deletions
4
field.go
4
field.go
|
|
@ -606,8 +606,8 @@ func (f *Field) viewNames() []string {
|
|||
return other
|
||||
}
|
||||
|
||||
// RecalculateCaches recalculates caches on every view in the field.
|
||||
func (f *Field) RecalculateCaches() {
|
||||
// recalculateCaches recalculates caches on every view in the field.
|
||||
func (f *Field) recalculateCaches() {
|
||||
for _, view := range f.views() {
|
||||
view.recalculateCaches()
|
||||
}
|
||||
|
|
|
|||
2
index.go
2
index.go
|
|
@ -265,7 +265,7 @@ func (i *Index) Fields() []*Field {
|
|||
// RecalculateCaches recalculates caches on every field in the index.
|
||||
func (i *Index) RecalculateCaches() {
|
||||
for _, field := range i.Fields() {
|
||||
field.RecalculateCaches()
|
||||
field.recalculateCaches()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue