Create returns a builder for creating a Group entity.
()
| 1066 | |
| 1067 | // Create returns a builder for creating a Group entity. |
| 1068 | func (c *GroupClient) Create() *GroupCreate { |
| 1069 | mutation := newGroupMutation(c.config, OpCreate) |
| 1070 | return &GroupCreate{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 1071 | } |
| 1072 | |
| 1073 | // CreateBulk returns a builder for creating a bulk of Group entities. |
| 1074 | func (c *GroupClient) CreateBulk(builders ...*GroupCreate) *GroupCreateBulk { |
no test coverage detected