Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseFiledMixin ¶
type BaseFiledMixin struct { // We embed the `mixin.Schema` to avoid // implementing the rest of the methods. mixin.Schema }
func (BaseFiledMixin) Fields ¶
func (BaseFiledMixin) Fields() []ent.Field
type Org ¶
func (Org) Annotations ¶
func (Org) Annotations() []schema.Annotation
type Role ¶
func (Role) Annotations ¶
func (Role) Annotations() []schema.Annotation
type RoleBinding ¶
func (RoleBinding) Annotations ¶
func (RoleBinding) Annotations() []schema.Annotation
func (RoleBinding) Edges ¶
func (RoleBinding) Edges() []ent.Edge
func (RoleBinding) Fields ¶
func (RoleBinding) Fields() []ent.Field
func (RoleBinding) Mixin ¶
func (RoleBinding) Mixin() []ent.Mixin
type SoftDeleteMixin ¶
SoftDeleteMixin implements the soft delete pattern for schemas.
func (SoftDeleteMixin) Fields ¶
func (SoftDeleteMixin) Fields() []ent.Field
Fields of the SoftDeleteMixin.
func (SoftDeleteMixin) Hooks ¶
func (d SoftDeleteMixin) Hooks() []ent.Hook
Hooks of the SoftDeleteMixin.
func (SoftDeleteMixin) Interceptors ¶
func (d SoftDeleteMixin) Interceptors() []ent.Interceptor
Interceptors of the SoftDeleteMixin.
func (SoftDeleteMixin) P ¶
func (d SoftDeleteMixin) P(w interface{ WhereP(...func(*sql.Selector)) })
P adds a storage-level predicate to the queries and mutations.
type User ¶
func (User) Annotations ¶
func (User) Annotations() []schema.Annotation
Click to show internal directories.
Click to hide internal directories.