text
stringlengths
11
6.3k
embedding
listlengths
768
768
func (m *OrgUnitPositionMutation) AddedLevel() (r int, exists bool) { v := m.addlevel if v == nil { return } return *v, true }
[ -0.9150116443634033, 0.9030386805534363, 0.5267601013183594, 0.8204771876335144, 0.3516104519367218, 0.7169025540351868, 0.4289814531803131, -0.5045999884605408, -0.02905469946563244, -0.35650089383125305, -0.6209832429885864, -0.6692056059837341, -1.1595911979675293, 0.32304272055625916, ...
func (m *OrgUnitPositionMutation) ResetLevel() { m.level = nil m.addlevel = nil }
[ -0.17980457842350006, 0.5174797773361206, 0.1153254434466362, 0.837488055229187, 1.2084184885025024, 0.6745474338531494, 1.1088883876800537, -0.12130610644817352, -0.6553428173065186, -0.49682295322418213, -0.4951755702495575, 0.03210030123591423, -0.8158672451972961, -0.34630951285362244,...
func (m *OrgUnitPositionMutation) SetOrgUnitID(i int) { m.belongToOrgUnit = &i }
[ -0.009385752491652966, -0.6656245589256287, 0.228919118642807, -0.7936747074127197, 0.7455313205718994, 1.334922432899475, 0.1858683079481125, -0.024903470650315285, -0.5540749430656433, 0.1617443859577179, -0.23124073445796967, 0.4085301458835602, -0.6986196637153625, -0.6295643448829651,...
func (m *OrgUnitPositionMutation) OrgUnitID() (r int, exists bool) { v := m.belongToOrgUnit if v == nil { return } return *v, true }
[ -0.18274849653244019, -0.3355522155761719, 0.5787676572799683, -0.23719385266304016, 1.0057274103164673, 1.0407615900039673, -0.07863961905241013, -0.19458790123462677, -0.1889287233352661, 0.24985118210315704, -0.2666637897491455, 0.029484089463949203, -0.9694402813911438, -0.623404622077...
func (m *OrgUnitPositionMutation) OldOrgUnitID(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldOrgUnitID is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldOrgUnitID requires an ID field in the mutation") } ol...
[ -0.2826862335205078, -0.7202742099761963, 0.5810126662254333, -0.81065833568573, 0.24794869124889374, 0.7466495633125305, 0.010508694685995579, -0.08231930434703827, 0.12386959046125412, 0.5928990244865417, 0.29004549980163574, 0.577933669090271, -0.6662721633911133, 0.1811646968126297, ...
func (m *OrgUnitPositionMutation) ResetOrgUnitID() { m.belongToOrgUnit = nil }
[ 0.09101415425539017, -0.45614850521087646, 0.12175972014665604, 0.04316959157586098, 0.8541162014007568, 0.8330496549606323, 0.09844894707202911, 0.0850258618593216, -0.2971494197845459, 0.24440468847751617, 0.09654788672924042, 1.0223630666732788, -0.9750959277153015, -1.024190068244934, ...
func (m *OrgUnitPositionMutation) SetCreateByID(id int) { m.create_by = &id }
[ -0.19995376467704773, -0.17109465599060059, 0.34606489539146423, 0.23871749639511108, 0.2832045257091522, 0.3663853406906128, 0.08018050342798233, -0.5444038510322571, -0.2890854477882385, 0.5073458552360535, -0.8224343657493591, -1.1596758365631104, -0.4042939841747284, 0.8494092226028442...
func (m *OrgUnitPositionMutation) ClearCreateBy() { m.clearedcreate_by = true }
[ -0.19241204857826233, 0.4774499535560608, 0.343670517206192, 0.6930534243583679, 0.3065647780895233, 0.5952118039131165, 0.44359418749809265, -0.6799448132514954, -0.35697686672210693, 0.6763641238212585, -0.09847757965326309, -0.7233256101608276, -0.03834976628422737, -0.1656903624534607,...
func (m *OrgUnitPositionMutation) CreateByCleared() bool { return m.CreateByUserCleared() || m.clearedcreate_by }
[ 0.0017486921278759837, 0.2046373039484024, 0.5034518837928772, 0.261934757232666, 0.7092868685722351, 0.578109085559845, 0.01497338805347681, -0.6814464330673218, -0.09221871197223663, -0.09594279527664185, -0.18240490555763245, -0.9344202280044556, -0.7707927823066711, -0.0242366101592779...
func (m *OrgUnitPositionMutation) CreateByID() (id int, exists bool) { if m.create_by != nil { return *m.create_by, true } return }
[ -0.3549749255180359, 0.17976947128772736, 0.5444872975349426, -0.05468637868762016, 0.7620126008987427, 0.11187516152858734, 0.4470231831073761, -0.17714478075504303, -0.2844155430793762, 0.9066038727760315, -0.8546102046966553, -1.3474705219268799, -1.032776951789856, 0.15340600907802582,...
func (m *OrgUnitPositionMutation) CreateByIDs() (ids []int) { if id := m.create_by; id != nil { ids = append(ids, *id) } return }
[ -0.9058564901351929, 0.16736729443073273, 0.2399929016828537, -0.13187187910079956, 1.1789581775665283, -0.4850078523159027, 0.28602010011672974, -0.17849154770374298, -0.3043738901615143, 0.41703417897224426, -0.8727296590805054, -0.6085278987884521, -0.7369507551193237, -0.06301891803741...
func (m *OrgUnitPositionMutation) ResetCreateBy() { m.create_by = nil m.clearedcreate_by = false }
[ -0.2335205078125, 0.20892848074436188, 0.26726049184799194, 0.680657148361206, 0.9097459316253662, -0.23469577729701996, 0.5539981722831726, -0.3424067795276642, -0.8244280815124512, 0.3653625249862671, -0.5627820491790771, -0.6545603275299072, -0.6286638975143433, -0.23221305012702942, ...
func (m *OrgUnitPositionMutation) SetUpdateByID(id int) { m.update_by = &id }
[ -0.15248742699623108, -0.5591941475868225, 0.3426983952522278, 0.045627254992723465, -0.6355249881744385, -0.1250571459531784, -0.11465941369533539, 0.22641727328300476, 0.19140495359897614, 0.8115885257720947, -0.3564181923866272, -1.106142282485962, -0.40484145283699036, 0.08106233924627...
func (m *OrgUnitPositionMutation) ClearUpdateBy() { m.clearedupdate_by = true }
[ -0.501620352268219, -0.17990894615650177, 0.4694492816925049, 0.7750004529953003, -0.7853171229362488, 0.6083145141601562, 0.021039534360170364, -0.09269820898771286, 0.14282843470573425, 1.0118769407272339, 0.1553976982831955, -1.1877477169036865, 0.24316219985485077, -0.9022069573402405,...
func (m *OrgUnitPositionMutation) UpdateByCleared() bool { return m.UpdateByUserCleared() || m.clearedupdate_by }
[ -0.10162905603647232, -0.12534569203853607, 0.526212751865387, 0.4021673798561096, -0.31106558442115784, 0.29014870524406433, -0.1553441286087036, -0.40009644627571106, 0.20692606270313263, 0.3688963055610657, -0.16243229806423187, -0.5350484848022461, -0.9193653464317322, -0.3674426078796...
func (m *OrgUnitPositionMutation) UpdateByID() (id int, exists bool) { if m.update_by != nil { return *m.update_by, true } return }
[ -0.5725380182266235, -0.14760716259479523, 0.6739000678062439, -0.04352255165576935, -0.19482283294200897, -0.06484998762607574, 0.19308751821517944, 0.12967166304588318, 0.07903311401605606, 1.2680174112319946, -0.7280362248420715, -1.0239996910095215, -1.0483592748641968, -0.381021261215...
func (m *OrgUnitPositionMutation) UpdateByIDs() (ids []int) { if id := m.update_by; id != nil { ids = append(ids, *id) } return }
[ -1.1246802806854248, -0.410971462726593, 0.2990852892398834, -0.26591596007347107, 0.23965208232402802, -0.5764597654342651, 0.1365106850862503, 0.1473468840122223, -0.08076664805412292, 0.8449653387069702, -0.7488300204277039, -0.017835501581430435, -0.9340499043464661, -0.642965257167816...
func (m *OrgUnitPositionMutation) ResetUpdateBy() { m.update_by = nil m.clearedupdate_by = false }
[ -0.6378787159919739, -0.5101460814476013, 0.317927747964859, 0.9195214509963989, 0.046937428414821625, -0.5633415579795837, 0.320186972618103, 0.0731620118021965, -0.4271097779273987, 0.5975772738456726, -0.3294205069541931, -1.0103908777236938, -0.4223310351371765, -0.8868514895439148, ...
func (m *OrgUnitPositionMutation) AddBelongToOrgUnitMemberIDs(ids ...int) { if m.belongToOrgUnitMembers == nil { m.belongToOrgUnitMembers = make(map[int]struct{}) } for i := range ids { m.belongToOrgUnitMembers[ids[i]] = struct{}{} } }
[ -1.0981171131134033, -0.6463780403137207, 0.44843950867652893, -0.35873910784721375, 1.451174020767212, 0.5851563215255737, -0.6845387816429138, -0.5060815811157227, -0.2462463527917862, 0.04561713710427284, -0.7586203217506409, 0.6619511842727661, -1.568291187286377, -0.005227634683251381...
func (m *OrgUnitPositionMutation) ClearBelongToOrgUnitMembers() { m.clearedbelongToOrgUnitMembers = true }
[ -0.41372397541999817, -0.3364962041378021, 0.2519416809082031, -0.09776654094457626, 1.2973955869674683, 1.0662117004394531, -0.33095189929008484, -0.920621395111084, -0.3974516689777374, 0.35769355297088623, -0.021492769941687584, 1.05972158908844, -0.6696277856826782, -0.2933803796768188...
func (m *OrgUnitPositionMutation) BelongToOrgUnitMembersCleared() bool { return m.clearedbelongToOrgUnitMembers }
[ -0.16054540872573853, -0.8334822058677673, 0.3439972400665283, -0.4447333812713623, 1.2323464155197144, 1.1334304809570312, -0.29718437790870667, -1.2177692651748657, -0.27690577507019043, -0.31221920251846313, -0.11356119066476822, 1.089357614517212, -1.265956163406372, -0.387529343366622...
func (m *OrgUnitPositionMutation) RemoveBelongToOrgUnitMemberIDs(ids ...int) { if m.removedbelongToOrgUnitMembers == nil { m.removedbelongToOrgUnitMembers = make(map[int]struct{}) } for i := range ids { delete(m.belongToOrgUnitMembers, ids[i]) m.removedbelongToOrgUnitMembers[ids[i]] = struct{}{} } }
[ -1.161881446838379, -0.8157157301902771, 0.1455003023147583, -0.44065603613853455, 0.8230423331260681, 0.232664093375206, -0.45172953605651855, -0.032433971762657166, -0.6087648272514343, 0.19080105423927307, -1.0407581329345703, 0.7282747626304626, -2.007622718811035, 0.008188270032405853...
func (m *OrgUnitPositionMutation) RemovedBelongToOrgUnitMembersIDs() (ids []int) { for id := range m.removedbelongToOrgUnitMembers { ids = append(ids, id) } return }
[ -0.10820984840393066, -1.1695833206176758, 0.1930377334356308, -0.17483262717723846, 1.4589112997055054, 0.1153436005115509, -0.4081667363643646, -0.01847175881266594, 0.29297947883605957, -0.3835963308811188, -1.4248151779174805, 1.354888677597046, -1.394491195678711, 0.03873913362622261,...
func (m *OrgUnitPositionMutation) BelongToOrgUnitMembersIDs() (ids []int) { for id := range m.belongToOrgUnitMembers { ids = append(ids, id) } return }
[ -0.5309193134307861, -1.0063742399215698, -0.004674199502915144, -0.3659301996231079, 1.9315074682235718, 0.3355482220649719, -0.1272079348564148, -0.8288967609405518, -0.021956536918878555, -0.2804545760154724, -0.8292582631111145, 1.325893521308899, -1.4218764305114746, 0.589488089084625...
func (m *OrgUnitPositionMutation) ResetBelongToOrgUnitMembers() { m.belongToOrgUnitMembers = nil m.clearedbelongToOrgUnitMembers = false m.removedbelongToOrgUnitMembers = nil }
[ 0.008608166128396988, -0.3923647999763489, 0.3516763746738434, -0.18832701444625854, 1.9018712043762207, 0.3752257823944092, 0.0938488245010376, -0.6882942914962769, -0.5903147459030151, -0.09423161298036575, -0.5444233417510986, 1.2377221584320068, -1.2363975048065186, -0.621257483959198,...
func (m *OrgUnitPositionMutation) SetBelongToOrgUnitID(id int) { m.belongToOrgUnit = &id }
[ 0.04408124461770058, -0.9389381408691406, 0.22658701241016388, -0.5473432540893555, 1.087404489517212, 1.5175787210464478, -0.6969920992851257, -0.6099545359611511, -0.06821906566619873, -0.3036099374294281, 0.011409534141421318, 0.41760075092315674, -0.6944904923439026, -0.040838267654180...
func (m *OrgUnitPositionMutation) ClearBelongToOrgUnit() { m.clearedbelongToOrgUnit = true }
[ -0.19376219809055328, 0.13581642508506775, 0.36402180790901184, -0.22482725977897644, 0.7787767052650452, 0.8781094551086426, -0.19509686529636383, -1.130292534828186, -0.394377201795578, 0.1811796873807907, 0.06551778316497803, 0.7958353161811829, -0.24170850217342377, -0.6026711463928223...
func (m *OrgUnitPositionMutation) BelongToOrgUnitCleared() bool { return m.clearedbelongToOrgUnit }
[ 0.1668899804353714, -0.6405255794525146, 0.44120192527770996, -0.25693029165267944, 0.6707554459571838, 1.1916143894195557, -0.4405841827392578, -1.3194870948791504, 0.019205443561077118, -0.3022780418395996, -0.049170609563589096, 0.3169918358325958, -0.4399379789829254, -0.36288210749626...
func (m *OrgUnitPositionMutation) BelongToOrgUnitID() (id int, exists bool) { if m.belongToOrgUnit != nil { return *m.belongToOrgUnit, true } return }
[ -0.07384910434484482, -0.6088014841079712, 0.47777238488197327, -0.40250644087791443, 1.1480212211608887, 1.1413079500198364, 0.14636442065238953, -0.9965430498123169, 0.14947207272052765, 0.09556028246879578, 0.07543157041072845, 0.24403125047683716, -0.9540079832077026, -0.09433355182409...
func (m *OrgUnitPositionMutation) BelongToOrgUnitIDs() (ids []int) { if id := m.belongToOrgUnit; id != nil { ids = append(ids, *id) } return }
[ -0.5254794955253601, -0.4922398030757904, 0.17488612234592438, -0.4816955029964447, 1.3634580373764038, 0.7712128758430481, 0.1454377919435501, -0.5398481488227844, -0.15574981272220612, -0.029203910380601883, -0.2257889211177826, 0.464741051197052, -0.9584962129592896, 0.05064184591174126...
func (m *OrgUnitPositionMutation) ResetBelongToOrgUnit() { m.belongToOrgUnit = nil m.clearedbelongToOrgUnit = false }
[ 0.20781128108501434, 0.009317447431385517, 0.3531734049320221, -0.19419506192207336, 1.5069845914840698, 0.32656288146972656, 0.13902924954891205, -0.943248450756073, -0.728655219078064, -0.43405023217201233, -0.27550333738327026, 0.9107818603515625, -0.9029183387756348, -0.953893184661865...
func (m *OrgUnitPositionMutation) Where(ps ...predicate.OrgUnitPosition) { m.predicates = append(m.predicates, ps...) }
[ -0.39645451307296753, -0.9577621221542358, 0.39257320761680603, -0.28393280506134033, 0.1652255356311798, 0.7891775965690613, 0.1075742095708847, 0.14425159990787506, -0.6192061305046082, -0.2094259113073349, 0.3225330710411072, -0.11120106279850006, -0.30226850509643555, -0.66574096679687...
func (m *OrgUnitPositionMutation) Op() Op { return m.op }
[ -1.1619277000427246, 0.06293918192386627, 0.1367422342300415, 0.7287012934684753, 0.4098309278488159, 1.0609416961669922, 0.868317723274231, 0.2178754061460495, 0.1959351748228073, 0.201413094997406, 0.1867295205593109, -1.1414151191711426, -0.31922271847724915, -1.3807979822158813, -0.0...
func (m *OrgUnitPositionMutation) Type() string { return m.typ }
[ -0.6756391525268555, -0.6745374798774719, 0.1467902511358261, 0.32716429233551025, 1.0743906497955322, 0.9784154891967773, 0.680652379989624, -1.061517596244812, 0.621186375617981, 0.03374427929520607, 0.2655792534351349, -0.8713377118110657, -0.9454765319824219, -0.503667414188385, 0.06...
func (m *OrgUnitPositionMutation) Fields() []string { fields := make([]string, 0, 8) if m.create_by != nil { fields = append(fields, orgunitposition.FieldCreateByUser) } if m.update_by != nil { fields = append(fields, orgunitposition.FieldUpdateByUser) } if m.create_time != nil { fields = append(fields, org...
[ -0.9159342646598816, -0.5488526821136475, 0.38039061427116394, -0.9051055908203125, 0.6755870580673218, 0.6419370174407959, -0.48022332787513733, -0.3001577854156494, 0.47101110219955444, -0.06800615042448044, -0.5130778551101685, -0.9475821256637573, -0.7064456939697266, -0.49954748153686...
func (m *OrgUnitPositionMutation) Field(name string) (ent.Value, bool) { switch name { case orgunitposition.FieldCreateByUser: return m.CreateByUser() case orgunitposition.FieldUpdateByUser: return m.UpdateByUser() case orgunitposition.FieldCreateTime: return m.CreateTime() case orgunitposition.FieldUpdateTi...
[ -1.353779911994934, -0.42115700244903564, 0.6454852223396301, -0.49514874815940857, -0.0714317038655281, 0.9724093675613403, -0.7681861519813538, -0.39355596899986267, 0.09412924200296402, -0.04825909435749054, -0.4336332678794861, -0.7637905478477478, -0.5988965034484863, 0.14003247022628...
func (m *OrgUnitPositionMutation) OldField(ctx context.Context, name string) (ent.Value, error) { switch name { case orgunitposition.FieldCreateByUser: return m.OldCreateByUser(ctx) case orgunitposition.FieldUpdateByUser: return m.OldUpdateByUser(ctx) case orgunitposition.FieldCreateTime: return m.OldCreateTi...
[ -0.6806279420852661, -0.5076629519462585, 0.7509912848472595, -0.9801996350288391, 0.19105476140975952, 1.0327259302139282, 0.09128354489803314, -0.7012105584144592, 0.06441754847764969, -0.0520307794213295, -0.13732175529003143, -0.379366010427475, -0.5963827967643738, -0.4207347631454468...
func (m *OrgUnitPositionMutation) SetField(name string, value ent.Value) error { switch name { case orgunitposition.FieldCreateByUser: v, ok := value.(int) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.SetCreateByUser(v) return nil case orgunitposition.FieldUpdateByUser:...
[ -1.1604100465774536, -0.34998369216918945, 0.8098191618919373, -0.46567046642303467, 0.09568379819393158, 0.7516415119171143, 0.13462583720684052, -0.6671999096870422, -0.2778330147266388, 0.04041784629225731, -0.3209240734577179, -0.6416121125221252, -0.36320820450782776, 0.22412374615669...
func (m *OrgUnitPositionMutation) AddedFields() []string { var fields []string if m.addlevel != nil { fields = append(fields, orgunitposition.FieldLevel) } return fields }
[ -0.6457581520080566, -0.05360839515924454, 0.3559879958629608, -0.18285062909126282, 0.6956809759140015, 1.0688234567642212, -0.35479822754859924, -0.40612438321113586, 0.4215560257434845, -0.4976876378059387, -0.4109882116317749, -0.40338099002838135, -1.226597785949707, -0.04265425354242...
func (m *OrgUnitPositionMutation) AddedField(name string) (ent.Value, bool) { switch name { case orgunitposition.FieldLevel: return m.AddedLevel() } return nil, false }
[ -1.4078996181488037, 0.6045915484428406, 0.6534954905509949, -0.2244320660829544, -0.05580899119377136, 1.2339636087417603, -0.4559505581855774, -0.3442637026309967, 0.13612812757492065, -0.33116409182548523, -0.6683560609817505, -1.3454307317733765, -1.4250826835632324, -0.102416180074214...
func (m *OrgUnitPositionMutation) AddField(name string, value ent.Value) error { switch name { case orgunitposition.FieldLevel: v, ok := value.(int) if !ok { return fmt.Errorf("unexpected type %T for field %s", value, name) } m.AddLevel(v) return nil } return fmt.Errorf("unknown OrgUnitPosition numeric...
[ -1.270392894744873, 0.5504150986671448, 0.7920688986778259, -0.11975927650928497, 0.02280835434794426, 1.3877794742584229, -0.7624943256378174, -0.3702729344367981, -0.5311641693115234, -0.05107786878943443, 0.08590538054704666, -1.6324001550674438, -0.5692268013954163, 0.14957985281944275...
func (m *OrgUnitPositionMutation) ClearedFields() []string { var fields []string if m.FieldCleared(orgunitposition.FieldCreateByUser) { fields = append(fields, orgunitposition.FieldCreateByUser) } if m.FieldCleared(orgunitposition.FieldUpdateByUser) { fields = append(fields, orgunitposition.FieldUpdateByUser) ...
[ -0.4599376320838928, -0.0019106818363070488, 0.47188863158226013, -0.5001938939094543, -0.2129594385623932, 0.8829339146614075, -0.0473296120762825, -0.595248818397522, 0.5979384779930115, 0.4765540659427643, -0.2709672152996063, -0.29085108637809753, -0.7761769890785217, -0.99389582872390...
func (m *OrgUnitPositionMutation) FieldCleared(name string) bool { _, ok := m.clearedFields[name] return ok }
[ -0.6918803453445435, 0.2329065501689911, 0.7414146065711975, -0.32642340660095215, 0.08516455441713333, 0.6369087100028992, -0.7014727592468262, -0.02732432261109352, -0.25781601667404175, -0.208456888794899, -0.8925819396972656, -0.6603072881698608, 0.11224468052387238, -0.632161200046539...
func (m *OrgUnitPositionMutation) ClearField(name string) error { switch name { case orgunitposition.FieldCreateByUser: m.ClearCreateByUser() return nil case orgunitposition.FieldUpdateByUser: m.ClearUpdateByUser() return nil case orgunitposition.FieldUpdateTime: m.ClearUpdateTime() return nil case org...
[ -0.7588350176811218, 0.37951532006263733, 0.6228901743888855, -0.2282944768667221, -0.10725205391645432, 1.0504646301269531, -0.2865217924118042, -0.7859823703765869, 0.20846426486968994, 0.6083967685699463, -0.3186587393283844, -0.9688456654548645, -0.40490925312042236, -0.259568542242050...
func (m *OrgUnitPositionMutation) ResetField(name string) error { switch name { case orgunitposition.FieldCreateByUser: m.ResetCreateByUser() return nil case orgunitposition.FieldUpdateByUser: m.ResetUpdateByUser() return nil case orgunitposition.FieldCreateTime: m.ResetCreateTime() return nil case org...
[ -0.8740533590316772, 0.09607589989900589, 0.5333666205406189, -0.32682785391807556, 0.4011862874031067, 0.7008509635925293, 0.31862717866897583, -0.48183053731918335, -0.06387316435575485, 0.051120080053806305, -0.597170889377594, -0.6457068920135498, -0.9900321364402771, -0.61114019155502...
func (m *OrgUnitPositionMutation) AddedEdges() []string { edges := make([]string, 0, 4) if m.create_by != nil { edges = append(edges, orgunitposition.EdgeCreateBy) } if m.update_by != nil { edges = append(edges, orgunitposition.EdgeUpdateBy) } if m.belongToOrgUnitMembers != nil { edges = append(edges, orgun...
[ -0.4349730312824249, -0.5067943930625916, 0.43711230158805847, -0.03725484758615494, 0.7803327441215515, 0.6812806725502014, -0.5472255945205688, -0.2681913673877716, 1.0109000205993652, -0.08143379539251328, 0.26614975929260254, -0.18494518101215363, -1.0963616371154785, -0.33210584521293...
func (m *OrgUnitPositionMutation) AddedIDs(name string) []ent.Value { switch name { case orgunitposition.EdgeCreateBy: if id := m.create_by; id != nil { return []ent.Value{*id} } case orgunitposition.EdgeUpdateBy: if id := m.update_by; id != nil { return []ent.Value{*id} } case orgunitposition.EdgeBel...
[ -0.7200730443000793, -0.7908564805984497, 0.5015805959701538, -0.5968382954597473, 0.5539613962173462, 0.6432607173919678, -0.6183276772499084, -0.16552266478538513, 0.661371111869812, 0.10008008033037186, 0.19630935788154602, 0.10999969393014908, -0.8812965154647827, -0.044579990208148956...
func (m *OrgUnitPositionMutation) RemovedEdges() []string { edges := make([]string, 0, 4) if m.removedbelongToOrgUnitMembers != nil { edges = append(edges, orgunitposition.EdgeBelongToOrgUnitMembers) } return edges }
[ -0.16212840378284454, -0.46864446997642517, 0.4534355401992798, 0.04313710704445839, 0.6642034649848938, 0.05429578199982643, -0.3692775070667267, -0.05089089646935463, 0.7149316072463989, 0.015096573159098625, -0.6204414963722229, 0.1646309196949005, -1.6748145818710327, -0.42451849579811...
func (m *OrgUnitPositionMutation) RemovedIDs(name string) []ent.Value { switch name { case orgunitposition.EdgeBelongToOrgUnitMembers: ids := make([]ent.Value, 0, len(m.removedbelongToOrgUnitMembers)) for id := range m.removedbelongToOrgUnitMembers { ids = append(ids, id) } return ids } return nil }
[ -0.700676679611206, -0.797156810760498, 0.45841753482818604, -0.6546361446380615, 0.39712223410606384, 0.43105536699295044, -0.5606808066368103, 0.26042041182518005, 0.37769296765327454, 0.21342572569847107, -0.8813639283180237, 0.3350329101085663, -1.4276282787322998, -0.3198908865451813,...
func (m *OrgUnitPositionMutation) ClearedEdges() []string { edges := make([]string, 0, 4) if m.clearedcreate_by { edges = append(edges, orgunitposition.EdgeCreateBy) } if m.clearedupdate_by { edges = append(edges, orgunitposition.EdgeUpdateBy) } if m.clearedbelongToOrgUnitMembers { edges = append(edges, org...
[ -0.7166114449501038, -0.3271656632423401, 0.4979579448699951, 0.13752470910549164, -0.10822124034166336, 0.4058559536933899, -0.37598222494125366, -0.8500651121139526, 0.607319176197052, 1.1631454229354858, 0.282162070274353, 0.4227825403213501, -0.8241404891014099, -0.9246476292610168, ...
func (m *OrgUnitPositionMutation) EdgeCleared(name string) bool { switch name { case orgunitposition.EdgeCreateBy: return m.clearedcreate_by case orgunitposition.EdgeUpdateBy: return m.clearedupdate_by case orgunitposition.EdgeBelongToOrgUnitMembers: return m.clearedbelongToOrgUnitMembers case orgunitpositio...
[ -0.7640255093574524, -0.3904768228530884, 0.8233809471130371, -0.35054337978363037, 0.0056366147473454475, 0.7519793510437012, -0.3225148022174835, -0.4284810721874237, 0.2577989995479584, 0.6880802512168884, 0.04625297710299492, -0.041152406483888626, -0.953537106513977, -0.76513475179672...
func (m *OrgUnitPositionMutation) ClearEdge(name string) error { switch name { case orgunitposition.EdgeCreateBy: m.ClearCreateBy() return nil case orgunitposition.EdgeUpdateBy: m.ClearUpdateBy() return nil case orgunitposition.EdgeBelongToOrgUnit: m.ClearBelongToOrgUnit() return nil } return fmt.Erro...
[ -1.2933675050735474, 0.6056653261184692, 0.5724281668663025, 0.6864168643951416, 0.3046274781227112, 0.5321444272994995, -0.2244172990322113, 0.13088996708393097, 0.07307759672403336, 0.6174246668815613, 0.2879977524280548, -0.6500476002693176, -0.4730115234851837, -0.16231262683868408, ...
func (m *OrgUnitPositionMutation) ResetEdge(name string) error { switch name { case orgunitposition.EdgeCreateBy: m.ResetCreateBy() return nil case orgunitposition.EdgeUpdateBy: m.ResetUpdateBy() return nil case orgunitposition.EdgeBelongToOrgUnitMembers: m.ResetBelongToOrgUnitMembers() return nil case...
[ -1.0884981155395508, -0.023720633238554, 0.5563458800315857, 0.4424164593219757, 0.7428612112998962, 0.1387694627046585, 0.012539719231426716, 0.3374110758304596, -0.18673549592494965, 0.608793318271637, 0.009373863227665424, -0.27997148036956787, -1.1932547092437744, -0.7134389281272888, ...
func newOrganizationMutation(c config, op Op, opts ...organizationOption) *OrganizationMutation { m := &OrganizationMutation{ config: c, op: op, typ: TypeOrganization, clearedFields: make(map[string]struct{}), } for _, opt := range opts { opt(m) } return m }
[ -1.3258388042449951, -0.04290512576699257, 0.16911587119102478, 1.0224756002426147, -0.4165339469909668, -0.6704269051551819, 0.8876419067382812, -0.23425674438476562, 0.4409397542476654, 0.9144098162651062, -0.6962106823921204, -0.7329259514808655, -0.310169517993927, -0.49563658237457275...
func withOrganizationID(id int) organizationOption { return func(m *OrganizationMutation) { var ( err error once sync.Once value *Organization ) m.oldValue = func(ctx context.Context) (*Organization, error) { once.Do(func() { if m.done { err = fmt.Errorf("querying old values post mutation...
[ -0.2348376214504242, -0.35245344042778015, 0.3101874589920044, 0.3865269124507904, -0.20310944318771362, 0.10101751238107681, 0.1352611780166626, -0.6812301874160767, 0.5617398619651794, 1.3355695009231567, 0.17810124158859253, 0.16872993111610413, 0.7495868802070618, 0.4317381978034973, ...
func withOrganization(node *Organization) organizationOption { return func(m *OrganizationMutation) { m.oldValue = func(context.Context) (*Organization, error) { return node, nil } m.id = &node.ID } }
[ -0.7726975679397583, 0.3166060149669647, 0.3608674108982086, 0.10796786844730377, 0.3979361653327942, -0.7305198907852173, 0.912603497505188, -0.4809556007385254, 0.5897886753082275, 0.7669933438301086, -0.013706927187740803, 0.13246390223503113, 1.4743449687957764, 0.01543151494115591, ...
func (m OrganizationMutation) Client() *Client { client := &Client{config: m.config} client.init() return client }
[ -0.5815542340278625, -0.4360033869743347, 0.07108369469642639, 0.41043737530708313, -0.23340190947055817, 0.23058097064495087, 1.0190777778625488, -0.35659947991371155, 0.24479304254055023, -0.26961156725883484, -0.33248093724250793, 0.2813127040863037, 0.05364254117012024, -0.896537899971...
func (m OrganizationMutation) 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.19483639299869537, 0.3291347026824951, 0.3438725769519806, 0.5413393378257751, 0.4958878457546234, -0.019465025514364243, 0.08581477403640747, 0.34547561407089233, 0.45435240864753723, 0.24341224133968353, -0.21441133320331573, -0.30675703287124634, -0.3885914385318756, -0.8824944496154...
func (m *OrganizationMutation) ID() (id int, exists bool) { if m.id == nil { return } return *m.id, true }
[ -0.9259552955627441, -0.21461458504199982, 0.5676745772361755, 0.7786954641342163, 0.5286388397216797, 0.28492075204849243, 0.38626715540885925, 0.27364301681518555, 0.9681863188743591, 0.5428888201713562, -0.2512575685977936, -0.673041582107544, -0.8921511769294739, 0.3643558919429779, ...
func (m *OrganizationMutation) SetCreateByUser(i int) { m.create_by = &i }
[ -0.4613264799118042, 0.6739861965179443, 0.32533976435661316, 0.8528445363044739, 0.00674453005194664, -0.0970834344625473, 1.5918996334075928, -0.4697883427143097, -2.111313819885254, -0.6939234137535095, -1.193481206893921, -1.1465266942977905, -0.06610500067472458, 0.5330923199653625, ...
func (m *OrganizationMutation) CreateByUser() (r int, exists bool) { v := m.create_by if v == nil { return } return *v, true }
[ -0.847398042678833, 1.0057379007339478, 0.6587547063827515, 0.8797269463539124, 0.004798912443220615, -0.5046842098236084, 1.4678086042404175, -0.0520700179040432, -1.5360339879989624, -0.0015995762078091502, -1.2640066146850586, -1.3717948198318481, -0.5557592511177063, 0.3011146783828735...
func (m *OrganizationMutation) OldCreateByUser(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateByUser is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateByUser requires an ID field in the mutation") ...
[ -0.7265172600746155, 0.2050592005252838, 0.5599172115325928, 0.6225301027297974, -0.08201713860034943, -0.3338529169559479, 1.5275219678878784, -0.5206733345985413, -0.8146182894706726, -0.6391247510910034, -0.49523037672042847, -0.14881742000579834, -0.2258659452199936, 0.806842565536499,...
func (m *OrganizationMutation) ClearCreateByUser() { m.create_by = nil m.clearedFields[organization.FieldCreateByUser] = struct{}{} }
[ -0.10717163234949112, 0.6624027490615845, 0.4470028877258301, 1.1348903179168701, -0.5594438314437866, 0.3060627579689026, 1.094907522201538, -0.8997386693954468, -1.0420194864273071, -0.15159614384174347, -0.9041262269020081, 0.09560238569974899, 0.15736719965934753, 0.03186239302158356, ...
func (m *OrganizationMutation) CreateByUserCleared() bool { _, ok := m.clearedFields[organization.FieldCreateByUser] return ok }
[ -0.04718747362494469, 0.571897566318512, 0.559352457523346, 0.721594512462616, -0.16107329726219177, 0.5050234198570251, 0.7904988527297974, -0.4949015974998474, -0.5661950707435608, -0.07727286219596863, -0.39203938841819763, -0.5604302883148193, -0.17804701626300812, -0.2715590000152588,...
func (m *OrganizationMutation) ResetCreateByUser() { m.create_by = nil delete(m.clearedFields, organization.FieldCreateByUser) }
[ 0.19983039796352386, 0.6216726899147034, 0.39758723974227905, 1.354544758796692, 0.042701348662376404, -0.30384117364883423, 1.2444398403167725, -0.5131530165672302, -1.4580416679382324, -0.4409470856189728, -0.9045740962028503, -0.017112109810113907, -0.20422697067260742, -0.1376817375421...
func (m *OrganizationMutation) SetUpdateByUser(i int) { m.update_by = &i }
[ -0.47222745418548584, 0.33394524455070496, 0.42297857999801636, 0.9216175675392151, -0.9569993019104004, -0.4727218747138977, 1.2478790283203125, 0.28234294056892395, -1.404004693031311, -0.17170493304729462, -0.6620362401008606, -1.2411695718765259, -0.10891065001487732, -0.21616971492767...
func (m *OrganizationMutation) UpdateByUser() (r int, exists bool) { v := m.update_by if v == nil { return } return *v, true }
[ -1.2479169368743896, 0.652087390422821, 0.716221034526825, 0.8084384202957153, -0.7459752559661865, -0.7407103180885315, 1.3426564931869507, 0.19519591331481934, -1.1614238023757935, 0.19361071288585663, -1.1952069997787476, -0.9058164954185486, -0.75154709815979, -0.2875278890132904, 0....
func (m *OrganizationMutation) OldUpdateByUser(ctx context.Context) (v int, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldUpdateByUser is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldUpdateByUser requires an ID field in the mutation") ...
[ -0.5721604228019714, -0.03740118071436882, 0.5881422162055969, 0.7060938477516174, -0.5467918515205383, -0.6308239698410034, 1.004048466682434, -0.2289673537015915, -0.5294061303138733, -0.2777772843837738, -0.31831565499305725, -0.24268661439418793, -0.3768385946750641, 0.5696401000022888...
func (m *OrganizationMutation) ClearUpdateByUser() { m.update_by = nil m.clearedFields[organization.FieldUpdateByUser] = struct{}{} }
[ -0.08101080358028412, 0.017531536519527435, 0.47008025646209717, 1.486040711402893, -1.6840431690216064, 0.2396550476551056, 0.30047640204429626, -0.01222072634845972, -0.3574928343296051, 0.3916129469871521, -0.34496548771858215, -0.3145110309123993, 0.11101744323968887, -0.64708632230758...
func (m *OrganizationMutation) UpdateByUserCleared() bool { _, ok := m.clearedFields[organization.FieldUpdateByUser] return ok }
[ -0.24232877790927887, 0.1398753672838211, 0.49997466802597046, 0.7921912670135498, -1.1230494976043701, 0.20365504920482635, 0.6648042798042297, -0.28288084268569946, -0.4669942855834961, 0.5037473440170288, -0.26950210332870483, 0.00894872099161148, -0.4709869623184204, -0.640831053256988...
func (m *OrganizationMutation) ResetUpdateByUser() { m.update_by = nil delete(m.clearedFields, organization.FieldUpdateByUser) }
[ 0.1873445063829422, -0.1405288130044937, 0.3497374951839447, 1.6369073390960693, -0.7115108370780945, -0.6466982960700989, 0.7507096529006958, 0.11363976448774338, -0.8884093165397644, 0.25081107020378113, -0.2127094566822052, -0.17394495010375977, -0.3724886178970337, -0.9321953058242798,...
func (m *OrganizationMutation) SetCreateTime(t time.Time) { m.create_time = &t }
[ -0.29023656249046326, 0.3830586373806, 0.3189714252948761, 0.04245895519852638, 1.0241037607192993, -0.22766448557376862, -0.4619792401790619, 0.06363707780838013, -0.4059104919433594, 0.8890079855918884, -0.8295731544494629, -1.2265790700912476, -0.01666998863220215, 1.4446635246276855, ...
func (m *OrganizationMutation) CreateTime() (r time.Time, exists bool) { v := m.create_time if v == nil { return } return *v, true }
[ -0.6487932205200195, 0.6299556493759155, 0.6604337692260742, 0.18090450763702393, 1.2421042919158936, -0.42065519094467163, -0.5611962676048279, -0.21982933580875397, 0.008504236117005348, 1.2410259246826172, -0.5824551582336426, -2.054483652114868, -0.9533693790435791, 0.543777585029602, ...
func (m *OrganizationMutation) OldCreateTime(ctx context.Context) (v time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldCreateTime is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldCreateTime requires an ID field in the mutation") ...
[ -0.957274854183197, 0.23541444540023804, 0.4270784556865692, -0.3140046000480652, 0.2933662235736847, -0.6199589371681213, 0.030305851250886917, -0.31735318899154663, 0.6161593198776245, 1.2595946788787842, -0.32088935375213623, -1.1330792903900146, -0.19849444925785065, 1.0920312404632568...
func (m *OrganizationMutation) ResetCreateTime() { m.create_time = nil }
[ -0.03046291321516037, 0.37273529171943665, 0.19408395886421204, 0.29008907079696655, 1.0409212112426758, -0.5328503847122192, -0.15181425213813782, -0.07295241206884384, -0.4812428951263428, 1.0040385723114014, -0.8365174531936646, 0.09225603193044662, -0.730233371257782, 0.594401359558105...
func (m *OrganizationMutation) SetUpdateTime(t time.Time) { m.update_time = &t }
[ -0.5839753150939941, 0.07039900124073029, 0.5300040245056152, 0.40171223878860474, -0.11550822854042053, 0.08975020796060562, -0.8063858151435852, 0.9459370374679565, 0.47409307956695557, 1.3447802066802979, -0.436706006526947, -0.9697195887565613, 0.19222614169120789, 0.7506455183029175, ...
func (m *OrganizationMutation) UpdateTime() (r time.Time, exists bool) { v := m.update_time if v == nil { return } return *v, true }
[ -1.1189923286437988, 0.5095383524894714, 0.789025604724884, 0.6187736988067627, 0.19724692404270172, -0.38662341237068176, -0.6491320133209229, 0.23927949368953705, 0.16923680901527405, 1.5653139352798462, -0.5779158473014832, -1.6371805667877197, -0.8453962802886963, 0.2358071655035019, ...
func (m *OrganizationMutation) OldUpdateTime(ctx context.Context) (v *time.Time, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldUpdateTime is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldUpdateTime requires an ID field in the mutation")...
[ -1.5533416271209717, 0.015384296886622906, 0.519768476486206, 0.1766444593667984, -0.6001375317573547, -0.5443160533905029, -0.20660685002803802, -0.1138782724738121, 0.4568105638027191, 1.0638402700424194, -0.24500729143619537, -1.0875076055526733, 0.027606915682554245, 0.9879363179206848...
func (m *OrganizationMutation) ClearUpdateTime() { m.update_time = nil m.clearedFields[organization.FieldUpdateTime] = struct{}{} }
[ -0.6376083493232727, -0.031282830983400345, 0.4207819700241089, 0.41030439734458923, -0.9536851644515991, 0.4624728858470917, -0.8198267221450806, -0.08725165575742722, 0.2810732126235962, 1.5146796703338623, -0.3178693950176239, -0.40982958674430847, 0.36701348423957825, 0.199763596057891...
func (m *OrganizationMutation) UpdateTimeCleared() bool { _, ok := m.clearedFields[organization.FieldUpdateTime] return ok }
[ -0.9617481827735901, 0.27537137269973755, 0.6193757653236389, 0.30430611968040466, -0.7162681818008423, 0.2515220642089844, -0.7000047564506531, -0.6346799731254578, 0.025291813537478447, 1.2645257711410522, -0.2517263889312744, -0.3442626893520355, -0.4037330746650696, 0.36368146538734436...
func (m *OrganizationMutation) ResetUpdateTime() { m.update_time = nil delete(m.clearedFields, organization.FieldUpdateTime) }
[ -0.26590123772621155, -0.12338834255933762, 0.29313111305236816, 0.7937652468681335, -0.13856178522109985, -0.4063079059123993, -0.3317372798919678, 0.36732593178749084, -0.06551580876111984, 1.1525046825408936, -0.6356382369995117, -0.3709842264652252, -0.1952381730079651, -0.158997461199...
func (m *OrganizationMutation) SetName(s string) { m.name = &s }
[ -0.6396431922912598, 0.5813121199607849, 0.12666599452495575, 1.124720573425293, -0.545244038105011, -0.41829973459243774, 0.34022578597068787, 0.5936573147773743, -0.3610575497150421, 0.27331671118736267, -0.6861573457717896, -0.8062984943389893, -0.11198896169662476, 0.2122398018836975, ...
func (m *OrganizationMutation) Name() (r string, exists bool) { v := m.name if v == nil { return } return *v, true }
[ -1.5941507816314697, 0.3261357545852661, 0.5339555144309998, 0.6130858063697815, -0.2560500204563141, -0.8928671479225159, 0.3181271553039551, -0.48850777745246887, -0.17359338700771332, 1.296539306640625, -0.5561970472335815, -1.3868552446365356, -0.4775626063346863, -0.5857486128807068, ...
func (m *OrganizationMutation) OldName(ctx context.Context) (v string, err error) { if !m.op.Is(OpUpdateOne) { return v, fmt.Errorf("OldName is only allowed on UpdateOne operations") } if m.id == nil || m.oldValue == nil { return v, fmt.Errorf("OldName requires an ID field in the mutation") } oldValue, err := ...
[ -0.32940053939819336, -0.15930712223052979, 0.48908889293670654, 0.6229208111763, -0.22266416251659393, -0.15513968467712402, 0.1200939491391182, -0.17357082664966583, 0.3803580701351166, 1.0278160572052002, 0.7639182209968567, -0.09508896619081497, 0.134073868393898, -0.19425368309020996,...
func (m *OrganizationMutation) ResetName() { m.name = nil }
[ -0.3697514235973358, 0.2592836618423462, 0.21791431307792664, 0.7693011164665222, 0.19061915576457977, -0.5510870814323425, 0.19789759814739227, 0.349364697933197, -0.18368487060070038, 0.39964109659194946, -0.43548208475112915, -0.28064873814582825, -0.3963390588760376, -0.479451507329940...
func (m *OrganizationMutation) SetCreateByID(id int) { m.create_by = &id }
[ -0.34524741768836975, 0.06689555943012238, 0.36694929003715515, 0.5866261720657349, -0.13367484509944916, 0.10311836749315262, 0.24308426678180695, -0.4872167110443115, -0.23665346205234528, 0.7298732399940491, -0.8792572617530823, -0.8278264403343201, -0.14666587114334106, 1.2119287252426...
func (m *OrganizationMutation) ClearCreateBy() { m.clearedcreate_by = true }
[ -0.3599070906639099, 0.6013899445533752, 0.3605425953865051, 0.9803016185760498, 0.07984893769025803, 0.39926251769065857, 0.6065976619720459, -0.542443573474884, -0.17437097430229187, 0.7599145770072937, -0.1293230801820755, -0.5402259826660156, 0.15668880939483643, 0.23326343297958374, ...
func (m *OrganizationMutation) CreateByCleared() bool { return m.CreateByUserCleared() || m.clearedcreate_by }
[ -0.07271452248096466, 0.3007347285747528, 0.49139243364334106, 0.7144379615783691, 0.4207073152065277, 0.39147573709487915, 0.20535336434841156, -0.7136849761009216, 0.015174457803368568, 0.15690702199935913, -0.16967689990997314, -0.7349724769592285, -0.548297643661499, 0.4033179879188537...
func (m *OrganizationMutation) CreateByID() (id int, exists bool) { if m.create_by != nil { return *m.create_by, true } return }
[ -0.4055406451225281, 0.3856126070022583, 0.5549477934837341, 0.22835251688957214, 0.4880027174949646, -0.24537982046604156, 0.5769038796424866, -0.10687997937202454, -0.31255680322647095, 1.1305938959121704, -0.8203763961791992, -0.9893860220909119, -0.8002837896347046, 0.49828338623046875...
func (m *OrganizationMutation) CreateByIDs() (ids []int) { if id := m.create_by; id != nil { ids = append(ids, *id) } return }
[ -0.9187039732933044, 0.41467300057411194, 0.2830671966075897, 0.22922800481319427, 0.9713897705078125, -0.7991010546684265, 0.4318365454673767, -0.19309526681900024, -0.33360403776168823, 0.7052990794181824, -0.8248907327651978, -0.2135452777147293, -0.3943744897842407, 0.36270180344581604...
func (m *OrganizationMutation) ResetCreateBy() { m.create_by = nil m.clearedcreate_by = false }
[ -0.34227243065834045, 0.3001566231250763, 0.3169182538986206, 0.9041881561279297, 0.745976984500885, -0.47658202052116394, 0.6175277829170227, -0.20606380701065063, -0.6978287696838379, 0.48080119490623474, -0.5444625020027161, -0.4837556779384613, -0.44229966402053833, 0.06866434216499329...
func (m *OrganizationMutation) SetUpdateByID(id int) { m.update_by = &id }
[ -0.21838298439979553, -0.3788760304450989, 0.3155538737773895, 0.39407333731651306, -0.8685882091522217, -0.35408443212509155, 0.029710235074162483, 0.28844645619392395, 0.26547837257385254, 1.0274113416671753, -0.325692743062973, -0.8743210434913635, -0.11956506222486496, 0.38996973633766...
func (m *OrganizationMutation) ClearUpdateBy() { m.clearedupdate_by = true }
[ -0.6440195441246033, -0.08479694277048111, 0.5261499285697937, 1.1285814046859741, -1.0629606246948242, 0.43628063797950745, 0.07727213203907013, -0.009960941039025784, 0.38388025760650635, 1.2217460870742798, 0.18535001575946808, -1.0480653047561646, 0.4823720157146454, -0.629377782344818...
func (m *OrganizationMutation) UpdateByCleared() bool { return m.UpdateByUserCleared() || m.clearedupdate_by }
[ -0.1918463557958603, 0.010618219152092934, 0.5145044326782227, 0.8183450698852539, -0.6026915907859802, 0.0961519405245781, -0.025626379996538162, -0.4035322368144989, 0.35408613085746765, 0.5912203192710876, -0.06679017096757889, -0.3258354663848877, -0.701860249042511, -0.034908138215541...
func (m *OrganizationMutation) UpdateByID() (id int, exists bool) { if m.update_by != nil { return *m.update_by, true } return }
[ -0.6671748757362366, 0.006408588029444218, 0.6778039932250977, 0.20908430218696594, -0.3620396554470062, -0.39031994342803955, 0.24294191598892212, 0.20303556323051453, 0.09527963399887085, 1.4318350553512573, -0.6364392638206482, -0.6230005025863647, -0.8710975646972656, -0.08894758671522...
func (m *OrganizationMutation) UpdateByIDs() (ids []int) { if id := m.update_by; id != nil { ids = append(ids, *id) } return }
[ -1.2080799341201782, -0.21571442484855652, 0.35897141695022583, 0.07347346842288971, 0.12061519920825958, -0.8789658546447754, 0.2570536434650421, 0.16975121200084686, -0.03734367713332176, 1.0993214845657349, -0.6502911448478699, 0.40066981315612793, -0.6176797747612, -0.30418649315834045...
func (m *OrganizationMutation) ResetUpdateBy() { m.update_by = nil m.clearedupdate_by = false }
[ -0.7538881897926331, -0.4957706928253174, 0.3767178952693939, 1.193602442741394, -0.10285218805074692, -0.762302041053772, 0.3433748781681061, 0.16054615378379822, -0.24323345720767975, 0.7756085395812988, -0.2608838379383087, -0.8788336515426636, -0.24251988530158997, -0.7242108583450317,...
func (m *OrganizationMutation) AddUnitIDs(ids ...int) { if m.units == nil { m.units = make(map[int]struct{}) } for i := range ids { m.units[ids[i]] = struct{}{} } }
[ -2.1317315101623535, 0.012866280972957611, 0.1140061691403389, -0.5450161099433899, 0.6019721031188965, 0.3380715548992157, -0.34481409192085266, 0.3139123320579529, -0.10931769013404846, 0.2885371148586273, 0.09971903264522552, 0.06464752554893494, -0.500045895576477, -0.04321010038256645...
func (m *OrganizationMutation) ClearUnits() { m.clearedunits = true }
[ -0.5144087076187134, 1.116661787033081, 0.11534257978200912, 0.01215665228664875, -0.08299125730991364, 0.800965428352356, 0.3452059030532837, -0.30088233947753906, 0.2605685293674469, -0.0806136429309845, 1.0957419872283936, 0.1211809292435646, 0.37013038992881775, -0.03901689872145653, ...
func (m *OrganizationMutation) UnitsCleared() bool { return m.clearedunits }
[ -0.8438604474067688, 0.1903749257326126, 0.5781021118164062, -0.3180238902568817, 0.3376697897911072, 0.9706969261169434, -0.3735540807247162, -0.4212304651737213, 0.2518729269504547, -0.6449351906776428, 0.06905965507030487, 0.15882620215415955, 0.10404027998447418, -0.31768253445625305, ...