// OnlyX is like Only, but panics if an error occurs.
OnlyX is like Only, but panics if an error occurs.
// OnlyX is like Only but panics if an error occurs .
func (ftq *FactTypeQuery) OnlyX(ctx context.Context) *FactType {
	node, err := ftq.Only(ctx)
	if err != nil {
		panic(err)
	}
	return node
}
func ( ftq * FactTypeQuery ) OnlyX ( ctx context . Context ) * FactType { node , err := ftq . Only ( ctx ) if err != nil { panic ( err ) } return node }
OnlyX is like Only, but panics if an error occurs.
OnlyX is like Only but panics if an error occurs .