softdelete

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interceptor

func Interceptor() ent.Interceptor

func SkipSoftDelete

func SkipSoftDelete(ctx context.Context) context.Context

Skip SoftDelete return a new context that skips the soft-delete by interceptor/mutators.

func WhereDeletedAtIsNull

func WhereDeletedAtIsNull(w interface{ WhereP(...func(*sql.Selector)) })

Types

type SkipSoftDeleteKey

type SkipSoftDeleteKey struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL