Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminUser ¶
type AdminUser interface {
Get(ctx context.Context, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip *int, first *int, last *int) ([]*ent.AdminUser, error)
Connection(ctx context.Context, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip *int, first *int, last *int) (*ent.AdminUserConnection, error)
GetOne(ctx context.Context, where ent.AdminUserWhereUniqueInput) (*ent.AdminUser, error)
GetTx(ctx context.Context, tx *ent.Tx, where *ent.AdminUserWhereInput, orderBy *ent.AdminUserOrder, skip *int, first *int, last *int) ([]*ent.AdminUser, error)
GetOneTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereUniqueInput) (*ent.AdminUser, error)
Create(ctx context.Context, u ent.CreateAdminUserInput) (*ent.AdminUser, error)
CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreateAdminUserInput) (*ent.AdminUser, error)
CreateMany(ctx context.Context, data []ent.CreateAdminUserInput) ([]*ent.AdminUser, error)
CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateAdminUserInput) ([]*ent.AdminUser, error)
Update(ctx context.Context, where ent.AdminUserWhereUniqueInput, data ent.UpdateAdminUserInput) (*ent.AdminUser, error)
UpdateTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereUniqueInput, data ent.UpdateAdminUserInput) (*ent.AdminUser, error)
UpdateMany(ctx context.Context, where ent.AdminUserWhereInput, data ent.UpdateAdminUserInput) (int, error)
UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereInput, data ent.UpdateAdminUserInput) (int, error)
Upsert(ctx context.Context, data ent.CreateAdminUserInput) (*ent.AdminUser, error)
UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateAdminUserInput) (*ent.AdminUser, error)
UpsertMany(ctx context.Context, data []ent.CreateAdminUserInput) (int, error)
UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateAdminUserInput) (int, error)
Delete(ctx context.Context, where ent.AdminUserWhereUniqueInput) (*ent.AdminUser, error)
DeleteTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereUniqueInput) (*ent.AdminUser, error)
DeleteMany(ctx context.Context, where ent.AdminUserWhereInput) (int, error)
DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.AdminUserWhereInput) (int, error)
}
type File ¶
type File interface {
Get(ctx context.Context, where *ent.FileWhereInput, orderBy *ent.FileOrder, skip *int, first *int, last *int) ([]*ent.File, error)
Connection(ctx context.Context, where *ent.FileWhereInput, orderBy *ent.FileOrder, skip *int, first *int, last *int) (*ent.FileConnection, error)
GetOne(ctx context.Context, where ent.FileWhereUniqueInput) (*ent.File, error)
GetTx(ctx context.Context, tx *ent.Tx, where *ent.FileWhereInput, orderBy *ent.FileOrder, skip *int, first *int, last *int) ([]*ent.File, error)
GetOneTx(ctx context.Context, tx *ent.Tx, where ent.FileWhereUniqueInput) (*ent.File, error)
Create(ctx context.Context, u ent.CreateFileInput) (*ent.File, error)
CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreateFileInput) (*ent.File, error)
CreateMany(ctx context.Context, data []ent.CreateFileInput) ([]*ent.File, error)
CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateFileInput) ([]*ent.File, error)
Update(ctx context.Context, where ent.FileWhereUniqueInput, data ent.UpdateFileInput) (*ent.File, error)
UpdateTx(ctx context.Context, tx *ent.Tx, where ent.FileWhereUniqueInput, data ent.UpdateFileInput) (*ent.File, error)
UpdateMany(ctx context.Context, where ent.FileWhereInput, data ent.UpdateFileInput) (int, error)
UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.FileWhereInput, data ent.UpdateFileInput) (int, error)
Upsert(ctx context.Context, data ent.CreateFileInput) (*ent.File, error)
UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateFileInput) (*ent.File, error)
UpsertMany(ctx context.Context, data []ent.CreateFileInput) (int, error)
UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateFileInput) (int, error)
Delete(ctx context.Context, where ent.FileWhereUniqueInput) (*ent.File, error)
DeleteTx(ctx context.Context, tx *ent.Tx, where ent.FileWhereUniqueInput) (*ent.File, error)
DeleteMany(ctx context.Context, where ent.FileWhereInput) (int, error)
DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.FileWhereInput) (int, error)
}
type Permission ¶
type Permission interface {
Get(ctx context.Context, where *ent.PermissionWhereInput, orderBy *ent.PermissionOrder, skip *int, first *int, last *int) ([]*ent.Permission, error)
Connection(ctx context.Context, where *ent.PermissionWhereInput, orderBy *ent.PermissionOrder, skip *int, first *int, last *int) (*ent.PermissionConnection, error)
GetOne(ctx context.Context, where ent.PermissionWhereUniqueInput) (*ent.Permission, error)
GetTx(ctx context.Context, tx *ent.Tx, where *ent.PermissionWhereInput, orderBy *ent.PermissionOrder, skip *int, first *int, last *int) ([]*ent.Permission, error)
GetOneTx(ctx context.Context, tx *ent.Tx, where ent.PermissionWhereUniqueInput) (*ent.Permission, error)
Create(ctx context.Context, u ent.CreatePermissionInput) (*ent.Permission, error)
CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreatePermissionInput) (*ent.Permission, error)
CreateMany(ctx context.Context, data []ent.CreatePermissionInput) ([]*ent.Permission, error)
CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreatePermissionInput) ([]*ent.Permission, error)
Update(ctx context.Context, where ent.PermissionWhereUniqueInput, data ent.UpdatePermissionInput) (*ent.Permission, error)
UpdateTx(ctx context.Context, tx *ent.Tx, where ent.PermissionWhereUniqueInput, data ent.UpdatePermissionInput) (*ent.Permission, error)
UpdateMany(ctx context.Context, where ent.PermissionWhereInput, data ent.UpdatePermissionInput) (int, error)
UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.PermissionWhereInput, data ent.UpdatePermissionInput) (int, error)
Upsert(ctx context.Context, data ent.CreatePermissionInput) (*ent.Permission, error)
UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreatePermissionInput) (*ent.Permission, error)
UpsertMany(ctx context.Context, data []ent.CreatePermissionInput) (int, error)
UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreatePermissionInput) (int, error)
Delete(ctx context.Context, where ent.PermissionWhereUniqueInput) (*ent.Permission, error)
DeleteTx(ctx context.Context, tx *ent.Tx, where ent.PermissionWhereUniqueInput) (*ent.Permission, error)
DeleteMany(ctx context.Context, where ent.PermissionWhereInput) (int, error)
DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.PermissionWhereInput) (int, error)
}
type Role ¶
type Role interface {
Get(ctx context.Context, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip *int, first *int, last *int) ([]*ent.Role, error)
Connection(ctx context.Context, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip *int, first *int, last *int) (*ent.RoleConnection, error)
GetOne(ctx context.Context, where ent.RoleWhereUniqueInput) (*ent.Role, error)
GetTx(ctx context.Context, tx *ent.Tx, where *ent.RoleWhereInput, orderBy *ent.RoleOrder, skip *int, first *int, last *int) ([]*ent.Role, error)
GetOneTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput) (*ent.Role, error)
Create(ctx context.Context, u ent.CreateRoleInput) (*ent.Role, error)
CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreateRoleInput) (*ent.Role, error)
CreateMany(ctx context.Context, data []ent.CreateRoleInput) ([]*ent.Role, error)
CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateRoleInput) ([]*ent.Role, error)
Update(ctx context.Context, where ent.RoleWhereUniqueInput, data ent.UpdateRoleInput) (*ent.Role, error)
UpdateTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput, data ent.UpdateRoleInput) (*ent.Role, error)
UpdateMany(ctx context.Context, where ent.RoleWhereInput, data ent.UpdateRoleInput) (int, error)
UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereInput, data ent.UpdateRoleInput) (int, error)
Upsert(ctx context.Context, data ent.CreateRoleInput) (*ent.Role, error)
UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateRoleInput) (*ent.Role, error)
UpsertMany(ctx context.Context, data []ent.CreateRoleInput) (int, error)
UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateRoleInput) (int, error)
Delete(ctx context.Context, where ent.RoleWhereUniqueInput) (*ent.Role, error)
DeleteTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereUniqueInput) (*ent.Role, error)
DeleteMany(ctx context.Context, where ent.RoleWhereInput) (int, error)
DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.RoleWhereInput) (int, error)
}
type User ¶
type User interface {
Get(ctx context.Context, where *ent.UserWhereInput, orderBy *ent.UserOrder, skip *int, first *int, last *int) ([]*ent.User, error)
Connection(ctx context.Context, where *ent.UserWhereInput, orderBy *ent.UserOrder, skip *int, first *int, last *int) (*ent.UserConnection, error)
GetOne(ctx context.Context, where ent.UserWhereUniqueInput) (*ent.User, error)
GetTx(ctx context.Context, tx *ent.Tx, where *ent.UserWhereInput, orderBy *ent.UserOrder, skip *int, first *int, last *int) ([]*ent.User, error)
GetOneTx(ctx context.Context, tx *ent.Tx, where ent.UserWhereUniqueInput) (*ent.User, error)
Create(ctx context.Context, u ent.CreateUserInput) (*ent.User, error)
CreateTx(ctx context.Context, tx *ent.Tx, u ent.CreateUserInput) (*ent.User, error)
CreateMany(ctx context.Context, data []ent.CreateUserInput) ([]*ent.User, error)
CreateManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateUserInput) ([]*ent.User, error)
Update(ctx context.Context, where ent.UserWhereUniqueInput, data ent.UpdateUserInput) (*ent.User, error)
UpdateTx(ctx context.Context, tx *ent.Tx, where ent.UserWhereUniqueInput, data ent.UpdateUserInput) (*ent.User, error)
UpdateMany(ctx context.Context, where ent.UserWhereInput, data ent.UpdateUserInput) (int, error)
UpdateManyTx(ctx context.Context, tx *ent.Tx, where ent.UserWhereInput, data ent.UpdateUserInput) (int, error)
Upsert(ctx context.Context, data ent.CreateUserInput) (*ent.User, error)
UpsertTx(ctx context.Context, tx *ent.Tx, data ent.CreateUserInput) (*ent.User, error)
UpsertMany(ctx context.Context, data []ent.CreateUserInput) (int, error)
UpsertManyTx(ctx context.Context, tx *ent.Tx, data []ent.CreateUserInput) (int, error)
Delete(ctx context.Context, where ent.UserWhereUniqueInput) (*ent.User, error)
DeleteTx(ctx context.Context, tx *ent.Tx, where ent.UserWhereUniqueInput) (*ent.User, error)
DeleteMany(ctx context.Context, where ent.UserWhereInput) (int, error)
DeleteManyTx(ctx context.Context, tx *ent.Tx, where ent.UserWhereInput) (int, error)
}
Click to show internal directories.
Click to hide internal directories.