text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (m *PatientMutation) Op() Op { return m.op }
[ -0.6986097097396851, -0.24238553643226624, 0.11547397077083588, 0.9738075137138367, -0.20953887701034546, 0.7953696250915527, 0.9593345522880554, 0.5977160334587097, 0.3472602665424347, 0.47668513655662537, 0.5056014060974121, -0.4414232671260834, 0.23470833897590637, -1.095261812210083, ...
func (m *PatientMutation) Type() string { return m.typ }
[ -0.1383439004421234, -0.7083227038383484, 0.04892127588391304, 0.6709354519844055, 0.6545658111572266, 0.5576621294021606, 0.6839727759361267, -0.8204361200332642, 0.7888656854629517, 0.23998680710792542, 0.6805510520935059, 0.04063413664698601, -0.3684331178665161, -0.15099851787090302, ...
func (m *PatientMutation) Fields() []string { fields := make([]string, 0, 5) if m._Idcard != nil { fields = append(fields, patient.FieldIdcard) } if m._PatientName != nil { fields = append(fields, patient.FieldPatientName) } if m._Address != nil { fields = append(fields, patient.FieldAddress) } if m._Cong...
[ -0.5511960387229919, -0.4718345105648041, 0.21267744898796082, -0.9873509407043457, 0.2492491602897644, 0.13178382813930511, -1.0328083038330078, -0.07686270028352737, 0.24370135366916656, -0.00229157623834908, -0.6684138178825378, -0.5753844976425171, -0.1986287236213684, -0.2796255350112...
func (m *PatientMutation) Field(name string) (ent.Value, bool) { switch name { case patient.FieldIdcard: return m.Idcard() case patient.FieldPatientName: return m.PatientName() case patient.FieldAddress: return m.Address() case patient.FieldCongenital: return m.Congenital() case patient.FieldAllergic: r...
[ -1.0376638174057007, -0.30464890599250793, 0.5912018418312073, -0.6599674224853516, -0.49046221375465393, 0.5727192759513855, -1.534637451171875, 0.17264407873153687, -0.03428089618682861, -0.013657632283866405, -0.6370190978050232, -0.36571335792541504, -0.09386014193296432, 0.18321882188...
func (m *PatientMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case patient.FieldIdcard: return m.OldIdcard(ctx) case patient.FieldPatientName: return m.OldPatientName(ctx) case patient.FieldAddress: return m.OldAddress(ctx) case patient.FieldCongenital: return m.Ol...
[ -0.25422602891921997, -0.3748772442340851, 0.5338369011878967, -1.0244277715682983, 0.055903851985931396, 0.4171352684497833, -0.25001007318496704, -0.32135453820228577, 0.0733596608042717, -0.1721448302268982, -0.13871869444847107, -0.030792631208896637, -0.030004970729351044, -0.28645950...
func (m *PatientMutation) SetField(name string, value ent.Value) error { switch name { case patient.FieldIdcard: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetIdcard(v) return nil case patient.FieldPatientName: v, ok := value.(string) if !o...
[ -0.6974175572395325, -0.23505349457263947, 0.6295506358146667, -0.4116264283657074, -0.5486948490142822, 0.5896223187446594, -0.4991967976093292, -0.009931578300893307, -0.38198429346084595, 0.08026938885450363, -0.2067476212978363, -0.09480811655521393, -0.017467645928263664, 0.3986597359...
func (m *PatientMutation) AddedFields() []string { return nil }
[ 0.04955005645751953, 0.1001315787434578, 0.48262351751327515, -0.11326072365045547, 0.2798997461795807, 0.8596610426902771, 0.1449098289012909, 0.25942203402519226, 1.0589457750320435, -1.0977110862731934, -0.3507307171821594, -0.3200836777687073, -1.2868317365646362, -0.04509619623422623,...
func (m *PatientMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -1.229461669921875, 0.3672495186328888, 0.7993383407592773, -0.33145609498023987, -0.20893186330795288, 1.1975148916244507, -0.48115551471710205, 0.2599813640117645, 0.47722476720809937, -0.4345824122428894, -0.7526025176048279, -1.144513487815857, -1.4233959913253784, 0.00876588188111782,...
func (m *PatientMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Patient numeric field %s", name) }
[ -0.6982986330986023, 0.41143301129341125, 0.6067346334457397, 0.10245576500892639, -0.10776703804731369, 1.401684045791626, -0.9840719699859619, -0.13399140536785126, -0.3869248926639557, -0.07138443738222122, 0.11226489394903183, -1.0171455144882202, 0.0814550593495369, 0.1635716110467910...
func (m *PatientMutation) ClearedFields() []string { return nil }
[ 0.03663954883813858, 0.5226245522499084, 0.4078139066696167, -0.10443678498268127, -0.44346198439598083, 0.6892607808113098, 0.06148896366357803, -0.18983712792396545, 0.8615696430206299, 0.4394714832305908, -0.2186906784772873, -0.243943989276886, -0.9760242700576782, -0.8578017950057983,...
func (m *PatientMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.5852476954460144, 0.1654626578092575, 0.7275664210319519, -0.32574698328971863, -0.3028753101825714, 0.39961040019989014, -0.8900498747825623, 0.18594275414943695, -0.10169605910778046, -0.19565318524837494, -0.8857962489128113, -0.5066975355148315, 0.3215309679508209, -0.47398561239242...
func (m *PatientMutation) ClearField(name string) error { return fmt.Errorf("unknown Patient nullable field %s", name) }
[ 0.059325430542230606, 0.5595940351486206, 0.5172212719917297, -0.26516106724739075, -0.5501784086227417, 0.854089081287384, -0.6467491984367371, -0.1852525919675827, 0.04504859820008278, 0.9112534523010254, -0.204135924577713, -0.5747923254966736, -0.024935444816946983, -0.0298791490495204...
func (m *PatientMutation) ResetField(name string) error { switch name { case patient.FieldIdcard: m.ResetIdcard() return nil case patient.FieldPatientName: m.ResetPatientName() return nil case patient.FieldAddress: m.ResetAddress() return nil case patient.FieldCongenital: m.ResetCongenital() return...
[ -0.5901222825050354, 0.21667982637882233, 0.38220518827438354, -0.20278094708919525, 0.32729819416999817, 0.09257746487855911, 0.11561231315135956, -0.0796099379658699, -0.10418394207954407, 0.15945175290107727, -0.6577922105789185, -0.35712429881095886, -0.5399062037467957, -0.41036704182...
func (m *PatientMutation) AddedEdges() []string { edges := make([]string, 0, 6) if m.employee != nil { edges = append(edges, patient.EdgeEmployee) } if m.category != nil { edges = append(edges, patient.EdgeCategory) } if m.bloodtype != nil { edges = append(edges, patient.EdgeBloodtype) } if m.gender != ni...
[ -0.11543943732976913, -0.9860427975654602, 0.28070271015167236, -0.21079660952091217, 0.26685288548469543, 0.22854039072990417, -1.3960227966308594, 0.07237301766872406, 0.9460508227348328, 0.3883626461029053, 0.4194186329841614, 0.27083536982536316, -0.4139230251312256, 0.3964733779430389...
func (m *PatientMutation) AddedIDs(name string) []ent.Value { switch name { case patient.EdgeEmployee: if id := m.employee; id != nil { return []ent.Value{*id} } case patient.EdgeCategory: if id := m.category; id != nil { return []ent.Value{*id} } case patient.EdgeBloodtype: if id := m.bloodtype; id...
[ -0.4621583819389343, -1.2238430976867676, 0.3873048722743988, -0.8262301683425903, -0.16767679154872894, 0.14498575031757355, -1.031653881072998, 0.07451897114515305, 0.4753541946411133, 0.2260328233242035, 0.2973197102546692, 0.45853403210639954, -0.23378559947013855, 0.381491094827652, ...
func (m *PatientMutation) RemovedEdges() []string { edges := make([]string, 0, 6) if m.removeddiagnosis != nil { edges = append(edges, patient.EdgeDiagnosis) } return edges }
[ 0.18080532550811768, -0.5449216365814209, 0.42730557918548584, 0.30342069268226624, -0.06435270607471466, -0.510858416557312, -0.49647027254104614, 0.8483224511146545, 1.3434134721755981, 0.17686831951141357, -0.27116668224334717, -0.25874626636505127, -0.5992063879966736, 0.16672636568546...
func (m *PatientMutation) RemovedIDs(name string) []ent.Value { switch name { case patient.EdgeDiagnosis: ids := make([]ent.Value, 0, len(m.removeddiagnosis)) for id := range m.removeddiagnosis { ids = append(ids, id) } return ids } return nil }
[ -0.3828078806400299, -0.799550473690033, 0.4826509356498718, -0.6496732831001282, -0.041965410113334656, -0.17182330787181854, -0.6710273027420044, 0.8330732583999634, 0.9569239616394043, 0.2631570100784302, -0.6337711215019226, 0.11881303787231445, -0.3559303283691406, 0.03250623494386673...
func (m *PatientMutation) ClearedEdges() []string { edges := make([]string, 0, 6) if m.clearedemployee { edges = append(edges, patient.EdgeEmployee) } if m.clearedcategory { edges = append(edges, patient.EdgeCategory) } if m.clearedbloodtype { edges = append(edges, patient.EdgeBloodtype) } if m.clearedgen...
[ -0.7241924405097961, -0.5716794729232788, 0.34694942831993103, 0.09526555240154266, -0.7582782506942749, 0.057868216186761856, -1.1535084247589111, -0.5578404664993286, 0.5209047198295593, 1.4212825298309326, 0.3828270137310028, 0.7355154156684875, -0.3293887674808502, -0.2675057649612427,...
func (m *PatientMutation) EdgeCleared(name string) bool { switch name { case patient.EdgeEmployee: return m.clearedemployee case patient.EdgeCategory: return m.clearedcategory case patient.EdgeBloodtype: return m.clearedbloodtype case patient.EdgeGender: return m.clearedgender case patient.EdgeNametitle: ...
[ -1.0319156646728516, -0.5934038162231445, 0.7388011813163757, -0.5911810398101807, -0.4715415835380554, 0.3825896382331848, -0.931748628616333, -0.3993803560733795, -0.09080139547586441, 0.7200199961662292, -0.24567413330078125, 0.124190554022789, -0.6673647165298462, -0.19634705781936646,...
func (m *PatientMutation) ClearEdge(name string) error { switch name { case patient.EdgeEmployee: m.ClearEmployee() return nil case patient.EdgeCategory: m.ClearCategory() return nil case patient.EdgeBloodtype: m.ClearBloodtype() return nil case patient.EdgeGender: m.ClearGender() return nil case ...
[ -0.9784995913505554, 0.3352232277393341, 0.4895176887512207, 0.6590098142623901, -0.06724141538143158, 0.1934487521648407, -0.40099191665649414, 0.327338308095932, 0.033273909240961075, 0.5880378484725952, -0.04484417662024498, -0.08282684534788132, -0.1722894310951233, 0.5394907593727112,...
func (m *PatientMutation) ResetEdge(name string) error { switch name { case patient.EdgeEmployee: m.ResetEmployee() return nil case patient.EdgeCategory: m.ResetCategory() return nil case patient.EdgeBloodtype: m.ResetBloodtype() return nil case patient.EdgeGender: m.ResetGender() return nil case ...
[ -0.9954122304916382, -0.11183671653270721, 0.4611430764198303, 0.4846401512622833, 0.5406216382980347, -0.4413674473762512, -0.21432062983512878, 0.6088142395019531, -0.4142894446849823, 0.6547415256500244, -0.34601858258247375, 0.12204809486865997, -0.7298740744590759, -0.0061165858060121...
func newPlaceMutation(c config, op Op, opts ...placeOption) *PlaceMutation { m := &PlaceMutation{ config: c, op: op, typ: TypePlace, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -0.7943708896636963, -0.08922594785690308, 0.4051486551761627, 0.42084774374961853, -0.43644019961357117, -0.7290998697280884, 0.7580176591873169, 0.49274230003356934, 1.1926295757293701, 0.6751371026039124, -0.6431248188018799, -0.620603084564209, -0.793095052242279, -0.32629525661468506,...
func withPlaceID(id int) placeOption { return func(m *PlaceMutation) { var ( err error once sync.Once value *Place ) m.oldValue = func(ctx context.Context) (*Place, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed") } else { ...
[ 0.29182058572769165, -0.35682377219200134, 0.5058708786964417, -0.18806575238704681, -0.08000551909208298, 0.04535680636763573, 0.0029737157747149467, -0.33774662017822266, 1.5524756908416748, 0.6874132752418518, 0.09409432858228683, 0.06066303700208664, -0.051090046763420105, 0.7076303362...
func withPlace(node *Place) placeOption { return func(m *PlaceMutation) { m.oldValue = func(context.Context) (*Place, error) { return node, nil } m.id = &node.ID } }
[ -0.2733309864997864, 0.13863982260227203, 0.5083877444267273, -0.28620484471321106, 0.20804744958877563, -0.776081383228302, 0.409241646528244, -0.1832156479358673, 1.374204397201538, 0.22695693373680115, -0.19216658174991608, -0.4173206388950348, 0.562557578086853, 0.05330014228820801, ...
func (m PlaceMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ -0.14617526531219482, -0.08104608207941055, 0.05183215066790581, 0.013566463254392147, -0.49527350068092346, 0.3626704514026642, 1.2008954286575317, 0.12853488326072693, 0.6158115863800049, -0.32222872972488403, -0.512383759021759, 0.21182316541671753, -0.30295607447624207, -0.617182910442...
func (m PlaceMutation) 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.019157923758029938, 0.5787724256515503, 0.3380507230758667, 0.46737906336784363, 0.16151878237724304, 0.003500098828226328, 0.27532047033309937, 0.5060389637947083, 0.9108390212059021, 0.2291523814201355, -0.06231255084276199, -0.3641088902950287, -0.5441643595695496, -0.6521252393722534...
func (m *PlaceMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.6190119981765747, -0.032218243926763535, 0.6527631282806396, 0.4216441214084625, -0.016741178929805756, 0.3796195983886719, 0.6785008311271667, 0.5821014642715454, 1.3279615640640259, 0.4613091051578522, -0.21131472289562225, -0.8813046813011169, -1.0872080326080322, 0.621441125869751, ...
func (m *PlaceMutation) SetPlaceName(s string) { m._PlaceName = &s }
[ -0.7659804821014404, 0.4887104630470276, 0.2581733167171478, 0.4722931385040283, -1.0488547086715698, -0.3874671459197998, 0.7407665848731995, 1.3678890466690063, 0.7638264894485474, -0.4533931612968445, -0.339552640914917, -0.9283201694488525, -0.14593401551246643, 0.15005679428577423, ...
func (m *PlaceMutation) PlaceName() (r string, exists bool) { v := m._PlaceName if v == nil { return } return *v, true }
[ -1.652382731437683, 0.8147924542427063, 0.6486544609069824, 0.1433219462633133, -0.5655320882797241, -0.664765477180481, 0.37131279706954956, 0.773322582244873, 0.4236797094345093, 0.8254392147064209, -0.08135810494422913, -1.3829433917999268, -0.8221810460090637, -0.533829391002655, -0....
func (m *PlaceMutation) OldPlaceName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldPlaceName is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldPlaceName requires an ID field in the mutation") } oldValue,...
[ -0.8051902651786804, -0.03899732977151871, 0.567457377910614, 0.1714078038930893, -0.6045212149620056, -0.28661099076271057, 0.7161080241203308, 0.455352783203125, 1.3813410997390747, 0.35038524866104126, 0.4019917845726013, -0.4762473702430725, -0.40321388840675354, 0.3659191429615021, ...
func (m *PlaceMutation) ResetPlaceName() { m._PlaceName = nil }
[ -0.7513836622238159, 0.3060484230518341, 0.057670801877975464, 0.6508148908615112, -0.7245706915855408, -0.677108883857727, 0.7455478310585022, 0.8772562742233276, 0.5084653496742249, -0.00485752709209919, -0.1021515429019928, 0.07723534852266312, -0.9273101687431335, -0.6936427354812622, ...
func (m *PlaceMutation) AddEmployeeIDs(ids ...int) { if m.employee == nil { m.employee = make(map[int]struct{}) } for i := range ids { m.employee[ids[i]] = struct{}{} } }
[ -1.9490294456481934, -0.19686371088027954, 0.2841074466705322, -0.6753590703010559, 0.16808894276618958, 0.609404981136322, -0.41021478176116943, 1.016866683959961, 0.02534927800297737, 0.6999520659446716, -0.5690978765487671, -0.3500984311103821, -0.9710801839828491, 0.5750453472137451, ...
func (m *PlaceMutation) RemoveEmployeeIDs(ids ...int) { if m.removedemployee == nil { m.removedemployee = make(map[int]struct{}) } for i := range ids { m.removedemployee[ids[i]] = struct{}{} } }
[ -1.7711495161056519, -0.6740688681602478, 0.26083439588546753, -0.7812312245368958, -0.7219940423965454, 0.219936802983284, 0.146437406539917, 1.2757995128631592, -0.13051395118236542, 1.0389872789382935, -1.398477554321289, -0.3380526006221771, -1.397634744644165, 0.37838271260261536, -...
func (m *PlaceMutation) RemovedEmployeeIDs() (ids []int) { for id := range m.removedemployee { ids = append(ids, id) } return }
[ -1.0816375017166138, -1.0107485055923462, 0.2299894243478775, -0.19133801758289337, -0.33925366401672363, 0.39156174659729004, 0.38917461037635803, 1.2520201206207275, 0.4548352360725403, 0.4065466821193695, -1.3549162149429321, 0.7558692097663879, -1.4165807962417603, 1.0134923458099365, ...
func (m *PlaceMutation) EmployeeIDs() (ids []int) { for id := range m.employee { ids = append(ids, id) } return }
[ -1.5154184103012085, -0.49091625213623047, 0.052105613052845, -0.21397756040096283, -0.16106736660003662, 0.6455203294754028, -0.33634504675865173, 0.8879219889640808, 0.465620219707489, 0.9523846507072449, -0.2688772976398468, 0.951543390750885, -1.0478159189224243, 0.6263424754142761, ...
func (m *PlaceMutation) ResetEmployee() { m.employee = nil m.removedemployee = nil }
[ -0.22172504663467407, 0.006398048717528582, 0.2327306717634201, 0.3800216019153595, 0.023005373775959015, 0.12754638493061066, 0.8833082914352417, 1.1656237840652466, -0.8338392972946167, 0.07435044646263123, -0.3760789632797241, 0.04753584787249565, -1.102354884147644, -0.0276724863797426...
func (m *PlaceMutation) Op() Op { return m.op }
[ -1.0462507009506226, 0.30663198232650757, 0.10684363543987274, 0.7506973147392273, -0.527003824710846, 0.9705523252487183, 1.4520169496536255, 0.7455087304115295, 0.7822538614273071, 0.5384308695793152, 0.2057873159646988, -0.8865771889686584, -0.08999136835336685, -0.6204426288604736, -...
func (m *PlaceMutation) Type() string { return m.typ }
[ -0.3599361479282379, -0.11389055103063583, 0.06474652141332626, 0.229691743850708, 0.23078322410583496, 0.7345685362815857, 1.1018468141555786, -0.6525869369506836, 1.2426646947860718, 0.40309759974479675, 0.42891478538513184, -0.4998120367527008, -0.7471427321434021, 0.35434243083000183, ...
func (m *PlaceMutation) Fields() []string { fields := make([]string, 0, 1) if m._PlaceName != nil { fields = append(fields, place.FieldPlaceName) } return fields }
[ -1.1534870862960815, 0.30742204189300537, 0.08173815160989761, -0.6773124933242798, 0.02401570975780487, 0.0708831399679184, -0.023872869089245796, 0.37625810503959656, 1.2200284004211426, 0.060855280607938766, -0.48095861077308655, -0.5341963768005371, -0.7369954586029053, 0.1950070261955...
func (m *PlaceMutation) Field(name string) (ent.Value, bool) { switch name { case place.FieldPlaceName: return m.PlaceName() } return nil, false }
[ -1.3703969717025757, 0.43810632824897766, 0.6054478883743286, -0.41394850611686707, -0.6158498525619507, 0.5555906891822815, -0.47325825691223145, 0.3950578570365906, 0.8589722514152527, 0.18372827768325806, -0.5347190499305725, -1.0080597400665283, -0.36658555269241333, 0.643096387386322,...
func (m *PlaceMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case place.FieldPlaceName: return m.OldPlaceName(ctx) } return nil, fmt.Errorf("unknown Place field %s", name) }
[ -0.4754144847393036, 0.4738796353340149, 0.3597223162651062, -0.8987404108047485, -0.009195762686431408, 0.33301597833633423, 0.27694764733314514, 0.033522434532642365, 1.0457983016967773, 0.047030746936798096, -0.28003203868865967, -0.11293382942676544, -0.4794299900531769, 0.202404588460...
func (m *PlaceMutation) SetField(name string, value ent.Value) error { switch name { case place.FieldPlaceName: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetPlaceName(v) return nil } return fmt.Errorf("unknown Place field %s", name) }
[ -1.0900444984436035, 0.5332120656967163, 0.47842323780059814, -0.31857526302337646, -0.6114131808280945, 0.8345987796783447, -0.2057190239429474, 0.4289988577365875, 0.5166404247283936, 0.18911965191364288, -0.4265718162059784, -0.38477158546447754, -0.24803908169269562, 0.8515441417694092...
func (m *PlaceMutation) AddedFields() []string { return nil }
[ -0.30688902735710144, 0.4782460629940033, 0.5048977136611938, -0.289634108543396, 0.12229365855455399, 0.911935567855835, 0.5242834687232971, 0.5055813193321228, 1.4735054969787598, -0.865151584148407, -0.3843943476676941, -0.4276089072227478, -1.499712586402893, 0.19025811553001404, -0....
func (m *PlaceMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -1.3342618942260742, 0.6518936157226562, 0.7380062341690063, -0.3780107796192169, -0.3821726441383362, 1.1669328212738037, -0.04677180200815201, 0.4881356954574585, 0.8646601438522339, -0.3072352707386017, -0.7636290192604065, -1.2551106214523315, -1.5617488622665405, 0.26812294125556946, ...
func (m *PlaceMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Place numeric field %s", name) }
[ -0.949407696723938, 0.5939805507659912, 0.6355772614479065, -0.10826148837804794, -0.2965345084667206, 1.3759489059448242, -0.5928248167037964, 0.15468335151672363, 0.036214087158441544, 0.01124648842960596, -0.0465608574450016, -1.0667190551757812, -0.20238153636455536, 0.3825013041496277...
func (m *PlaceMutation) ClearedFields() []string { return nil }
[ -0.3317241370677948, 0.8378441333770752, 0.43637970089912415, -0.33288639783859253, -0.4963042140007019, 0.6958889961242676, 0.4114476144313812, 0.07175702601671219, 1.234096646308899, 0.6462922096252441, -0.2767714262008667, -0.33980610966682434, -1.1249631643295288, -0.6842296123504639, ...
func (m *PlaceMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.6992486715316772, 0.4325321614742279, 0.756237804889679, -0.4136215150356293, -0.45639681816101074, 0.4085172712802887, -0.5505422353744507, 0.32690033316612244, 0.12408172339200974, -0.09107508510351181, -0.9297314286231995, -0.7222573757171631, 0.2856038510799408, -0.20036610960960388...
func (m *PlaceMutation) ClearField(name string) error { return fmt.Errorf("unknown Place nullable field %s", name) }
[ -0.22003427147865295, 0.7252461314201355, 0.5151744484901428, -0.4421832263469696, -0.7323791980743408, 0.7674485445022583, -0.24915361404418945, 0.08140677213668823, 0.4285159111022949, 1.1053723096847534, -0.3673609793186188, -0.5731562376022339, -0.25032153725624084, 0.14919275045394897...
func (m *PlaceMutation) ResetField(name string) error { switch name { case place.FieldPlaceName: m.ResetPlaceName() return nil } return fmt.Errorf("unknown Place field %s", name) }
[ -0.8118510842323303, 1.0290898084640503, 0.3202662765979767, -0.10618218034505844, 0.10500214248895645, 0.1569562703371048, 0.5941269993782043, 0.5230584144592285, 0.6476986408233643, 0.4215940833091736, -0.4458469748497009, -0.22065706551074982, -0.8092690110206604, -0.07473516464233398, ...
func (m *PlaceMutation) AddedEdges() []string { edges := make([]string, 0, 1) if m.employee != nil { edges = append(edges, place.EdgeEmployee) } return edges }
[ -0.6481140851974487, 0.004826308228075504, 0.22351469099521637, 0.2762965261936188, 0.03513266146183014, 0.3230533301830292, -0.8787439465522766, 0.43037861585617065, 1.475442886352539, 0.4835748076438904, 0.7474104166030884, 0.4707096517086029, -1.4419962167739868, 0.5107961893081665, -...
func (m *PlaceMutation) AddedIDs(name string) []ent.Value { switch name { case place.EdgeEmployee: ids := make([]ent.Value, 0, len(m.employee)) for id := range m.employee { ids = append(ids, id) } return ids } return nil }
[ -0.9650880694389343, -0.18797607719898224, 0.24034817516803741, -0.7373156547546387, -0.09615018963813782, 0.6634880900382996, -0.5857430100440979, 0.4523566961288452, 0.9023615121841431, 0.39219072461128235, 0.42842310667037964, 0.5165905952453613, -1.2318522930145264, 0.5427054166793823,...
func (m *PlaceMutation) RemovedEdges() []string { edges := make([]string, 0, 1) if m.removedemployee != nil { edges = append(edges, place.EdgeEmployee) } return edges }
[ -0.4118388593196869, -0.04338092729449272, 0.4774169623851776, 0.21813270449638367, -0.3697318732738495, -0.185662180185318, -0.17900438606739044, 0.9995240569114685, 1.2007832527160645, 0.5637843608856201, -0.16714847087860107, 0.2428840845823288, -1.6220479011535645, 0.33553168177604675,...
func (m *PlaceMutation) RemovedIDs(name string) []ent.Value { switch name { case place.EdgeEmployee: ids := make([]ent.Value, 0, len(m.removedemployee)) for id := range m.removedemployee { ids = append(ids, id) } return ids } return nil }
[ -0.6500136852264404, -0.4153766930103302, 0.41959044337272644, -0.7088263630867004, -0.2313304990530014, 0.14924021065235138, -0.343266099691391, 0.8867908716201782, 0.7651491165161133, 0.5773944854736328, -0.6558741927146912, 0.40987280011177063, -1.5020384788513184, 0.33675023913383484, ...
func (m *PlaceMutation) ClearedEdges() []string { edges := make([]string, 0, 1) return edges }
[ -0.9477195739746094, -0.0080752307549119, 0.3945125639438629, 0.32500889897346497, -0.7950271368026733, 0.0617753267288208, -0.6577239632606506, -0.24059906601905823, 1.1055041551589966, 1.6900603771209717, 0.3827683627605438, 0.6672850251197815, -0.886505126953125, -0.4292553663253784, ...
func (m *PlaceMutation) EdgeCleared(name string) bool { switch name { } return false }
[ -1.1473283767700195, -0.0028312141075730324, 0.6029762029647827, -0.29872193932533264, -0.7662912607192993, 0.6322232484817505, -0.48564958572387695, 0.05894353240728378, 0.21041205525398254, 0.49101483821868896, -0.07991769909858704, -0.7718562483787537, -0.7404083013534546, 0.21827560663...
func (m *PlaceMutation) ClearEdge(name string) error { switch name { } return fmt.Errorf("unknown Place unique edge %s", name) }
[ -1.0039299726486206, 1.0843324661254883, 0.3690260350704193, 0.5598644614219666, -0.5345629453659058, 0.15681922435760498, -0.08998022228479385, 0.7512983679771423, 0.37369102239608765, 1.1670801639556885, 0.1502964347600937, -0.14942526817321777, -0.3338492810726166, 0.5567365884780884, ...
func (m *PlaceMutation) ResetEdge(name string) error { switch name { case place.EdgeEmployee: m.ResetEmployee() return nil } return fmt.Errorf("unknown Place edge %s", name) }
[ -1.1261190176010132, 0.7614879608154297, 0.29578229784965515, 0.8346218466758728, 0.28229543566703796, -0.29884040355682373, 0.3014357089996338, 1.132795810699463, -0.06443522870540619, 1.1129601001739502, 0.2452007532119751, 0.25058773159980774, -1.2583301067352295, -0.01364879310131073, ...
func newSeverityMutation(c config, op Op, opts ...severityOption) *SeverityMutation { m := &SeverityMutation{ config: c, op: op, typ: TypeSeverity, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ 0.03715984523296356, -0.042726144194602966, 0.33839327096939087, 0.9602378010749817, -0.1486659198999405, -0.9488986730575562, 0.6621463298797607, 0.30616065859794617, 0.8130906820297241, 0.44567397236824036, -1.4829349517822266, -0.15502303838729858, -0.8230749368667603, -0.18059433996677...
func withSeverityID(id int) severityOption { return func(m *SeverityMutation) { var ( err error once sync.Once value *Severity ) m.oldValue = func(ctx context.Context) (*Severity, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed") ...
[ 0.7769785523414612, -0.7814646363258362, 0.5709244012832642, 0.24933338165283203, 0.09101726114749908, -0.25375479459762573, 0.2458561211824417, -0.1147330105304718, 0.932678759098053, 0.6211374402046204, -0.5634331703186035, 0.3127547800540924, 0.17400503158569336, 0.5575290322303772, -...
func withSeverity(node *Severity) severityOption { return func(m *SeverityMutation) { m.oldValue = func(context.Context) (*Severity, error) { return node, nil } m.id = &node.ID } }
[ 0.40202784538269043, -0.28380531072616577, 0.5015788078308105, 0.1910339742898941, 0.38520362973213196, -0.8373249769210815, 0.5886152982711792, 0.3683653175830841, 0.9720993041992188, -0.21563135087490082, -0.8643563985824585, -0.30543822050094604, 0.9272074103355408, -0.14033308625221252...
func (m SeverityMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ 0.608095109462738, -0.35235562920570374, -0.046040065586566925, 0.508685827255249, -0.3831254243850708, 0.03294863924384117, 0.9688685536384583, 0.11968362331390381, 0.42261555790901184, -0.5778881907463074, -0.7383695244789124, 0.49761611223220825, -0.30986160039901733, -1.021052122116088...
func (m SeverityMutation) 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.5793309807777405, 0.3449212610721588, 0.3487037122249603, 0.5763185024261475, 0.27599436044692993, -0.2124028205871582, -0.15322138369083405, 0.540614902973175, 0.5507285594940186, 0.0008621162851341069, -0.35728660225868225, -0.20355114340782166, -0.5585068464279175, -0.9783399105072021...
func (m *SeverityMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ 0.1630442887544632, -0.2380741834640503, 0.6855236291885376, 0.5815021395683289, 0.23694856464862823, 0.029391849413514137, 0.10244816541671753, 0.4017050266265869, 1.0322378873825073, 0.4367319643497467, -0.6188763380050659, -0.6096513867378235, -1.0182676315307617, 0.18435950577259064, ...
func (m *SeverityMutation) SetSeverityName(s string) { m._SeverityName = &s }
[ 0.16280463337898254, -0.07869881391525269, 0.12051886320114136, 0.5650192499160767, -0.786613404750824, -0.8004541993141174, 0.9603843688964844, 0.8568848371505737, 0.05221233516931534, -0.49129584431648254, -1.4432296752929688, -0.6533145904541016, 0.0656290203332901, 0.22155772149562836,...
func (m *SeverityMutation) SeverityName() (r string, exists bool) { v := m._SeverityName if v == nil { return } return *v, true }
[ -0.4844599962234497, 0.3836231827735901, 0.5880146622657776, 0.32440778613090515, -0.3304835855960846, -1.1174230575561523, 0.408596396446228, 0.6466236114501953, 0.1137114018201828, 0.5818473100662231, -0.9186543822288513, -1.181443452835083, -0.6628475785255432, -0.7103280425071716, 0....
func (m *SeverityMutation) OldSeverityName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldSeverityName is allowed only on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldSeverityName requires an ID field in the mutation") ...
[ -0.15936046838760376, -0.0861140564084053, 0.47646504640579224, 0.11269405484199524, -0.6836456060409546, -0.82523113489151, 0.4991409182548523, -0.19893021881580353, 0.43281859159469604, 0.5000682473182678, -0.46846750378608704, -0.5453054308891296, 0.030783310532569885, 0.553544521331787...
func (m *SeverityMutation) ResetSeverityName() { m._SeverityName = nil }
[ 0.6305605173110962, -0.2784833312034607, -0.06330497562885284, 0.9619419574737549, -0.3929344415664673, -0.8824689388275146, 0.9098098874092102, 0.3897799849510193, -0.43630725145339966, 0.2208748608827591, -1.0372843742370605, 0.12904424965381622, -0.4899245500564575, -0.3631722629070282,...
func (m *SeverityMutation) AddDiseaseIDs(ids ...int) { if m.disease == nil { m.disease = make(map[int]struct{}) } for i := range ids { m.disease[ids[i]] = struct{}{} } }
[ -1.322972059249878, -0.4648241698741913, 0.3990832269191742, -0.3427691161632538, -0.37157151103019714, -0.2820201814174652, -0.7441036105155945, 0.9133716225624084, 0.773482084274292, 0.0017422540113329887, -0.6120685935020447, 0.10002604126930237, 0.12080147117376328, -0.0200704876333475...
func (m *SeverityMutation) RemoveDiseaseIDs(ids ...int) { if m.removeddisease == nil { m.removeddisease = make(map[int]struct{}) } for i := range ids { m.removeddisease[ids[i]] = struct{}{} } }
[ -0.7317425608634949, -0.515754222869873, 0.40035226941108704, -0.03888650983572006, -0.5946093797683716, -0.7890371680259705, 0.07812102138996124, 1.4484466314315796, 0.5648135542869568, 0.4909689128398895, -1.4410845041275024, -0.22528111934661865, -0.5378320217132568, -0.2288609147071838...
func (m *SeverityMutation) RemovedDiseaseIDs() (ids []int) { for id := range m.removeddisease { ids = append(ids, id) } return }
[ 0.2549193501472473, -1.1338512897491455, 0.4214170575141907, -0.09151499718427658, -0.856041431427002, -0.4965139329433441, -0.4711153507232666, 1.0549967288970947, 1.202406883239746, -0.36938905715942383, -1.003855586051941, 0.8646397590637207, -0.3514147400856018, 0.15730835497379303, ...
func (m *SeverityMutation) DiseaseIDs() (ids []int) { for id := range m.disease { ids = append(ids, id) } return }
[ -0.9964656829833984, -0.7970304489135742, 0.06566566973924637, -0.20108751952648163, -0.36618155241012573, -0.3719918727874756, -0.6721158027648926, 1.0011812448501587, 1.0024839639663696, 0.3645830750465393, 0.16606099903583527, 1.2142515182495117, -0.6654303669929504, -0.0634782910346984...
func (m *SeverityMutation) ResetDisease() { m.disease = nil m.removeddisease = nil }
[ 0.6275206804275513, -0.10404890775680542, 0.27269360423088074, 0.8090600967407227, 0.16049425303936005, -0.7510910630226135, -0.40110132098197937, 0.9531278014183044, -0.08867663145065308, -0.7601228356361389, -0.08791549503803253, 0.5344134569168091, -0.6267598271369934, -0.17045120894908...
func (m *SeverityMutation) Op() Op { return m.op }
[ 0.05451710522174835, 0.04813213273882866, 0.07855537533760071, 1.0660268068313599, -0.2105405479669571, 0.6579896807670593, 0.8789480328559875, 0.7328686118125916, 0.6039590239524841, 0.2728334367275238, -0.016676878556609154, -0.42069897055625916, -0.15806861221790314, -1.1930049657821655...
func (m *SeverityMutation) Type() string { return m.typ }
[ 0.6475686430931091, -0.5041700601577759, -0.049641311168670654, 0.8359109163284302, 0.5505984425544739, 0.20000894367694855, 0.7135850787162781, -0.7302861213684082, 0.9379753470420837, 0.1776561290025711, 0.11534738540649414, 0.08163353055715561, -0.692533552646637, -0.14436255395412445, ...
func (m *SeverityMutation) Fields() []string { fields := make([]string, 0, 1) if m._SeverityName != nil { fields = append(fields, severity.FieldSeverityName) } return fields }
[ -0.20167702436447144, 0.29508641362190247, 0.10126306861639023, -0.1960456669330597, 0.5278624892234802, -0.12681084871292114, -0.5314425230026245, 0.269090473651886, 0.6760261654853821, -0.06569430232048035, -0.8703257441520691, -0.45709291100502014, -0.6605796813964844, -0.13233734667301...
func (m *SeverityMutation) Field(name string) (ent.Value, bool) { switch name { case severity.FieldSeverityName: return m.SeverityName() } return nil, false }
[ -0.5889376401901245, 0.5700811743736267, 0.6194064617156982, -0.10605278611183167, -0.2450307309627533, 0.14002622663974762, -0.9529713988304138, 0.1433110386133194, 0.2967454493045807, -0.12745101749897003, -0.8065069317817688, -0.8067650198936462, -0.30757278203964233, 0.1507285833358764...
func (m *SeverityMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case severity.FieldSeverityName: return m.OldSeverityName(ctx) } return nil, fmt.Errorf("unknown Severity field %s", name) }
[ 0.5115635395050049, 0.45979878306388855, 0.3340231478214264, -0.5382195711135864, 0.10786764323711395, 0.23107843101024628, -0.17340557277202606, -0.26254165172576904, 0.21707439422607422, -0.09510870277881622, -0.5021623373031616, -0.07911546528339386, -0.24666622281074524, -0.24726630747...
func (m *SeverityMutation) SetField(name string, value ent.Value) error { switch name { case severity.FieldSeverityName: v, ok := value.(string) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetSeverityName(v) return nil } return fmt.Errorf("unknown Severity field %s", ...
[ -0.13721191883087158, 0.6057353019714355, 0.4193148910999298, 0.14064036309719086, -0.22378866374492645, 0.761224091053009, -0.6354465484619141, 0.1005350798368454, -0.08347631990909576, -0.04991082847118378, -0.764554500579834, -0.5347399711608887, -0.20305249094963074, 0.5436564683914185...
func (m *SeverityMutation) AddedFields() []string { return nil }
[ 0.37207505106925964, 0.44670405983924866, 0.5063795447349548, 0.12677334249019623, 0.3120402693748474, 0.4585677683353424, 0.12561281025409698, 0.33386585116386414, 1.086782455444336, -0.9566211104393005, -0.7201633453369141, -0.2641834020614624, -1.351124882698059, -0.13198691606521606, ...
func (m *SeverityMutation) AddedField(name string) (ent.Value, bool) { return nil, false }
[ -0.762773334980011, 0.6578580737113953, 0.8280980587005615, -0.20973186194896698, -0.20162293314933777, 0.8054457306861877, -0.4893905818462372, 0.32456663250923157, 0.564175009727478, -0.3811039924621582, -0.9946891665458679, -1.0824085474014282, -1.5556520223617554, -0.11180606484413147,...
func (m *SeverityMutation) AddField(name string, value ent.Value) error { switch name { } return fmt.Errorf("unknown Severity numeric field %s", name) }
[ -0.15622694790363312, 0.6901654005050659, 0.5779455900192261, 0.1745997667312622, -0.18140575289726257, 1.0293192863464355, -0.963549792766571, 0.023195667192339897, -0.2769715189933777, -0.003934983164072037, -0.22598347067832947, -0.9269970655441284, -0.23312094807624817, 0.0140054775401...
func (m *SeverityMutation) ClearedFields() []string { return nil }
[ 0.3818247616291046, 0.8593205213546753, 0.38589492440223694, 0.09247221052646637, -0.3206770718097687, 0.33800435066223145, 0.09186611324548721, -0.124596506357193, 0.8946409821510315, 0.4237230122089386, -0.503352701663971, -0.20498023927211761, -1.0282565355300903, -0.8414064049720764, ...
func (m *SeverityMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.16904646158218384, 0.28755423426628113, 0.7898684144020081, -0.17901307344436646, -0.21995078027248383, 0.14616353809833527, -0.9796576499938965, 0.27390599250793457, 0.0357002317905426, -0.2299167662858963, -1.0001928806304932, -0.40448808670043945, 0.32883208990097046, -0.368582308292...
func (m *SeverityMutation) ClearField(name string) error { return fmt.Errorf("unknown Severity nullable field %s", name) }
[ 0.3810872435569763, 0.822677731513977, 0.520275354385376, -0.07624251395463943, -0.6589719653129578, 0.554661214351654, -0.5129795074462891, -0.1457425206899643, 0.1650034785270691, 0.9160892367362976, -0.5233144164085388, -0.6497519612312317, -0.17368867993354797, 0.06596881151199341, 0...
func (m *SeverityMutation) ResetField(name string) error { switch name { case severity.FieldSeverityName: m.ResetSeverityName() return nil } return fmt.Errorf("unknown Severity field %s", name) }
[ 0.13920071721076965, 0.9844458103179932, 0.32312408089637756, 0.28439128398895264, 0.2964469790458679, 0.19618426263332367, 0.25820812582969666, 0.26517626643180847, -0.13966384530067444, 0.2987552583217621, -0.7312955856323242, -0.3200998604297638, -0.6179040670394897, -0.2496240288019180...
func (m *SeverityMutation) AddedEdges() []string { edges := make([]string, 0, 1) if m.disease != nil { edges = append(edges, severity.EdgeDisease) } return edges }
[ -0.34139761328697205, -0.3827568292617798, 0.3723653256893158, 0.413788378238678, 0.05163244903087616, -0.16670052707195282, -1.4126118421554565, 0.5286316871643066, 1.6771634817123413, 0.16976246237754822, 0.7053305506706238, 0.593227744102478, -0.7549880146980286, 0.221713587641716, -0...
func (m *SeverityMutation) AddedIDs(name string) []ent.Value { switch name { case severity.EdgeDisease: ids := make([]ent.Value, 0, len(m.disease)) for id := range m.disease { ids = append(ids, id) } return ids } return nil }
[ -0.6493359804153442, -0.6063819527626038, 0.4284994900226593, -0.6117962598800659, -0.11916309595108032, 0.10239116102457047, -1.1485185623168945, 0.5121908187866211, 1.1382274627685547, 0.2746484577655792, 0.394125372171402, 0.6107356548309326, -0.4853871762752533, 0.12281090766191483, ...
func (m *SeverityMutation) RemovedEdges() []string { edges := make([]string, 0, 1) if m.removeddisease != nil { edges = append(edges, severity.EdgeDisease) } return edges }
[ 0.18283012509346008, -0.4543137550354004, 0.4495757222175598, 0.526142418384552, -0.2287227362394333, -0.7373936772346497, -0.8507463335990906, 1.0569570064544678, 1.3979445695877075, 0.2599166929721832, -0.2285347282886505, 0.35151469707489014, -0.9924137592315674, 0.07735772430896759, ...
func (m *SeverityMutation) RemovedIDs(name string) []ent.Value { switch name { case severity.EdgeDisease: ids := make([]ent.Value, 0, len(m.removeddisease)) for id := range m.removeddisease { ids = append(ids, id) } return ids } return nil }
[ -0.137149378657341, -0.7743083238601685, 0.5265409350395203, -0.41687819361686707, -0.27196189761161804, -0.4387427270412445, -0.9665142297744751, 1.036260724067688, 1.0494948625564575, 0.3961605727672577, -0.6809744834899902, 0.2979632318019867, -0.731133222579956, -0.10434658080339432, ...
func (m *SeverityMutation) ClearedEdges() []string { edges := make([]string, 0, 1) return edges }
[ -0.4497389793395996, -0.1117267832159996, 0.39242199063301086, 0.5521771311759949, -0.5838481783866882, -0.06437598168849945, -0.9396722316741943, -0.3993355333805084, 0.8961289525032043, 1.5043574571609497, 0.2621428370475769, 0.8468990921974182, -0.8893179893493652, -0.5061705112457275, ...
func (m *SeverityMutation) EdgeCleared(name string) bool { switch name { } return false }
[ -0.4920658469200134, -0.13539259135723114, 0.684862494468689, -0.23199385404586792, -0.5609692335128784, 0.4583658277988434, -0.7603229284286499, -0.0797201618552208, -0.019639482721686363, 0.43926000595092773, -0.14304609596729279, -0.4290856420993805, -0.8040884137153625, 0.0947367176413...
func (m *SeverityMutation) ClearEdge(name string) error { switch name { } return fmt.Errorf("unknown Severity unique edge %s", name) }
[ -0.338295042514801, 1.126774787902832, 0.4475226402282715, 0.8705015182495117, -0.484969824552536, 0.07621368020772934, -0.4245944023132324, 0.7572042346000671, -0.007667157333344221, 0.8984535336494446, -0.08859775960445404, -0.07163701951503754, -0.15272589027881622, 0.5292634963989258, ...
func (m *SeverityMutation) ResetEdge(name string) error { switch name { case severity.EdgeDisease: m.ResetDisease() return nil } return fmt.Errorf("unknown Severity edge %s", name) }
[ -0.43195971846580505, 0.377511203289032, 0.2895895540714264, 1.1952272653579712, 0.20658786594867706, -0.6303132772445679, -0.18454799056053162, 1.1949325799942017, 0.00010383129847468808, 1.0929025411605835, 0.041658807545900345, -0.017392441630363464, -0.740039050579071, -0.0944053977727...
func newStatisticMutation(c config, op Op, opts ...statisticOption) *StatisticMutation { m := &StatisticMutation{ config: c, op: op, typ: TypeStatistic, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -0.29670053720474243, 0.30958011746406555, 0.30083295702934265, 1.7892508506774902, -0.35724279284477234, -0.7638388872146606, 0.7816810011863708, -0.6591966152191162, 0.35140109062194824, 1.0840224027633667, -0.7456421256065369, -0.6128890514373779, 0.14777089655399323, -0.829769194126129...
func withStatisticID(id int) statisticOption { return func(m *StatisticMutation) { var ( err error once sync.Once value *Statistic ) m.oldValue = func(ctx context.Context) (*Statistic, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation is not allowed...
[ 0.7441970705986023, -0.281777024269104, 0.3428700864315033, 0.6993302702903748, -0.546346127986908, 0.16367852687835693, 0.4070243537425995, -1.0666881799697876, 0.30167683959007263, 0.7499836087226868, 0.5414015054702759, 0.20372852683067322, 0.8343349099159241, -0.41704872250556946, -1...
func withStatistic(node *Statistic) statisticOption { return func(m *StatisticMutation) { m.oldValue = func(context.Context) (*Statistic, error) { return node, nil } m.id = &node.ID } }
[ 0.6707849502563477, 0.2819432318210602, 0.3448854684829712, 1.1423423290252686, -0.3217673599720001, -0.38064876198768616, 0.5831660628318787, -0.6877885460853577, -0.1619250625371933, 0.3217200040817261, 0.24694795906543732, 0.19005189836025238, 1.9614235162734985, -0.891828179359436, -...
func (m StatisticMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ 0.21426570415496826, 0.05629458650946617, 0.022732121869921684, 0.7825310230255127, -0.5067792534828186, 0.2496519535779953, 1.3490351438522339, -0.6753730773925781, 0.37739548087120056, -0.6699990630149841, -0.2233748883008957, 0.27374109625816345, 0.47105923295021057, -0.8523209691047668...
func (m StatisticMutation) 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.3088856339454651, 0.5264430642127991, 0.32237839698791504, 0.9967588186264038, 0.21626554429531097, -0.11370433121919632, 0.3255179226398468, -0.023507051169872284, 0.6133211851119995, -0.10237842053174973, 0.13212183117866516, -0.4980396330356598, -0.028535591438412666, -0.8518702387809...
func (m *StatisticMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.18853963911533356, 0.19234172999858856, 0.6798578500747681, 0.7888693809509277, 0.22113613784313202, 0.18599678575992584, 0.7451557517051697, 0.0056747631169855595, 1.1823467016220093, 0.4500463306903839, -0.12161877751350403, -0.7775984406471252, -0.6095404028892517, 0.2791469395160675...
func (m *StatisticMutation) SetStatisticName(s string) { m._StatisticName = &s }
[ 0.2004249542951584, 0.7117418646812439, 0.12685315310955048, 1.1453629732131958, -0.958755612373352, -0.5834915041923523, 1.0315451622009277, 0.17982341349124908, -0.07584315538406372, 0.15170937776565552, -0.639056384563446, -0.8006323575973511, 0.8055447340011597, -0.1034909039735794, ...