github.com/go-pg/pg/v10/orm.Field.Index (field)
19 uses
github.com/go-pg/pg/v10/orm (current package)
field.go#L24: Index []int
field.go#L57: cp.Index = cp.Index[:len(f.Index):len(f.Index)]
field.go#L70: return fieldByIndexAlloc(strct, f.Index)
field.go#L74: return f.hasZeroValue(strct, f.Index)
field.go#L95: fv, ok := fieldByIndex(strct, f.Index)
field.go#L117: fv, ok = fieldByIndex(strct, f.Index)
field.go#L122: fv = fieldByIndexAlloc(strct, f.Index)
model_table_struct.go#L100: return m.index[:len(m.index)-len(m.rel.Field.Index)]
model_table_struct.go#L112: m.strct = host.FieldByIndex(m.rel.Field.Index)
model_table_struct.go#L345: index = append(index, rel.Field.Index...)
table.go#L386: if indexEqual(field.Index, index) {
table.go#L400: Index: index,
table.go#L1172: f.Index = appendNew(strct.Index, f.Index...)
util.go#L118: fieldIndex := model.Relation().Field.Index