text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (m *DiagnosisMutation) PatientID() (id int, exists bool) { if m.patient != nil { return *m.patient, true } return }
[ -0.5401996970176697, -0.0966535210609436, 0.6525157690048218, 0.18468214571475983, 0.04991867393255234, 0.3080766797065735, 0.4337431490421295, 0.6724374890327454, 0.9784591794013977, 0.7224656939506531, 0.1482134461402893, -0.5558552145957947, -0.46573880314826965, 0.3718832731246948, -...
func (m *DiagnosisMutation) PatientIDs() (ids []int) { if id := m.patient; id != nil { ids = append(ids, *id) } return }
[ -0.8449291586875916, -0.2119518220424652, 0.07116754353046417, 0.4501408338546753, 0.06574302166700363, -0.4630664587020874, -0.2644656002521515, 0.6132590174674988, 0.7465779185295105, 0.16141952574253082, 0.1251012235879898, 0.3331310451030731, -0.3592429757118225, 0.30525705218315125, ...
func (m *DiagnosisMutation) ResetPatient() { m.patient = nil m.clearedpatient = false }
[ -0.6630951166152954, 0.5860241651535034, 0.12130101770162582, 0.3201617896556854, -0.21827808022499084, -0.15805359184741974, 0.5812571048736572, 0.5193836688995361, -0.3403025269508362, -0.6949859261512756, 0.32301512360572815, 0.5134583711624146, -0.47254079580307007, -0.5327845215797424...
func (m *DiagnosisMutation) SetEmployeeID(id int) { m.employee = &id }
[ -0.9449195861816406, -0.2305964082479477, 0.12625782191753387, 0.09234233945608139, -0.2782059907913208, 0.9178789258003235, -0.020063819363713264, 1.4962844848632812, 0.12570281326770782, 0.310336709022522, -0.673036515712738, -0.06613623350858688, -0.3621494770050049, 1.5818326473236084,...
func (m *DiagnosisMutation) ClearEmployee() { m.clearedemployee = true }
[ -0.14769531786441803, 0.3907169699668884, 0.18134421110153198, 0.7070438265800476, -0.8071638345718384, 1.0427428483963013, 0.37855029106140137, 0.46505048871040344, -0.39592042565345764, 0.4600096046924591, 0.05717212334275246, -0.21589770913124084, -0.2114914059638977, 0.4302693903446197...
func (m *DiagnosisMutation) EmployeeCleared() bool { return m.clearedemployee }
[ -0.5187907218933105, -0.26658135652542114, 0.38156750798225403, 0.07445555180311203, -0.46489420533180237, 0.7968623638153076, -0.4752480685710907, 0.23757950961589813, -0.1267048567533493, 0.20193389058113098, -0.20866699516773224, 0.0981779545545578, -0.433066189289093, -0.36623799800872...
func (m *DiagnosisMutation) EmployeeID() (id int, exists bool) { if m.employee != nil { return *m.employee, true } return }
[ -0.7800993323326111, -0.4615684747695923, 0.648213267326355, 0.13348348438739777, -0.11929776519536972, 0.9292911291122437, 0.01456907857209444, 0.8728188872337341, 0.8100090622901917, 0.9447179436683655, 0.1335877627134323, -0.39911651611328125, -0.7155736684799194, 1.0420089960098267, ...
func (m *DiagnosisMutation) EmployeeIDs() (ids []int) { if id := m.employee; id != nil { ids = append(ids, *id) } return }
[ -1.2651187181472778, -0.3980052173137665, 0.16797740757465363, 0.16581109166145325, 0.11682822555303574, 0.3463095426559448, -0.5095996856689453, 0.9041215181350708, 0.669125497341156, 0.4057592749595642, -0.10261894017457962, 0.5431044101715088, -0.7567490935325623, 0.800788402557373, 0...
func (m *DiagnosisMutation) ResetEmployee() { m.employee = nil m.clearedemployee = false }
[ -0.23984010517597198, 0.17505943775177002, 0.19197838008403778, 0.5779260993003845, -0.04865821450948715, 0.21067477762699127, 0.7465162873268127, 1.090476632118225, -1.0077998638153076, -0.1677207350730896, -0.0882929265499115, 0.07931841909885406, -0.8873996138572693, 0.04763199761509895...
func (m *DiagnosisMutation) Op() Op { return m.op }
[ -0.9357715249061584, -0.14306430518627167, 0.13384251296520233, 0.8897215127944946, -0.16707567870616913, 0.42618635296821594, 1.0117586851119995, 0.8614457845687866, 0.6759135127067566, 0.1357789933681488, 0.6627242565155029, -0.6155208349227905, 0.46139055490493774, -1.0022586584091187, ...
func (m *DiagnosisMutation) Type() string { return m.typ }
[ -0.41249895095825195, -0.5452513098716736, -0.00028654932975769043, 0.6723302602767944, 0.7008371353149414, 0.07001931965351105, 0.8049713373184204, -0.42586445808410645, 1.1226272583007812, -0.03326147422194481, 0.8200694918632507, -0.32989832758903503, 0.004089844413101673, 0.15297506749...
func (m *DiagnosisMutation) Fields() []string { fields := make([]string, 0, 3) if m._DiagnosticMessages != nil { fields = append(fields, diagnosis.FieldDiagnosticMessages) } if m._SurveillancePeriod != nil { fields = append(fields, diagnosis.FieldSurveillancePeriod) } if m._DiagnosisDate != nil { fields = a...
[ -0.6142991781234741, 0.1431870013475418, 0.3087073564529419, -0.3351825475692749, 0.5097729563713074, 0.2708183526992798, -0.7396066188812256, -0.17484629154205322, 0.9528252482414246, -0.2148725986480713, -0.22435081005096436, -0.6732747554779053, 0.2504010498523712, -0.08529411256313324,...
func (m *DiagnosisMutation) Field(name string) (ent.Value, bool) { switch name { case diagnosis.FieldDiagnosticMessages: return m.DiagnosticMessages() case diagnosis.FieldSurveillancePeriod: return m.SurveillancePeriod() case diagnosis.FieldDiagnosisDate: return m.DiagnosisDate() } return nil, false }
[ -1.2856777906417847, 0.10547910630702972, 0.7008839845657349, -0.28817805647850037, -0.18576790392398834, 0.4210525453090668, -0.8916317820549011, -0.11529102176427841, 0.4983040988445282, -0.03600505739450455, -0.14193940162658691, -0.6419938802719116, 0.45261430740356445, 0.4066332280635...
func (m *DiagnosisMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case diagnosis.FieldDiagnosticMessages: return m.OldDiagnosticMessages(ctx) case diagnosis.FieldSurveillancePeriod: return m.OldSurveillancePeriod(ctx) case diagnosis.FieldDiagnosisDate: return m.OldDiagn...
[ -0.5809121131896973, 0.13449516892433167, 0.596767008304596, -0.773303747177124, 0.13818936049938202, 0.29310208559036255, 0.16949084401130676, -0.28973305225372314, 0.3470185399055481, -0.17301242053508759, 0.10715487599372864, -0.09685216099023819, 0.608288049697876, -0.00835294090211391...
func (m *DiagnosisMutation) SetField(name string, value ent.Value) error { switch name { case diagnosis.FieldDiagnosticMessages: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetDiagnosticMessages(v) return nil case diagnosis.FieldSurveillancePeri...
[ -1.139694333076477, 0.18457184731960297, 0.6013229489326477, -0.09966278821229935, -0.43182259798049927, 0.759705126285553, -0.43927982449531555, 0.020097123458981514, -0.16171090304851532, 0.07207535207271576, -0.08678240329027176, -0.36089053750038147, 0.5301016569137573, 0.7703260779380...
func (m *DiagnosisMutation) AddedFields() []string { return nil }
[ -0.25597628951072693, 0.19393469393253326, 0.46179527044296265, -0.1385611742734909, 0.22398041188716888, 0.6676456928253174, 0.25599271059036255, 0.5157542824745178, 1.2755682468414307, -1.3600208759307861, -0.2180660218000412, -0.5215727686882019, -0.9353262782096863, 0.12846508622169495...
func (m *DiagnosisMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -1.4759756326675415, 0.4769745469093323, 0.784634530544281, -0.3995853066444397, -0.2388543039560318, 0.931279718875885, -0.328750342130661, 0.4820983409881592, 0.7291770577430725, -0.7263398766517639, -0.652945876121521, -1.291256070137024, -1.1288719177246094, 0.1273910254240036, -0.62...
func (m *DiagnosisMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Diagnosis numeric field %s", name) }
[ -0.9108314514160156, 0.5442381501197815, 0.5911098718643188, 0.05599980056285858, -0.09579019248485565, 1.088869571685791, -0.87543785572052, 0.1128121167421341, -0.21003404259681702, -0.3504469394683838, 0.25035881996154785, -1.1588834524154663, 0.42258942127227783, 0.2592795789241791, ...
func (m *DiagnosisMutation) ClearedFields() []string { return nil }
[ -0.2037351280450821, 0.6266313195228577, 0.3729008436203003, -0.07756742089986801, -0.485595703125, 0.5810354351997375, 0.16614244878292084, -0.017063498497009277, 0.9762779474258423, 0.2608087360858917, -0.10027468949556351, -0.3138592541217804, -0.6043235659599304, -0.6317359209060669, ...
func (m *DiagnosisMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.6904829740524292, 0.29548123478889465, 0.7214297652244568, -0.39019617438316345, -0.28197476267814636, 0.16890573501586914, -0.8519062399864197, 0.27848926186561584, 0.06101829186081886, -0.302215576171875, -0.8146616220474243, -0.5921114683151245, 0.5036959052085876, -0.425479292869567...
func (m *DiagnosisMutation) ClearField(name string) error { return fmt.Errorf("unknown Diagnosis nullable field %s", name) }
[ -0.26802119612693787, 0.712621808052063, 0.508284330368042, -0.19871777296066284, -0.5746184587478638, 0.5201053619384766, -0.5449184775352478, 0.027602776885032654, 0.14272646605968475, 0.6894022226333618, -0.15762917697429657, -0.716204822063446, 0.37167683243751526, 0.18677738308906555,...
func (m *DiagnosisMutation) ResetField(name string) error { switch name { case diagnosis.FieldDiagnosticMessages: m.ResetDiagnosticMessages() return nil case diagnosis.FieldSurveillancePeriod: m.ResetSurveillancePeriod() return nil case diagnosis.FieldDiagnosisDate: m.ResetDiagnosisDate() return nil } ...
[ -0.8064969182014465, 0.6349905729293823, 0.44742265343666077, -0.05846705287694931, 0.2889346480369568, 0.3062480688095093, 0.33330202102661133, 0.08923526108264923, 0.11048096418380737, 0.15971319377422333, -0.3290937542915344, -0.32435187697410583, 0.20680496096611023, -0.058579526841640...
func (m *DiagnosisMutation) AddedEdges() []string { edges := make([]string, 0, 3) if m.disease != nil { edges = append(edges, diagnosis.EdgeDisease) } if m.patient != nil { edges = append(edges, diagnosis.EdgePatient) } if m.employee != nil { edges = append(edges, diagnosis.EdgeEmployee) } return edges }
[ -0.559499204158783, -0.4155023694038391, 0.23037785291671753, 0.19122923910617828, 0.31696903705596924, 0.3329737186431885, -1.2991935014724731, 0.550450325012207, 1.0467027425765991, 0.15972977876663208, 0.8194645643234253, 0.1493791937828064, -0.42617249488830566, 0.3222007751464844, -...
func (m *DiagnosisMutation) AddedIDs(name string) []ent.Value { switch name { case diagnosis.EdgeDisease: ids := make([]ent.Value, 0, len(m.disease)) for id := range m.disease { ids = append(ids, id) } return ids case diagnosis.EdgePatient: if id := m.patient; id != nil { return []ent.Value{*id} } ...
[ -0.8845869898796082, -0.7577496767044067, 0.44532105326652527, -0.6143461465835571, -0.13919325172901154, 0.09002181887626648, -1.0021028518676758, 0.40534254908561707, 0.9067668914794922, 0.032417330890893936, 0.60976642370224, 0.2645956575870514, 0.05433544144034386, 0.44561493396759033,...
func (m *DiagnosisMutation) RemovedEdges() []string { edges := make([]string, 0, 3) if m.removeddisease != nil { edges = append(edges, diagnosis.EdgeDisease) } return edges }
[ -0.0973014160990715, -0.3959648907184601, 0.35880547761917114, 0.4225148856639862, -0.14203718304634094, -0.3807406723499298, -1.0077056884765625, 1.1587880849838257, 1.2614558935165405, 0.1806412786245346, -0.03342278674244881, 0.08430500328540802, -0.8054337501525879, 0.03728030249476433...
func (m *DiagnosisMutation) RemovedIDs(name string) []ent.Value { switch name { case diagnosis.EdgeDisease: ids := make([]ent.Value, 0, len(m.removeddisease)) for id := range m.removeddisease { ids = append(ids, id) } return ids } return nil }
[ -0.5735104084014893, -0.6959031224250793, 0.5239236354827881, -0.5091200470924377, -0.2111416459083557, -0.37048235535621643, -0.9003849029541016, 0.9787787199020386, 0.9082106351852417, 0.28681430220603943, -0.4443170428276062, 0.017677709460258484, -0.33603397011756897, 0.205044522881507...
func (m *DiagnosisMutation) ClearedEdges() []string { edges := make([]string, 0, 3) if m.clearedpatient { edges = append(edges, diagnosis.EdgePatient) } if m.clearedemployee { edges = append(edges, diagnosis.EdgeEmployee) } return edges }
[ -0.7912592887878418, -0.024762224406003952, 0.2802755832672119, 0.5225398540496826, -0.640811562538147, 0.1126188114285469, -1.0792776346206665, -0.10988323390483856, 0.6823745965957642, 1.3481330871582031, 0.9689047336578369, 0.7674412131309509, -0.2988545000553131, -0.33000296354293823, ...
func (m *DiagnosisMutation) EdgeCleared(name string) bool { switch name { case diagnosis.EdgePatient: return m.clearedpatient case diagnosis.EdgeEmployee: return m.clearedemployee } return false }
[ -1.0670372247695923, -0.14407946169376373, 0.6193686723709106, -0.41176435351371765, -0.4182601869106293, 0.3167443573474884, -0.6909176707267761, -0.18061651289463043, 0.022328661754727364, 0.6603129506111145, 0.37486395239830017, 0.07298337668180466, -0.49883928894996643, -0.100676983594...
func (m *DiagnosisMutation) ClearEdge(name string) error { switch name { case diagnosis.EdgePatient: m.ClearPatient() return nil case diagnosis.EdgeEmployee: m.ClearEmployee() return nil } return fmt.Errorf("unknown Diagnosis unique edge %s", name) }
[ -1.1406373977661133, 0.819341778755188, 0.37647920846939087, 0.9744892120361328, -0.009311054833233356, 0.14395761489868164, -0.24101653695106506, 0.8189384937286377, -0.004081603605300188, 0.6437106132507324, 0.45506563782691956, -0.1140599250793457, -0.00028594466857612133, 0.61935567855...
func (m *DiagnosisMutation) ResetEdge(name string) error { switch name { case diagnosis.EdgeDisease: m.ResetDisease() return nil case diagnosis.EdgePatient: m.ResetPatient() return nil case diagnosis.EdgeEmployee: m.ResetEmployee() return nil } return fmt.Errorf("unknown Diagnosis edge %s", name) }
[ -1.2391579151153564, 0.32646122574806213, 0.31931978464126587, 0.720647394657135, 0.5682026743888855, -0.5613508224487305, -0.11540456861257553, 1.0153298377990723, -0.3142566978931427, 0.7076050639152527, 0.03388521820306778, 0.043603137135505676, -0.48910829424858093, 0.02296793833374977...
func newDiseaseMutation(c config, op Op, opts ...diseaseOption) *DiseaseMutation { m := &DiseaseMutation{ config: c, op: op, typ: TypeDisease, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -1.3070850372314453, -0.47413012385368347, 0.5913107395172119, 0.3944748044013977, -0.5790953636169434, -0.9479711055755615, 0.4488184154033661, 0.6030910015106201, 1.1563539505004883, 0.42368176579475403, -0.7070342898368835, -0.12302945554256439, 0.13701727986335754, -0.7093096375465393,...
func withDiseaseID(id int) diseaseOption { return func(m *DiseaseMutation) { var ( err error once sync.Once value *Disease ) m.oldValue = func(ctx context.Context) (*Disease, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed") } e...
[ 0.08434613049030304, -0.5670691728591919, 0.673618495464325, -0.2400035411119461, -0.3022717237472534, -0.10039244592189789, -0.1955411732196808, -0.04235505312681198, 1.3927282094955444, 0.4429798424243927, 0.050266824662685394, 0.1771809309720993, 0.5201699733734131, 0.3559616208076477, ...
func withDisease(node *Disease) diseaseOption { return func(m *DiseaseMutation) { m.oldValue = func(context.Context) (*Disease, error) { return node, nil } m.id = &node.ID } }
[ -0.3944885730743408, -0.35844331979751587, 0.541853666305542, -0.2645472288131714, 0.021786492317914963, -0.7736919522285461, -0.13647988438606262, -0.14331212639808655, 0.9990432858467102, -0.1917533278465271, 0.11731640994548798, 0.09066943824291229, 0.7660986185073853, -0.22015048563480...
func (m DiseaseMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ -0.6524211168289185, -0.4479110538959503, 0.12003795802593231, 0.030732259154319763, -0.46082600951194763, 0.0867604985833168, 1.0617549419403076, 0.03743334114551544, 0.688306987285614, -0.6289971470832825, -0.3382975459098816, 0.8233578205108643, 0.3268534243106842, -0.9619324803352356, ...
func (m DiseaseMutation) Tx() (*Tx, error) { if _, ok := m.driver.(*txDriver); !ok { return nil, fmt.Errorf("ent: mutation is not running in a transaction") } tx := &Tx{config: m.config} tx.init() return tx, nil }
[ -0.40906822681427, 0.23236453533172607, 0.47409167885780334, 0.250375360250473, 0.17984715104103088, -0.2933415174484253, 0.030456524342298508, 0.5743341445922852, 0.8579747676849365, -0.09480927139520645, 0.05333906039595604, -0.13665618002414703, -0.1627429872751236, -0.835860013961792, ...
func (m *DiseaseMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.9241907000541687, -0.24907374382019043, 0.7546483874320984, 0.21370258927345276, 0.2565286457538605, -0.10865630209445953, 0.30463358759880066, 0.4958881437778473, 1.2473102807998657, 0.3387705981731415, -0.18050380051136017, -0.4789704382419586, -0.46256715059280396, 0.3695334494113922...
func (m *DiseaseMutation) SetDiseaseName(s string) { m._DiseaseName = &s }
[ -0.8219446539878845, 0.08955312520265579, 0.09683366864919662, 0.012445132248103619, -0.9435936808586121, -0.627534031867981, 0.2911204993724823, 1.0290502309799194, 0.2502169609069824, -0.18959447741508484, -0.5464903712272644, -0.7275152802467346, 0.6347545385360718, 0.4220867455005646, ...
func (m *DiseaseMutation) DiseaseName() (r string, exists bool) { v := m._DiseaseName if v == nil { return } return *v, true }
[ -1.7560893297195435, 0.2050161361694336, 0.7044152617454529, -0.3623233139514923, -0.6934301257133484, -0.5865911245346069, -0.04282347112894058, 0.6700673699378967, 0.5362547039985657, 0.7458803057670593, -0.01767280511558056, -0.7671527862548828, -0.39572471380233765, -0.3199596405029297...
func (m *DiseaseMutation) OldDiseaseName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldDiseaseName is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldDiseaseName requires an ID field in the mutation") } o...
[ -1.1059863567352295, -0.29700130224227905, 0.6306918859481812, -0.30897003412246704, -0.7172771692276001, -0.7220321297645569, -0.05512996017932892, 0.45538926124572754, 0.8054263591766357, 0.33230358362197876, 0.21616706252098083, -0.23779833316802979, 0.6259790658950806, 0.22352394461631...
func (m *DiseaseMutation) ResetDiseaseName() { m._DiseaseName = nil }
[ -0.5956048965454102, -0.2600514888763428, 0.1062266007065773, 0.17843195796012878, -0.7234728932380676, -0.8149725198745728, 0.13936567306518555, 0.6223344206809998, -0.1631486713886261, 0.04717903956770897, -0.30614733695983887, 0.27023863792419434, 0.3565261662006378, -0.3969290554523468...
func (m *DiseaseMutation) SetSymptom(s string) { m._Symptom = &s }
[ 0.24793654680252075, 0.1273401379585266, 0.26274725794792175, 0.2683357000350952, -0.16909286379814148, 0.006835361011326313, 0.959196150302887, 0.3208799958229065, 0.9367628693580627, -0.9268913865089417, -0.9585074186325073, -0.2360154688358307, 0.5101003050804138, -0.4398852288722992, ...
func (m *DiseaseMutation) Symptom() (r string, exists bool) { v := m._Symptom if v == nil { return } return *v, true }
[ -0.7269336581230164, 1.1335811614990234, 0.4490453004837036, 0.4305541217327118, 0.07357818633317947, -0.6445757746696472, 0.7099069356918335, 0.13400785624980927, 0.9111961126327515, 0.6188923120498657, -0.3862144649028778, -0.7898620367050171, 0.019247906282544136, -0.9098177552223206, ...
func (m *DiseaseMutation) OldSymptom(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldSymptom is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldSymptom requires an ID field in the mutation") } oldValue, err...
[ -0.624939501285553, -0.41312921047210693, 0.5880870223045349, -0.3864550292491913, -0.1919330358505249, -0.4608127474784851, 0.727329432964325, 0.05452270433306694, 1.181174874305725, 0.03156450763344765, 0.376099169254303, -0.39285731315612793, 0.36694952845573425, -0.1951296329498291, ...
func (m *DiseaseMutation) ResetSymptom() { m._Symptom = nil }
[ 0.07247427105903625, 0.28547224402427673, 0.1655532866716385, 0.7994964718818665, 0.5546612739562988, -0.8149523735046387, 1.3363783359527588, 0.5129721760749817, 0.2597506642341614, -0.1526716947555542, -1.0471607446670532, 1.000622034072876, 0.12431591004133224, -0.6528919339179993, 0....
func (m *DiseaseMutation) SetContagion(s string) { m._Contagion = &s }
[ 0.22649283707141876, -0.4710843563079834, 0.3288758397102356, 0.2874210476875305, -0.03991173580288887, -0.02447001077234745, 1.3252668380737305, 0.7426348328590393, 0.22314617037773132, 0.09861936420202255, -1.0593438148498535, -0.4039641320705414, 0.3117276728153229, 0.15958160161972046,...
func (m *DiseaseMutation) Contagion() (r string, exists bool) { v := m._Contagion if v == nil { return } return *v, true }
[ -0.8818300366401672, 0.021359991282224655, 0.8288988471031189, 0.2856399416923523, 0.19125507771968842, -0.5102112889289856, 0.7817888855934143, 0.2400616854429245, 0.7114373445510864, 1.1741842031478882, -0.6203739047050476, -0.8975202441215515, -0.18430712819099426, -0.14270661771297455,...
func (m *DiseaseMutation) OldContagion(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldContagion is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldContagion requires an ID field in the mutation") } oldValu...
[ -0.8328664302825928, -0.5648936629295349, 0.6470432281494141, -0.1035056784749031, -0.1340622901916504, -0.613701343536377, 0.8904998302459717, -0.22472837567329407, 0.9813315272331238, 0.5911348462104797, 0.10167834907770157, -0.2397855520248413, -0.16554443538188934, 0.5921125411987305, ...
func (m *DiseaseMutation) ResetContagion() { m._Contagion = nil }
[ -0.21703924238681793, -0.5754997730255127, 0.30542898178100586, 0.8275246620178223, 0.38231903314590454, -0.8935421109199524, 1.4930232763290405, 0.47254616022109985, -0.2709997594356537, 0.479303777217865, -0.6380881071090698, 0.01824076473712921, -0.5321808457374573, -0.4103030562400818,...
func (m *DiseaseMutation) SetEmployeeID(id int) { m.employee = &id }
[ -1.1175460815429688, -0.3340858519077301, 0.08789225667715073, -0.00997713953256607, -0.338111937046051, 0.8668949007987976, 0.12924225628376007, 1.3796615600585938, 0.06852269172668457, 0.4382336139678955, -0.6463997960090637, 0.3058236241340637, -0.40890297293663025, 1.5286760330200195, ...
func (m *DiseaseMutation) ClearEmployee() { m.clearedemployee = true }
[ -0.2952680289745331, 0.26956069469451904, 0.17779026925563812, 0.5512087941169739, -0.8379908204078674, 0.9875372648239136, 0.4360392987728119, 0.3156018555164337, -0.44624385237693787, 0.502375066280365, -0.0069429874420166016, 0.12553873658180237, -0.3136208653450012, 0.23228338360786438...
func (m *DiseaseMutation) EmployeeCleared() bool { return m.clearedemployee }
[ -0.5984833836555481, -0.33662164211273193, 0.4239668846130371, -0.06286009401082993, -0.573157012462616, 0.7308602333068848, -0.4830341935157776, 0.16363579034805298, -0.20166131854057312, 0.192507803440094, -0.21330565214157104, 0.42991673946380615, -0.46765777468681335, -0.51255929470062...
func (m *DiseaseMutation) EmployeeID() (id int, exists bool) { if m.employee != nil { return *m.employee, true } return }
[ -0.9084887504577637, -0.5044159293174744, 0.6576911807060242, 0.062418945133686066, -0.19224119186401367, 0.9294919967651367, 0.044151242822408676, 0.7540109157562256, 0.7765030264854431, 1.0742075443267822, 0.1625041365623474, -0.06754831969738007, -0.7718974947929382, 0.9580057263374329,...
func (m *DiseaseMutation) EmployeeIDs() (ids []int) { if id := m.employee; id != nil { ids = append(ids, *id) } return }
[ -1.4014513492584229, -0.48072072863578796, 0.1758953183889389, 0.061753325164318085, 0.057883232831954956, 0.2992139756679535, -0.5266757011413574, 0.7773833274841309, 0.5929030179977417, 0.4564816951751709, -0.06898995488882065, 0.9443243741989136, -0.9016926884651184, 0.7402737140655518,...
func (m *DiseaseMutation) ResetEmployee() { m.employee = nil m.clearedemployee = false }
[ -0.38709893822669983, 0.04656226933002472, 0.18984630703926086, 0.4232499897480011, -0.10490964353084564, 0.1006188690662384, 0.7654929161071777, 0.9901696443557739, -1.0344717502593994, -0.13788960874080658, -0.06977632641792297, 0.41716235876083374, -0.9362602233886719, -0.13720835745334...
func (m *DiseaseMutation) SetSeverityID(id int) { m.severity = &id }
[ 0.15952229499816895, -0.6360186338424683, 0.1359017938375473, 0.4544772207736969, -0.5040763020515442, -0.11359703540802002, 0.23456372320652008, 1.1039646863937378, 0.6286814212799072, 0.5640818476676941, -1.3938766717910767, 0.5480555295944214, -0.12295165657997131, 0.7389723062515259, ...
func (m *DiseaseMutation) ClearSeverity() { m.clearedseverity = true }
[ 0.1913580745458603, 0.21814243495464325, 0.25704509019851685, 0.836150050163269, 0.003817456541582942, -0.21737796068191528, 0.5892406702041626, 0.708160400390625, 0.5614612698554993, 0.1567171812057495, -0.5263394713401794, 0.7071704268455505, 0.34029245376586914, 0.3664263188838959, -0...
func (m *DiseaseMutation) SeverityCleared() bool { return m.clearedseverity }
[ 0.6507102251052856, -0.2215462476015091, 0.5568833947181702, 0.2718757092952728, -0.11963246762752533, -0.16564923524856567, -0.15280424058437347, 0.29223373532295227, 0.6419785022735596, -0.004427229054272175, -0.4100179970264435, 0.8630450367927551, -0.19171100854873657, -0.5597351193428...
func (m *DiseaseMutation) SeverityID() (id int, exists bool) { if m.severity != nil { return *m.severity, true } return }
[ 0.11540747433900833, -0.15922851860523224, 0.6234762668609619, 0.12497285008430481, 0.1281416118144989, -0.4026241600513458, 0.13215340673923492, 1.0173579454421997, 0.7163513898849487, 1.0352559089660645, -0.521668553352356, -0.3643754720687866, -0.5213296413421631, 0.01248230505734682, ...
func (m *DiseaseMutation) SeverityIDs() (ids []int) { if id := m.severity; id != nil { ids = append(ids, *id) } return }
[ -0.41892898082733154, -0.17638789117336273, 0.22142481803894043, 0.32518988847732544, 0.38432973623275757, -1.0032539367675781, -0.346348375082016, 0.7889273762702942, 0.5948715209960938, 0.42126190662384033, -0.8570725321769714, 0.5252557396888733, -0.7743049263954163, -0.0186438132077455...
func (m *DiseaseMutation) ResetSeverity() { m.severity = nil m.clearedseverity = false }
[ 0.21161043643951416, 0.11131621897220612, -0.005140515975654125, 1.0633795261383057, 0.9342397451400757, -1.0259592533111572, 1.0194828510284424, 0.891283392906189, -0.13431578874588013, -0.05725882574915886, -1.2191671133041382, 0.5501675009727478, -0.33209672570228577, -0.103744685649871...
func (m *DiseaseMutation) SetDiseasetypeID(id int) { m.diseasetype = &id }
[ -1.2975937128067017, 0.048661451786756516, 0.1544768214225769, 0.1962614357471466, -0.22984205186367035, -0.5809422731399536, 0.03223252296447754, 0.9527420401573181, 0.8720319867134094, 0.9008837342262268, -1.2830497026443481, -0.1832490712404251, 0.5256672501564026, 1.0763803720474243, ...
func (m *DiseaseMutation) ClearDiseasetype() { m.cleareddiseasetype = true }
[ -0.188200443983078, 0.2700478732585907, 0.2974172830581665, 0.6527906060218811, -0.3924909830093384, 0.02830592170357704, 0.2104455679655075, 0.5817177295684814, 0.40640518069267273, 0.6945841908454895, 0.07667780667543411, 0.3878985643386841, 1.40492582321167, 0.8088104128837585, -0.096...
func (m *DiseaseMutation) DiseasetypeCleared() bool { return m.cleareddiseasetype }
[ -1.1318286657333374, 0.3830198645591736, 0.31262728571891785, -0.0609268955886364, -0.5007057785987854, -0.7239140868186951, -0.1493566483259201, -0.0616743303835392, 0.6008551716804504, 0.5005642771720886, -0.17153920233249664, 0.22034882009029388, 0.5633662343025208, 0.029196854680776596...
func (m *DiseaseMutation) DiseasetypeID() (id int, exists bool) { if m.diseasetype != nil { return *m.diseasetype, true } return }
[ -1.3621697425842285, 0.43387570977211, 0.6566808223724365, 0.17885059118270874, 0.005182532127946615, -0.7314250469207764, -0.14096775650978088, 0.4409126043319702, 1.1316925287246704, 1.3408328294754028, -0.6396905183792114, -0.4556252062320709, -0.23446130752563477, 0.8298177123069763, ...
func (m *DiseaseMutation) DiseasetypeIDs() (ids []int) { if id := m.diseasetype; id != nil { ids = append(ids, *id) } return }
[ -1.7575052976608276, 0.31525126099586487, 0.2513270378112793, 0.5244081616401672, 0.4166877269744873, -1.1365342140197754, -0.07734604924917221, 0.2967369258403778, 0.8414924740791321, 0.6450709700584412, -0.9670628905296326, 0.14913047850131989, -0.45222583413124084, 0.5810209512710571, ...
func (m *DiseaseMutation) ResetDiseasetype() { m.diseasetype = nil m.cleareddiseasetype = false }
[ -0.12942302227020264, 0.17004510760307312, 0.013588599860668182, 0.5027880668640137, 0.14700636267662048, -0.9956040382385254, 0.45455262064933777, 0.8686004877090454, 0.08886760473251343, 0.30517953634262085, -0.41655123233795166, 0.4896993041038513, 0.7656748294830322, 0.5506514310836792...
func (m *DiseaseMutation) AddAreaIDs(ids ...int) { if m.area == nil { m.area = make(map[int]struct{}) } for i := range ids { m.area[ids[i]] = struct{}{} } }
[ -1.7191179990768433, -0.1944747120141983, 0.4599299132823944, -0.9615108370780945, -0.3452213406562805, 0.09638500958681107, -0.49854496121406555, 0.03102416731417179, 0.7446397542953491, 0.17940671741962433, 0.28776511549949646, 0.038442742079496384, -0.09297531098127365, 0.57512664794921...
func (m *DiseaseMutation) RemoveAreaIDs(ids ...int) { if m.removedarea == nil { m.removedarea = make(map[int]struct{}) } for i := range ids { m.removedarea[ids[i]] = struct{}{} } }
[ -1.613185167312622, -0.4798719584941864, 0.3447706997394562, -1.0586318969726562, -1.1913676261901855, -0.20678670704364777, 0.03493848070502281, 0.6713013052940369, 0.6032600402832031, 0.44653764367103577, -0.3404463529586792, -0.13430611789226532, -0.36427438259124756, 0.2932243943214416...
func (m *DiseaseMutation) RemovedAreaIDs() (ids []int) { for id := range m.removedarea { ids = append(ids, id) } return }
[ -0.8149851560592651, -0.8991610407829285, 0.36795613169670105, -0.8380548357963562, -0.960091769695282, -0.2157219648361206, 0.15183603763580322, 0.4478023052215576, 1.1561768054962158, 0.13557887077331543, -0.36629343032836914, 0.7911504507064819, -0.5061147212982178, 0.8360058069229126, ...
func (m *DiseaseMutation) AreaIDs() (ids []int) { for id := range m.area { ids = append(ids, id) } return }
[ -1.1061745882034302, -0.8427273631095886, 0.11763352900743484, -0.2989368736743927, -0.4585227370262146, -0.04497159644961357, -0.6161100268363953, 0.36365970969200134, 1.332499623298645, 0.8065373301506042, 0.32061105966567993, 1.042446494102478, -0.16454868018627167, 0.4342762529850006, ...
func (m *DiseaseMutation) ResetArea() { m.area = nil m.removedarea = nil }
[ -0.6542766094207764, -0.24802717566490173, 0.3390538990497589, 0.27248239517211914, 0.6048277616500854, -1.123397707939148, 1.1872061491012573, 0.9322971701622009, 0.36732885241508484, -0.6555575132369995, 0.6985040307044983, 0.48802539706230164, -0.11751649528741837, 0.9661800861358643, ...
func (m *DiseaseMutation) AddDrugIDs(ids ...int) { if m.drug == nil { m.drug = make(map[int]struct{}) } for i := range ids { m.drug[ids[i]] = struct{}{} } }
[ -1.6343170404434204, -0.09983415901660919, 0.2294319123029709, -0.8768758177757263, 0.7365020513534546, -0.8441248536109924, -0.9238671064376831, 0.34878379106521606, -0.47337019443511963, 0.6887866854667664, -0.20099413394927979, 0.01984059065580368, -0.4418185353279114, -0.17041255533695...
func (m *DiseaseMutation) RemoveDrugIDs(ids ...int) { if m.removeddrug == nil { m.removeddrug = make(map[int]struct{}) } for i := range ids { m.removeddrug[ids[i]] = struct{}{} } }
[ -0.7441001534461975, -0.39140045642852783, 0.2422081083059311, -0.5940172672271729, 0.34118592739105225, -1.3508061170578003, -0.2596731185913086, 0.9642137289047241, -0.4079847037792206, 0.2595413327217102, -0.8944828510284424, -0.255508691072464, -0.8225451707839966, -0.2433978021144867,...
func (m *DiseaseMutation) RemovedDrugIDs() (ids []int) { for id := range m.removeddrug { ids = append(ids, id) } return }
[ -0.6371485590934753, -0.9455968141555786, 0.3333876132965088, -0.5640363097190857, -0.02121805213391781, -1.1486119031906128, -0.27167731523513794, 1.0118374824523926, 0.12900704145431519, 0.34438401460647583, -0.6381084322929382, 0.9005177021026611, -0.4767964780330658, 0.0695173814892768...
func (m *DiseaseMutation) DrugIDs() (ids []int) { for id := range m.drug { ids = append(ids, id) } return }
[ -1.0820292234420776, -0.6636655926704407, 0.059955283999443054, -0.5385680794715881, 0.4731507897377014, -0.680892288684845, -1.0809351205825806, 0.7624948620796204, 0.04176665470004082, 0.527338981628418, 0.16197319328784943, 1.1359251737594604, -0.8026145100593567, -0.0509771890938282, ...
func (m *DiseaseMutation) ResetDrug() { m.drug = nil m.removeddrug = nil }
[ 0.0036597014404833317, 0.07986170798540115, 0.16922029852867126, 0.6482694149017334, 1.1122009754180908, -0.08294159173965454, 0.2115786224603653, 1.241127848625183, -0.8815892934799194, -0.5442380905151367, 0.18988995254039764, 0.8475173115730286, -0.09787281602621078, -0.2979175746440887...
func (m *DiseaseMutation) SetDiagnosisID(id int) { m.diagnosis = &id }
[ -0.952470064163208, -0.16734468936920166, 0.035767812281847, 0.7094845175743103, -0.9589594006538391, 0.4555375874042511, 0.1166343241930008, 0.5936074256896973, 0.6950130462646484, 0.8966320157051086, -0.5680167078971863, -0.9117190837860107, 1.0250654220581055, 0.7117578387260437, -0.8...
func (m *DiseaseMutation) ClearDiagnosis() { m.cleareddiagnosis = true }
[ -0.5579068064689636, 0.30522140860557556, 0.24909707903862, 1.1144485473632812, -0.3221263885498047, 0.29571279883384705, 0.43529707193374634, 0.3073814809322357, 0.4728606939315796, 0.6647173762321472, 0.25534018874168396, -0.4506092667579651, 1.2290772199630737, -0.20711098611354828, -...
func (m *DiseaseMutation) DiagnosisCleared() bool { return m.cleareddiagnosis }
[ -1.0051743984222412, 0.391381174325943, 0.3073229491710663, 0.46125903725624084, -0.5354177355766296, 0.16694758832454681, -0.02914614975452423, -0.059117089956998825, 0.27698925137519836, 0.24920406937599182, 0.06437808275222778, -0.5337217450141907, 0.22768481075763702, -0.28747883439064...
func (m *DiseaseMutation) DiagnosisID() (id int, exists bool) { if m.diagnosis != nil { return *m.diagnosis, true } return }
[ -0.7695897221565247, -0.12737040221691132, 0.7397226095199585, 0.2759818732738495, -0.19013579189777374, 0.0419456884264946, 0.18549197912216187, 0.8298724889755249, 0.6796672344207764, 1.3623846769332886, 0.053364384919404984, -1.2072035074234009, 0.12269818782806396, 0.6498311161994934, ...
func (m *DiseaseMutation) DiagnosisIDs() (ids []int) { if id := m.diagnosis; id != nil { ids = append(ids, *id) } return }
[ -1.276486873626709, 0.08848092705011368, 0.28357061743736267, 0.5402492880821228, 0.1041112020611763, -0.43967321515083313, -0.39817777276039124, 0.8374155759811401, 0.558085024356842, 0.5537758469581604, -0.09010543674230576, -0.7872680425643921, 0.02620508149266243, 0.6830001473426819, ...
func (m *DiseaseMutation) ResetDiagnosis() { m.diagnosis = nil m.cleareddiagnosis = false }
[ -0.7936145067214966, 0.2985592484474182, 0.09787418693304062, 1.034285068511963, 0.3017473518848419, -0.6247377395629883, 0.681467592716217, 0.5265304446220398, -0.24515023827552795, 0.25509217381477356, -0.09802330285310745, -0.15523189306259155, 0.42973601818084717, -0.2700522840023041, ...
func (m *DiseaseMutation) Op() Op { return m.op }
[ -1.277313470840454, -0.154844731092453, 0.22885634005069733, 0.6030368804931641, -0.3297918438911438, 0.43883514404296875, 0.9442038536071777, 0.632451593875885, 0.6832720041275024, 0.31466144323349, 0.6597539186477661, -0.22861222922801971, 0.5477712750434875, -0.962356686592102, -0.032...
func (m *DiseaseMutation) Type() string { return m.typ }
[ -0.7510420680046082, -0.6574744582176208, 0.06194423511624336, 0.3668668866157532, 0.5204280018806458, 0.15349620580673218, 0.7796897888183594, -0.6917356252670288, 1.1134430170059204, 0.04954541474580765, 0.7170237898826599, 0.22446174919605255, 0.0232708640396595, 0.03294139727950096, ...
func (m *DiseaseMutation) Fields() []string { fields := make([]string, 0, 3) if m._DiseaseName != nil { fields = append(fields, disease.FieldDiseaseName) } if m._Symptom != nil { fields = append(fields, disease.FieldSymptom) } if m._Contagion != nil { fields = append(fields, disease.FieldContagion) } retu...
[ -1.146707534790039, -0.4671138525009155, 0.2700839340686798, -0.9841237664222717, 0.11728428304195404, 0.004751595202833414, -1.0648143291473389, 0.15141898393630981, 0.9517490863800049, -0.1919218897819519, -0.2682054936885834, -0.36475303769111633, -0.1082446351647377, -0.314848512411117...
func (m *DiseaseMutation) Field(name string) (ent.Value, bool) { switch name { case disease.FieldDiseaseName: return m.DiseaseName() case disease.FieldSymptom: return m.Symptom() case disease.FieldContagion: return m.Contagion() } return nil, false }
[ -1.5273704528808594, -0.348092257976532, 0.6789751052856445, -0.6990752816200256, -0.5774445533752441, 0.15762892365455627, -1.0710234642028809, 0.18838874995708466, 0.5499521493911743, -0.21435363590717316, -0.3577222526073456, -0.31909462809562683, 0.09426923841238022, 0.2627449035644531...
func (m *DiseaseMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case disease.FieldDiseaseName: return m.OldDiseaseName(ctx) case disease.FieldSymptom: return m.OldSymptom(ctx) case disease.FieldContagion: return m.OldContagion(ctx) } return nil, fmt.Errorf("unknown Di...
[ -0.8148747682571411, -0.18530958890914917, 0.4873281717300415, -1.1000574827194214, -0.052328672260046005, 0.006698524579405785, -0.07776734977960587, -0.2931574583053589, 0.3652859628200531, -0.3773305118083954, 0.15694139897823334, 0.3798254728317261, 0.14930644631385803, -0.379852473735...
func (m *DiseaseMutation) SetField(name string, value ent.Value) error { switch name { case disease.FieldDiseaseName: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetDiseaseName(v) return nil case disease.FieldSymptom: v, ok := value.(string) ...
[ -1.4071787595748901, -0.12714917957782745, 0.55148845911026, -0.45103079080581665, -0.645137369632721, 0.5353045463562012, -0.5252680778503418, -0.013187426142394543, -0.006008889526128769, -0.05509701371192932, -0.033065278083086014, 0.07978487014770508, 0.28235188126564026, 0.56380826234...
func (m *DiseaseMutation) AddedFields() []string { return nil }
[ -0.489016056060791, 0.07393933087587357, 0.47891128063201904, -0.338600754737854, 0.15578168630599976, 0.5773562788963318, 0.2508580684661865, 0.2765888273715973, 1.2811944484710693, -1.2980639934539795, -0.3103766143321991, -0.04872443526983261, -1.0201072692871094, -0.06567864120006561, ...
func (m *DiseaseMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -1.6251643896102905, 0.3479961156845093, 0.7740155458450317, -0.5556160807609558, -0.30491626262664795, 0.9119258522987366, -0.3855644762516022, 0.34085020422935486, 0.7102470397949219, -0.5752547383308411, -0.6815850734710693, -0.9119526743888855, -1.196748971939087, -0.08500886708498001,...
func (m *DiseaseMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Disease numeric field %s", name) }
[ -1.1837878227233887, 0.4687689244747162, 0.5886419415473938, -0.042217809706926346, -0.22077034413814545, 1.1364774703979492, -0.828180730342865, -0.20733363926410675, -0.15080857276916504, -0.29757845401763916, 0.26415231823921204, -0.7723703384399414, 0.3408869504928589, 0.18721911311149...
func (m *DiseaseMutation) ClearedFields() []string { return nil }
[ -0.41449329257011414, 0.4970065653324127, 0.39675912261009216, -0.2469640076160431, -0.521864652633667, 0.45073890686035156, 0.18894018232822418, -0.23505300283432007, 1.077160120010376, 0.2394547313451767, -0.17207638919353485, 0.03456740081310272, -0.7221918702125549, -0.8845787048339844...
func (m *DiseaseMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.8214740753173828, 0.17539820075035095, 0.7573790550231934, -0.49213486909866333, -0.2946508824825287, 0.18378674983978271, -0.8045917749404907, 0.15874402225017548, 0.0025990179274231195, -0.261739581823349, -0.7906515598297119, -0.3474222719669342, 0.4600142240524292, -0.52069354057312...
func (m *DiseaseMutation) ClearField(name string) error { return fmt.Errorf("unknown Disease nullable field %s", name) }
[ -0.4683694839477539, 0.5843785405158997, 0.4968721568584442, -0.42539483308792114, -0.6542001962661743, 0.5451807379722595, -0.4684416353702545, -0.3347720801830292, 0.36158379912376404, 0.7487457990646362, -0.06090889871120453, -0.3373717665672302, 0.2508114278316498, -0.11516206711530685...
func (m *DiseaseMutation) ResetField(name string) error { switch name { case disease.FieldDiseaseName: m.ResetDiseaseName() return nil case disease.FieldSymptom: m.ResetSymptom() return nil case disease.FieldContagion: m.ResetContagion() return nil } return fmt.Errorf("unknown Disease field %s", name)...
[ -1.129362940788269, 0.26232999563217163, 0.30521878600120544, -0.4005206525325775, 0.04490756615996361, -0.1420920491218567, 0.07967565953731537, 0.09737041592597961, 0.24256226420402527, 0.07297607511281967, -0.28637608885765076, -0.028172802180051804, -0.22356674075126648, -0.31276631355...
func (m *DiseaseMutation) AddedEdges() []string { edges := make([]string, 0, 6) if m.employee != nil { edges = append(edges, disease.EdgeEmployee) } if m.severity != nil { edges = append(edges, disease.EdgeSeverity) } if m.diseasetype != nil { edges = append(edges, disease.EdgeDiseasetype) } if m.area != ...
[ -0.5337483286857605, -0.9717517495155334, 0.4466695785522461, -0.32036083936691284, 0.19795621931552887, -0.10363136231899261, -1.1269311904907227, 0.29618096351623535, 1.383080005645752, 0.22165191173553467, 0.6932010054588318, 0.3914646804332733, -0.09218983352184296, 0.311716765165329, ...
func (m *DiseaseMutation) AddedIDs(name string) []ent.Value { switch name { case disease.EdgeEmployee: if id := m.employee; id != nil { return []ent.Value{*id} } case disease.EdgeSeverity: if id := m.severity; id != nil { return []ent.Value{*id} } case disease.EdgeDiseasetype: if id := m.diseasetype...
[ -0.9009605050086975, -1.1401416063308716, 0.5200841426849365, -1.0823432207107544, -0.2591933012008667, -0.1514604538679123, -0.8081007599830627, 0.2846635580062866, 0.8922621011734009, 0.145029678940773, 0.6144832968711853, 0.5132034420967102, 0.12879882752895355, 0.4496535062789917, -0...
func (m *DiseaseMutation) RemovedEdges() []string { edges := make([]string, 0, 6) if m.removedarea != nil { edges = append(edges, disease.EdgeArea) } if m.removeddrug != nil { edges = append(edges, disease.EdgeDrug) } return edges }
[ -0.3096180558204651, -0.9386228919029236, 0.4858112335205078, -0.1503393054008484, -0.06145450100302696, -0.7479825019836426, -0.5051658749580383, 0.971349835395813, 1.2566421031951904, 0.17659235000610352, 0.3200998902320862, 0.25853419303894043, -0.48150402307510376, 0.45289546251296997,...
func (m *DiseaseMutation) RemovedIDs(name string) []ent.Value { switch name { case disease.EdgeArea: ids := make([]ent.Value, 0, len(m.removedarea)) for id := range m.removedarea { ids = append(ids, id) } return ids case disease.EdgeDrug: ids := make([]ent.Value, 0, len(m.removeddrug)) for id := range...
[ -0.6612519025802612, -0.9971721768379211, 0.5980023145675659, -1.0789803266525269, -0.15780910849571228, -0.5122073292732239, -0.6847516298294067, 0.7635387778282166, 0.7487952709197998, 0.3336837887763977, -0.1872771978378296, 0.3964117169380188, -0.3031276762485504, 0.14713992178440094, ...
func (m *DiseaseMutation) ClearedEdges() []string { edges := make([]string, 0, 6) if m.clearedemployee { edges = append(edges, disease.EdgeEmployee) } if m.clearedseverity { edges = append(edges, disease.EdgeSeverity) } if m.cleareddiseasetype { edges = append(edges, disease.EdgeDiseasetype) } if m.cleare...
[ -1.105080246925354, -0.42847245931625366, 0.38575685024261475, 0.15490901470184326, -0.7111204862594604, -0.19937846064567566, -0.7902707457542419, -0.3979001045227051, 0.996408224105835, 1.2660701274871826, 0.6388190388679504, 0.9410355687141418, -0.06203044205904007, -0.34601593017578125...