MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Create

Method Create

ent/client.go:2845–2848  ·  view source on GitHub ↗

Create returns a builder for creating a User entity.

()

Source from the content-addressed store, hash-verified

2843
2844// Create returns a builder for creating a User entity.
2845func (c *UserClient) Create() *UserCreate {
2846 mutation := newUserMutation(c.config, OpCreate)
2847 return &UserCreate{config: c.config, hooks: c.Hooks(), mutation: mutation}
2848}
2849
2850// CreateBulk returns a builder for creating a bulk of User entities.
2851func (c *UserClient) CreateBulk(builders ...*UserCreate) *UserCreateBulk {

Callers 1

MapCreateBulkMethod · 0.95

Calls 2

HooksMethod · 0.95
newUserMutationFunction · 0.85

Tested by

no test coverage detected