// HasFactTypeWith applies the HasEdge predicate on the "fact_type" edge with a given conditions (other predicates).
HasFactTypeWith applies the HasEdge predicate on the "fact_type" edge with a given conditions (other predicates).
// HasFactTypeWith applies the HasEdge predicate on the " fact_type " edge with a given conditions ( other predicates ) .
func HasFactTypeWith(preds ...predicate.FactType) predicate.Fact {
	return predicate.Fact(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.To(FactTypeInverseTable, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, true, FactTypeTable, FactTypeColumn),
		)
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}
func HasFactTypeWith ( preds ... predicate . FactType ) predicate . Fact { return predicate . Fact ( func ( s * sql . Selector ) { step := sqlgraph . NewStep ( sqlgraph . From ( Table , FieldID ) , sqlgraph . To ( FactTypeInverseTable , FieldID ) , sqlgraph . Edge ( sqlgraph . M2O , true , FactTypeTable , FactTypeColumn ) , ) sqlgraph . HasNeighborsWith ( s , step , func ( s * sql . Selector ) { for _ , p := range preds { p ( s ) } } ) } ) }
HasFactTypeWith applies the HasEdge predicate on the "fact_type" edge with a given conditions (other predicates).
HasFactTypeWith applies the HasEdge predicate on the " fact_type " edge with a given conditions ( other predicates ) .