actor

package
v0.0.0-...-34fc03e Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the actor type in the database.
	Label = "actor"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldNote holds the string denoting the note field in the database.
	FieldNote = "note"
	// FieldLocked holds the string denoting the locked field in the database.
	FieldLocked = "locked"
	// FieldMemorial holds the string denoting the memorial field in the database.
	FieldMemorial = "memorial"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldPubkey holds the string denoting the pubkey field in the database.
	FieldPubkey = "pubkey"
	// FieldPrivkey holds the string denoting the privkey field in the database.
	FieldPrivkey = "privkey"
	// FieldAvatarRemoteURL holds the string denoting the avatar_remote_url field in the database.
	FieldAvatarRemoteURL = "avatar_remote_url"
	// FieldAvatarLocalFile holds the string denoting the avatar_local_file field in the database.
	FieldAvatarLocalFile = "avatar_local_file"
	// FieldAvatarUpdatedAt holds the string denoting the avatar_updated_at field in the database.
	FieldAvatarUpdatedAt = "avatar_updated_at"
	// FieldHeaderURL holds the string denoting the header_url field in the database.
	FieldHeaderURL = "header_url"
	// FieldHeaderLocalFile holds the string denoting the header_local_file field in the database.
	FieldHeaderLocalFile = "header_local_file"
	// FieldHeaderUpdatedAt holds the string denoting the header_updated_at field in the database.
	FieldHeaderUpdatedAt = "header_updated_at"
	// FieldLastWebfingerAt holds the string denoting the last_webfinger_at field in the database.
	FieldLastWebfingerAt = "last_webfinger_at"
	// FieldInboxURL holds the string denoting the inbox_url field in the database.
	FieldInboxURL = "inbox_url"
	// FieldOutboxURL holds the string denoting the outbox_url field in the database.
	FieldOutboxURL = "outbox_url"
	// FieldSharedInboxURL holds the string denoting the shared_inbox_url field in the database.
	FieldSharedInboxURL = "shared_inbox_url"
	// FieldFollowersURL holds the string denoting the followers_url field in the database.
	FieldFollowersURL = "followers_url"
	// FieldMovedToID holds the string denoting the moved_to_id field in the database.
	FieldMovedToID = "moved_to_id"
	// FieldFeaturedCollectionURL holds the string denoting the featured_collection_url field in the database.
	FieldFeaturedCollectionURL = "featured_collection_url"
	// FieldSilencedAt holds the string denoting the silenced_at field in the database.
	FieldSilencedAt = "silenced_at"
	// FieldSuspendedAt holds the string denoting the suspended_at field in the database.
	FieldSuspendedAt = "suspended_at"
	// FieldPasswordHash holds the string denoting the passwordhash field in the database.
	FieldPasswordHash = "password_hash"
	// FieldRecoveryCode holds the string denoting the recovery_code field in the database.
	FieldRecoveryCode = "recovery_code"
	// FieldRole holds the string denoting the role field in the database.
	FieldRole = "role"
	// FieldBadge holds the string denoting the badge field in the database.
	FieldBadge = "badge"
	// FieldLocale holds the string denoting the locale field in the database.
	FieldLocale = "locale"
	// EdgeServer holds the string denoting the server edge name in mutations.
	EdgeServer = "server"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeOrganizerOf holds the string denoting the organizer_of edge name in mutations.
	EdgeOrganizerOf = "organizer_of"
	// EdgeStatuses holds the string denoting the statuses edge name in mutations.
	EdgeStatuses = "statuses"
	// EdgeFollowers holds the string denoting the followers edge name in mutations.
	EdgeFollowers = "followers"
	// EdgeFollowing holds the string denoting the following edge name in mutations.
	EdgeFollowing = "following"
	// EdgeReactedStatuses holds the string denoting the reacted_statuses edge name in mutations.
	EdgeReactedStatuses = "reacted_statuses"
	// EdgeModerators holds the string denoting the moderators edge name in mutations.
	EdgeModerators = "moderators"
	// EdgeModerating holds the string denoting the moderating edge name in mutations.
	EdgeModerating = "moderating"
	// EdgeMembers holds the string denoting the members edge name in mutations.
	EdgeMembers = "members"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// EdgeSessions holds the string denoting the sessions edge name in mutations.
	EdgeSessions = "sessions"
	// EdgeReactions holds the string denoting the reactions edge name in mutations.
	EdgeReactions = "reactions"
	// Table holds the table name of the actor in the database.
	Table = "actors"
	// ServerTable is the table that holds the server relation/edge.
	ServerTable = "actors"
	// ServerInverseTable is the table name for the Server entity.
	// It exists in this package in order to avoid circular dependency with the "server" package.
	ServerInverseTable = "servers"
	// ServerColumn is the table column denoting the server relation/edge.
	ServerColumn = "server_actors"
	// EventsTable is the table that holds the events relation/edge. The primary key declared below.
	EventsTable = "event_attendees"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// OrganizerOfTable is the table that holds the organizer_of relation/edge.
	OrganizerOfTable = "events"
	// OrganizerOfInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	OrganizerOfInverseTable = "events"
	// OrganizerOfColumn is the table column denoting the organizer_of relation/edge.
	OrganizerOfColumn = "actor_organizer_of"
	// StatusesTable is the table that holds the statuses relation/edge.
	StatusesTable = "status"
	// StatusesInverseTable is the table name for the Status entity.
	// It exists in this package in order to avoid circular dependency with the "status" package.
	StatusesInverseTable = "status"
	// StatusesColumn is the table column denoting the statuses relation/edge.
	StatusesColumn = "actor_statuses"
	// FollowersTable is the table that holds the followers relation/edge. The primary key declared below.
	FollowersTable = "actor_following"
	// FollowingTable is the table that holds the following relation/edge. The primary key declared below.
	FollowingTable = "actor_following"
	// ReactedStatusesTable is the table that holds the reacted_statuses relation/edge. The primary key declared below.
	ReactedStatusesTable = "reactions"
	// ReactedStatusesInverseTable is the table name for the Status entity.
	// It exists in this package in order to avoid circular dependency with the "status" package.
	ReactedStatusesInverseTable = "status"
	// ModeratorsTable is the table that holds the moderators relation/edge. The primary key declared below.
	ModeratorsTable = "actor_moderating"
	// ModeratingTable is the table that holds the moderating relation/edge. The primary key declared below.
	ModeratingTable = "actor_moderating"
	// MembersTable is the table that holds the members relation/edge. The primary key declared below.
	MembersTable = "actor_groups"
	// GroupsTable is the table that holds the groups relation/edge. The primary key declared below.
	GroupsTable = "actor_groups"
	// SessionsTable is the table that holds the sessions relation/edge.
	SessionsTable = "sessions"
	// SessionsInverseTable is the table name for the Session entity.
	// It exists in this package in order to avoid circular dependency with the "session" package.
	SessionsInverseTable = "sessions"
	// SessionsColumn is the table column denoting the sessions relation/edge.
	SessionsColumn = "actor_sessions"
	// ReactionsTable is the table that holds the reactions relation/edge.
	ReactionsTable = "reactions"
	// ReactionsInverseTable is the table name for the Reaction entity.
	// It exists in this package in order to avoid circular dependency with the "reaction" package.
	ReactionsInverseTable = "reactions"
	// ReactionsColumn is the table column denoting the reactions relation/edge.
	ReactionsColumn = "actor_id"
)

Variables

View Source
var (
	// EventsPrimaryKey and EventsColumn2 are the table columns denoting the
	// primary key for the events relation (M2M).
	EventsPrimaryKey = []string{"event_id", "actor_id"}
	// FollowersPrimaryKey and FollowersColumn2 are the table columns denoting the
	// primary key for the followers relation (M2M).
	FollowersPrimaryKey = []string{"actor_id", "follower_id"}
	// FollowingPrimaryKey and FollowingColumn2 are the table columns denoting the
	// primary key for the following relation (M2M).
	FollowingPrimaryKey = []string{"actor_id", "follower_id"}
	// ReactedStatusesPrimaryKey and ReactedStatusesColumn2 are the table columns denoting the
	// primary key for the reacted_statuses relation (M2M).
	ReactedStatusesPrimaryKey = []string{"actor_id", "status_id"}
	// ModeratorsPrimaryKey and ModeratorsColumn2 are the table columns denoting the
	// primary key for the moderators relation (M2M).
	ModeratorsPrimaryKey = []string{"actor_id", "moderator_id"}
	// ModeratingPrimaryKey and ModeratingColumn2 are the table columns denoting the
	// primary key for the moderating relation (M2M).
	ModeratingPrimaryKey = []string{"actor_id", "moderator_id"}
	// MembersPrimaryKey and MembersColumn2 are the table columns denoting the
	// primary key for the members relation (M2M).
	MembersPrimaryKey = []string{"actor_id", "member_id"}
	// GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the
	// primary key for the groups relation (M2M).
	GroupsPrimaryKey = []string{"actor_id", "member_id"}
)
View Source
var (
	Hooks  [3]ent.Hook
	Policy ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultDisplayName holds the default value on creation for the "display_name" field.
	DefaultDisplayName string
	// DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save.
	DisplayNameValidator func(string) error
	// DefaultNote holds the default value on creation for the "note" field.
	DefaultNote string
	// NoteValidator is a validator for the "note" field. It is called by the builders before save.
	NoteValidator func(string) error
	// DefaultLocked holds the default value on creation for the "locked" field.
	DefaultLocked bool
	// DefaultMemorial holds the default value on creation for the "memorial" field.
	DefaultMemorial bool
	// URLValidator is a validator for the "url" field. It is called by the builders before save.
	URLValidator func(string) error
	// DefaultPubkey holds the default value on creation for the "pubkey" field.
	DefaultPubkey []byte
	// PubkeyValidator is a validator for the "pubkey" field. It is called by the builders before save.
	PubkeyValidator func([]byte) error
	// AvatarRemoteURLValidator is a validator for the "avatar_remote_url" field. It is called by the builders before save.
	AvatarRemoteURLValidator func(string) error
	// AvatarLocalFileValidator is a validator for the "avatar_local_file" field. It is called by the builders before save.
	AvatarLocalFileValidator func(string) error
	// HeaderURLValidator is a validator for the "header_url" field. It is called by the builders before save.
	HeaderURLValidator func(string) error
	// HeaderLocalFileValidator is a validator for the "header_local_file" field. It is called by the builders before save.
	HeaderLocalFileValidator func(string) error
	// DefaultLastWebfingerAt holds the default value on creation for the "last_webfinger_at" field.
	DefaultLastWebfingerAt func() time.Time
	// InboxURLValidator is a validator for the "inbox_url" field. It is called by the builders before save.
	InboxURLValidator func(string) error
	// OutboxURLValidator is a validator for the "outbox_url" field. It is called by the builders before save.
	OutboxURLValidator func(string) error
	// SharedInboxURLValidator is a validator for the "shared_inbox_url" field. It is called by the builders before save.
	SharedInboxURLValidator func(string) error
	// FollowersURLValidator is a validator for the "followers_url" field. It is called by the builders before save.
	FollowersURLValidator func(string) error
	// PasswordHashValidator is a validator for the "passwordHash" field. It is called by the builders before save.
	PasswordHashValidator func([]byte) error
	// DefaultRole holds the default value on creation for the "role" field.
	DefaultRole uint64
	// DefaultBadge holds the default value on creation for the "badge" field.
	DefaultBadge uint64
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/eriner/burr/internal/ent/runtime"

Columns holds all SQL columns for actor fields.

View Source
var ForeignKeys = []string{
	"server_actors",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "actors" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Actor) predicate.Actor

And groups predicates with the AND operator between them.

func AvatarLocalFile

func AvatarLocalFile(v string) predicate.Actor

AvatarLocalFile applies equality check predicate on the "avatar_local_file" field. It's identical to AvatarLocalFileEQ.

func AvatarLocalFileContains

func AvatarLocalFileContains(v string) predicate.Actor

AvatarLocalFileContains applies the Contains predicate on the "avatar_local_file" field.

func AvatarLocalFileContainsFold

func AvatarLocalFileContainsFold(v string) predicate.Actor

AvatarLocalFileContainsFold applies the ContainsFold predicate on the "avatar_local_file" field.

func AvatarLocalFileEQ

func AvatarLocalFileEQ(v string) predicate.Actor

AvatarLocalFileEQ applies the EQ predicate on the "avatar_local_file" field.

func AvatarLocalFileEqualFold

func AvatarLocalFileEqualFold(v string) predicate.Actor

AvatarLocalFileEqualFold applies the EqualFold predicate on the "avatar_local_file" field.

func AvatarLocalFileGT

func AvatarLocalFileGT(v string) predicate.Actor

AvatarLocalFileGT applies the GT predicate on the "avatar_local_file" field.

func AvatarLocalFileGTE

func AvatarLocalFileGTE(v string) predicate.Actor

AvatarLocalFileGTE applies the GTE predicate on the "avatar_local_file" field.

func AvatarLocalFileHasPrefix

func AvatarLocalFileHasPrefix(v string) predicate.Actor

AvatarLocalFileHasPrefix applies the HasPrefix predicate on the "avatar_local_file" field.

func AvatarLocalFileHasSuffix

func AvatarLocalFileHasSuffix(v string) predicate.Actor

AvatarLocalFileHasSuffix applies the HasSuffix predicate on the "avatar_local_file" field.

func AvatarLocalFileIn

func AvatarLocalFileIn(vs ...string) predicate.Actor

AvatarLocalFileIn applies the In predicate on the "avatar_local_file" field.

func AvatarLocalFileIsNil

func AvatarLocalFileIsNil() predicate.Actor

AvatarLocalFileIsNil applies the IsNil predicate on the "avatar_local_file" field.

func AvatarLocalFileLT

func AvatarLocalFileLT(v string) predicate.Actor

AvatarLocalFileLT applies the LT predicate on the "avatar_local_file" field.

func AvatarLocalFileLTE

func AvatarLocalFileLTE(v string) predicate.Actor

AvatarLocalFileLTE applies the LTE predicate on the "avatar_local_file" field.

func AvatarLocalFileNEQ

func AvatarLocalFileNEQ(v string) predicate.Actor

AvatarLocalFileNEQ applies the NEQ predicate on the "avatar_local_file" field.

func AvatarLocalFileNotIn

func AvatarLocalFileNotIn(vs ...string) predicate.Actor

AvatarLocalFileNotIn applies the NotIn predicate on the "avatar_local_file" field.

func AvatarLocalFileNotNil

func AvatarLocalFileNotNil() predicate.Actor

AvatarLocalFileNotNil applies the NotNil predicate on the "avatar_local_file" field.

func AvatarRemoteURL

func AvatarRemoteURL(v string) predicate.Actor

AvatarRemoteURL applies equality check predicate on the "avatar_remote_url" field. It's identical to AvatarRemoteURLEQ.

func AvatarRemoteURLContains

func AvatarRemoteURLContains(v string) predicate.Actor

AvatarRemoteURLContains applies the Contains predicate on the "avatar_remote_url" field.

func AvatarRemoteURLContainsFold

func AvatarRemoteURLContainsFold(v string) predicate.Actor

AvatarRemoteURLContainsFold applies the ContainsFold predicate on the "avatar_remote_url" field.

func AvatarRemoteURLEQ

func AvatarRemoteURLEQ(v string) predicate.Actor

AvatarRemoteURLEQ applies the EQ predicate on the "avatar_remote_url" field.

func AvatarRemoteURLEqualFold

func AvatarRemoteURLEqualFold(v string) predicate.Actor

AvatarRemoteURLEqualFold applies the EqualFold predicate on the "avatar_remote_url" field.

func AvatarRemoteURLGT

func AvatarRemoteURLGT(v string) predicate.Actor

AvatarRemoteURLGT applies the GT predicate on the "avatar_remote_url" field.

func AvatarRemoteURLGTE

func AvatarRemoteURLGTE(v string) predicate.Actor

AvatarRemoteURLGTE applies the GTE predicate on the "avatar_remote_url" field.

func AvatarRemoteURLHasPrefix

func AvatarRemoteURLHasPrefix(v string) predicate.Actor

AvatarRemoteURLHasPrefix applies the HasPrefix predicate on the "avatar_remote_url" field.

func AvatarRemoteURLHasSuffix

func AvatarRemoteURLHasSuffix(v string) predicate.Actor

AvatarRemoteURLHasSuffix applies the HasSuffix predicate on the "avatar_remote_url" field.

func AvatarRemoteURLIn

func AvatarRemoteURLIn(vs ...string) predicate.Actor

AvatarRemoteURLIn applies the In predicate on the "avatar_remote_url" field.

func AvatarRemoteURLIsNil

func AvatarRemoteURLIsNil() predicate.Actor

AvatarRemoteURLIsNil applies the IsNil predicate on the "avatar_remote_url" field.

func AvatarRemoteURLLT

func AvatarRemoteURLLT(v string) predicate.Actor

AvatarRemoteURLLT applies the LT predicate on the "avatar_remote_url" field.

func AvatarRemoteURLLTE

func AvatarRemoteURLLTE(v string) predicate.Actor

AvatarRemoteURLLTE applies the LTE predicate on the "avatar_remote_url" field.

func AvatarRemoteURLNEQ

func AvatarRemoteURLNEQ(v string) predicate.Actor

AvatarRemoteURLNEQ applies the NEQ predicate on the "avatar_remote_url" field.

func AvatarRemoteURLNotIn

func AvatarRemoteURLNotIn(vs ...string) predicate.Actor

AvatarRemoteURLNotIn applies the NotIn predicate on the "avatar_remote_url" field.

func AvatarRemoteURLNotNil

func AvatarRemoteURLNotNil() predicate.Actor

AvatarRemoteURLNotNil applies the NotNil predicate on the "avatar_remote_url" field.

func AvatarUpdatedAt

func AvatarUpdatedAt(v time.Time) predicate.Actor

AvatarUpdatedAt applies equality check predicate on the "avatar_updated_at" field. It's identical to AvatarUpdatedAtEQ.

func AvatarUpdatedAtEQ

func AvatarUpdatedAtEQ(v time.Time) predicate.Actor

AvatarUpdatedAtEQ applies the EQ predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtGT

func AvatarUpdatedAtGT(v time.Time) predicate.Actor

AvatarUpdatedAtGT applies the GT predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtGTE

func AvatarUpdatedAtGTE(v time.Time) predicate.Actor

AvatarUpdatedAtGTE applies the GTE predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtIn

func AvatarUpdatedAtIn(vs ...time.Time) predicate.Actor

AvatarUpdatedAtIn applies the In predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtIsNil

func AvatarUpdatedAtIsNil() predicate.Actor

AvatarUpdatedAtIsNil applies the IsNil predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtLT

func AvatarUpdatedAtLT(v time.Time) predicate.Actor

AvatarUpdatedAtLT applies the LT predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtLTE

func AvatarUpdatedAtLTE(v time.Time) predicate.Actor

AvatarUpdatedAtLTE applies the LTE predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtNEQ

func AvatarUpdatedAtNEQ(v time.Time) predicate.Actor

AvatarUpdatedAtNEQ applies the NEQ predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtNotIn

func AvatarUpdatedAtNotIn(vs ...time.Time) predicate.Actor

AvatarUpdatedAtNotIn applies the NotIn predicate on the "avatar_updated_at" field.

func AvatarUpdatedAtNotNil

func AvatarUpdatedAtNotNil() predicate.Actor

AvatarUpdatedAtNotNil applies the NotNil predicate on the "avatar_updated_at" field.

func Badge

func Badge(v uint64) predicate.Actor

Badge applies equality check predicate on the "badge" field. It's identical to BadgeEQ.

func BadgeEQ

func BadgeEQ(v uint64) predicate.Actor

BadgeEQ applies the EQ predicate on the "badge" field.

func BadgeGT

func BadgeGT(v uint64) predicate.Actor

BadgeGT applies the GT predicate on the "badge" field.

func BadgeGTE

func BadgeGTE(v uint64) predicate.Actor

BadgeGTE applies the GTE predicate on the "badge" field.

func BadgeIn

func BadgeIn(vs ...uint64) predicate.Actor

BadgeIn applies the In predicate on the "badge" field.

func BadgeIsNil

func BadgeIsNil() predicate.Actor

BadgeIsNil applies the IsNil predicate on the "badge" field.

func BadgeLT

func BadgeLT(v uint64) predicate.Actor

BadgeLT applies the LT predicate on the "badge" field.

func BadgeLTE

func BadgeLTE(v uint64) predicate.Actor

BadgeLTE applies the LTE predicate on the "badge" field.

func BadgeNEQ

func BadgeNEQ(v uint64) predicate.Actor

BadgeNEQ applies the NEQ predicate on the "badge" field.

func BadgeNotIn

func BadgeNotIn(vs ...uint64) predicate.Actor

BadgeNotIn applies the NotIn predicate on the "badge" field.

func BadgeNotNil

func BadgeNotNil() predicate.Actor

BadgeNotNil applies the NotNil predicate on the "badge" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Actor

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Actor

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Actor

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Actor

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Actor

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Actor

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Actor

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Actor

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Actor

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v int) predicate.Actor

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int) predicate.Actor

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int) predicate.Actor

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int) predicate.Actor

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int) predicate.Actor

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Actor

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int) predicate.Actor

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int) predicate.Actor

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.Actor

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.Actor

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Actor

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DisplayName

func DisplayName(v string) predicate.Actor

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.Actor

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.Actor

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.Actor

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.Actor

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.Actor

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.Actor

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.Actor

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.Actor

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.Actor

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.Actor

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.Actor

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.Actor

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.Actor

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func FeaturedCollectionURL

func FeaturedCollectionURL(v string) predicate.Actor

FeaturedCollectionURL applies equality check predicate on the "featured_collection_url" field. It's identical to FeaturedCollectionURLEQ.

func FeaturedCollectionURLContains

func FeaturedCollectionURLContains(v string) predicate.Actor

FeaturedCollectionURLContains applies the Contains predicate on the "featured_collection_url" field.

func FeaturedCollectionURLContainsFold

func FeaturedCollectionURLContainsFold(v string) predicate.Actor

FeaturedCollectionURLContainsFold applies the ContainsFold predicate on the "featured_collection_url" field.

func FeaturedCollectionURLEQ

func FeaturedCollectionURLEQ(v string) predicate.Actor

FeaturedCollectionURLEQ applies the EQ predicate on the "featured_collection_url" field.

func FeaturedCollectionURLEqualFold

func FeaturedCollectionURLEqualFold(v string) predicate.Actor

FeaturedCollectionURLEqualFold applies the EqualFold predicate on the "featured_collection_url" field.

func FeaturedCollectionURLGT

func FeaturedCollectionURLGT(v string) predicate.Actor

FeaturedCollectionURLGT applies the GT predicate on the "featured_collection_url" field.

func FeaturedCollectionURLGTE

func FeaturedCollectionURLGTE(v string) predicate.Actor

FeaturedCollectionURLGTE applies the GTE predicate on the "featured_collection_url" field.

func FeaturedCollectionURLHasPrefix

func FeaturedCollectionURLHasPrefix(v string) predicate.Actor

FeaturedCollectionURLHasPrefix applies the HasPrefix predicate on the "featured_collection_url" field.

func FeaturedCollectionURLHasSuffix

func FeaturedCollectionURLHasSuffix(v string) predicate.Actor

FeaturedCollectionURLHasSuffix applies the HasSuffix predicate on the "featured_collection_url" field.

func FeaturedCollectionURLIn

func FeaturedCollectionURLIn(vs ...string) predicate.Actor

FeaturedCollectionURLIn applies the In predicate on the "featured_collection_url" field.

func FeaturedCollectionURLIsNil

func FeaturedCollectionURLIsNil() predicate.Actor

FeaturedCollectionURLIsNil applies the IsNil predicate on the "featured_collection_url" field.

func FeaturedCollectionURLLT

func FeaturedCollectionURLLT(v string) predicate.Actor

FeaturedCollectionURLLT applies the LT predicate on the "featured_collection_url" field.

func FeaturedCollectionURLLTE

func FeaturedCollectionURLLTE(v string) predicate.Actor

FeaturedCollectionURLLTE applies the LTE predicate on the "featured_collection_url" field.

func FeaturedCollectionURLNEQ

func FeaturedCollectionURLNEQ(v string) predicate.Actor

FeaturedCollectionURLNEQ applies the NEQ predicate on the "featured_collection_url" field.

func FeaturedCollectionURLNotIn

func FeaturedCollectionURLNotIn(vs ...string) predicate.Actor

FeaturedCollectionURLNotIn applies the NotIn predicate on the "featured_collection_url" field.

func FeaturedCollectionURLNotNil

func FeaturedCollectionURLNotNil() predicate.Actor

FeaturedCollectionURLNotNil applies the NotNil predicate on the "featured_collection_url" field.

func FollowersURL

func FollowersURL(v string) predicate.Actor

FollowersURL applies equality check predicate on the "followers_url" field. It's identical to FollowersURLEQ.

func FollowersURLContains

func FollowersURLContains(v string) predicate.Actor

FollowersURLContains applies the Contains predicate on the "followers_url" field.

func FollowersURLContainsFold

func FollowersURLContainsFold(v string) predicate.Actor

FollowersURLContainsFold applies the ContainsFold predicate on the "followers_url" field.

func FollowersURLEQ

func FollowersURLEQ(v string) predicate.Actor

FollowersURLEQ applies the EQ predicate on the "followers_url" field.

func FollowersURLEqualFold

func FollowersURLEqualFold(v string) predicate.Actor

FollowersURLEqualFold applies the EqualFold predicate on the "followers_url" field.

func FollowersURLGT

func FollowersURLGT(v string) predicate.Actor

FollowersURLGT applies the GT predicate on the "followers_url" field.

func FollowersURLGTE

func FollowersURLGTE(v string) predicate.Actor

FollowersURLGTE applies the GTE predicate on the "followers_url" field.

func FollowersURLHasPrefix

func FollowersURLHasPrefix(v string) predicate.Actor

FollowersURLHasPrefix applies the HasPrefix predicate on the "followers_url" field.

func FollowersURLHasSuffix

func FollowersURLHasSuffix(v string) predicate.Actor

FollowersURLHasSuffix applies the HasSuffix predicate on the "followers_url" field.

func FollowersURLIn

func FollowersURLIn(vs ...string) predicate.Actor

FollowersURLIn applies the In predicate on the "followers_url" field.

func FollowersURLLT

func FollowersURLLT(v string) predicate.Actor

FollowersURLLT applies the LT predicate on the "followers_url" field.

func FollowersURLLTE

func FollowersURLLTE(v string) predicate.Actor

FollowersURLLTE applies the LTE predicate on the "followers_url" field.

func FollowersURLNEQ

func FollowersURLNEQ(v string) predicate.Actor

FollowersURLNEQ applies the NEQ predicate on the "followers_url" field.

func FollowersURLNotIn

func FollowersURLNotIn(vs ...string) predicate.Actor

FollowersURLNotIn applies the NotIn predicate on the "followers_url" field.

func HasEvents

func HasEvents() predicate.Actor

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.Actor

HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).

func HasFollowers

func HasFollowers() predicate.Actor

HasFollowers applies the HasEdge predicate on the "followers" edge.

func HasFollowersWith

func HasFollowersWith(preds ...predicate.Actor) predicate.Actor

HasFollowersWith applies the HasEdge predicate on the "followers" edge with a given conditions (other predicates).

func HasFollowing

func HasFollowing() predicate.Actor

HasFollowing applies the HasEdge predicate on the "following" edge.

func HasFollowingWith

func HasFollowingWith(preds ...predicate.Actor) predicate.Actor

HasFollowingWith applies the HasEdge predicate on the "following" edge with a given conditions (other predicates).

func HasGroups

func HasGroups() predicate.Actor

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Actor) predicate.Actor

HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).

func HasMembers

func HasMembers() predicate.Actor

HasMembers applies the HasEdge predicate on the "members" edge.

func HasMembersWith

func HasMembersWith(preds ...predicate.Actor) predicate.Actor

HasMembersWith applies the HasEdge predicate on the "members" edge with a given conditions (other predicates).

func HasModerating

func HasModerating() predicate.Actor

HasModerating applies the HasEdge predicate on the "moderating" edge.

func HasModeratingWith

func HasModeratingWith(preds ...predicate.Actor) predicate.Actor

HasModeratingWith applies the HasEdge predicate on the "moderating" edge with a given conditions (other predicates).

func HasModerators

func HasModerators() predicate.Actor

HasModerators applies the HasEdge predicate on the "moderators" edge.

func HasModeratorsWith

func HasModeratorsWith(preds ...predicate.Actor) predicate.Actor

HasModeratorsWith applies the HasEdge predicate on the "moderators" edge with a given conditions (other predicates).

func HasOrganizerOf

func HasOrganizerOf() predicate.Actor

HasOrganizerOf applies the HasEdge predicate on the "organizer_of" edge.

func HasOrganizerOfWith

func HasOrganizerOfWith(preds ...predicate.Event) predicate.Actor

HasOrganizerOfWith applies the HasEdge predicate on the "organizer_of" edge with a given conditions (other predicates).

func HasReactedStatuses

func HasReactedStatuses() predicate.Actor

HasReactedStatuses applies the HasEdge predicate on the "reacted_statuses" edge.

func HasReactedStatusesWith

func HasReactedStatusesWith(preds ...predicate.Status) predicate.Actor

HasReactedStatusesWith applies the HasEdge predicate on the "reacted_statuses" edge with a given conditions (other predicates).

func HasReactions

func HasReactions() predicate.Actor

HasReactions applies the HasEdge predicate on the "reactions" edge.

func HasReactionsWith

func HasReactionsWith(preds ...predicate.Reaction) predicate.Actor

HasReactionsWith applies the HasEdge predicate on the "reactions" edge with a given conditions (other predicates).

func HasServer

func HasServer() predicate.Actor

HasServer applies the HasEdge predicate on the "server" edge.

func HasServerWith

func HasServerWith(preds ...predicate.Server) predicate.Actor

HasServerWith applies the HasEdge predicate on the "server" edge with a given conditions (other predicates).

func HasSessions

func HasSessions() predicate.Actor

HasSessions applies the HasEdge predicate on the "sessions" edge.

func HasSessionsWith

func HasSessionsWith(preds ...predicate.Session) predicate.Actor

HasSessionsWith applies the HasEdge predicate on the "sessions" edge with a given conditions (other predicates).

func HasStatuses

func HasStatuses() predicate.Actor

HasStatuses applies the HasEdge predicate on the "statuses" edge.

func HasStatusesWith

func HasStatusesWith(preds ...predicate.Status) predicate.Actor

HasStatusesWith applies the HasEdge predicate on the "statuses" edge with a given conditions (other predicates).

func HeaderLocalFile

func HeaderLocalFile(v string) predicate.Actor

HeaderLocalFile applies equality check predicate on the "header_local_file" field. It's identical to HeaderLocalFileEQ.

func HeaderLocalFileContains

func HeaderLocalFileContains(v string) predicate.Actor

HeaderLocalFileContains applies the Contains predicate on the "header_local_file" field.

func HeaderLocalFileContainsFold

func HeaderLocalFileContainsFold(v string) predicate.Actor

HeaderLocalFileContainsFold applies the ContainsFold predicate on the "header_local_file" field.

func HeaderLocalFileEQ

func HeaderLocalFileEQ(v string) predicate.Actor

HeaderLocalFileEQ applies the EQ predicate on the "header_local_file" field.

func HeaderLocalFileEqualFold

func HeaderLocalFileEqualFold(v string) predicate.Actor

HeaderLocalFileEqualFold applies the EqualFold predicate on the "header_local_file" field.

func HeaderLocalFileGT

func HeaderLocalFileGT(v string) predicate.Actor

HeaderLocalFileGT applies the GT predicate on the "header_local_file" field.

func HeaderLocalFileGTE

func HeaderLocalFileGTE(v string) predicate.Actor

HeaderLocalFileGTE applies the GTE predicate on the "header_local_file" field.

func HeaderLocalFileHasPrefix

func HeaderLocalFileHasPrefix(v string) predicate.Actor

HeaderLocalFileHasPrefix applies the HasPrefix predicate on the "header_local_file" field.

func HeaderLocalFileHasSuffix

func HeaderLocalFileHasSuffix(v string) predicate.Actor

HeaderLocalFileHasSuffix applies the HasSuffix predicate on the "header_local_file" field.

func HeaderLocalFileIn

func HeaderLocalFileIn(vs ...string) predicate.Actor

HeaderLocalFileIn applies the In predicate on the "header_local_file" field.

func HeaderLocalFileIsNil

func HeaderLocalFileIsNil() predicate.Actor

HeaderLocalFileIsNil applies the IsNil predicate on the "header_local_file" field.

func HeaderLocalFileLT

func HeaderLocalFileLT(v string) predicate.Actor

HeaderLocalFileLT applies the LT predicate on the "header_local_file" field.

func HeaderLocalFileLTE

func HeaderLocalFileLTE(v string) predicate.Actor

HeaderLocalFileLTE applies the LTE predicate on the "header_local_file" field.

func HeaderLocalFileNEQ

func HeaderLocalFileNEQ(v string) predicate.Actor

HeaderLocalFileNEQ applies the NEQ predicate on the "header_local_file" field.

func HeaderLocalFileNotIn

func HeaderLocalFileNotIn(vs ...string) predicate.Actor

HeaderLocalFileNotIn applies the NotIn predicate on the "header_local_file" field.

func HeaderLocalFileNotNil

func HeaderLocalFileNotNil() predicate.Actor

HeaderLocalFileNotNil applies the NotNil predicate on the "header_local_file" field.

func HeaderURL

func HeaderURL(v string) predicate.Actor

HeaderURL applies equality check predicate on the "header_url" field. It's identical to HeaderURLEQ.

func HeaderURLContains

func HeaderURLContains(v string) predicate.Actor

HeaderURLContains applies the Contains predicate on the "header_url" field.

func HeaderURLContainsFold

func HeaderURLContainsFold(v string) predicate.Actor

HeaderURLContainsFold applies the ContainsFold predicate on the "header_url" field.

func HeaderURLEQ

func HeaderURLEQ(v string) predicate.Actor

HeaderURLEQ applies the EQ predicate on the "header_url" field.

func HeaderURLEqualFold

func HeaderURLEqualFold(v string) predicate.Actor

HeaderURLEqualFold applies the EqualFold predicate on the "header_url" field.

func HeaderURLGT

func HeaderURLGT(v string) predicate.Actor

HeaderURLGT applies the GT predicate on the "header_url" field.

func HeaderURLGTE

func HeaderURLGTE(v string) predicate.Actor

HeaderURLGTE applies the GTE predicate on the "header_url" field.

func HeaderURLHasPrefix

func HeaderURLHasPrefix(v string) predicate.Actor

HeaderURLHasPrefix applies the HasPrefix predicate on the "header_url" field.

func HeaderURLHasSuffix

func HeaderURLHasSuffix(v string) predicate.Actor

HeaderURLHasSuffix applies the HasSuffix predicate on the "header_url" field.

func HeaderURLIn

func HeaderURLIn(vs ...string) predicate.Actor

HeaderURLIn applies the In predicate on the "header_url" field.

func HeaderURLIsNil

func HeaderURLIsNil() predicate.Actor

HeaderURLIsNil applies the IsNil predicate on the "header_url" field.

func HeaderURLLT

func HeaderURLLT(v string) predicate.Actor

HeaderURLLT applies the LT predicate on the "header_url" field.

func HeaderURLLTE

func HeaderURLLTE(v string) predicate.Actor

HeaderURLLTE applies the LTE predicate on the "header_url" field.

func HeaderURLNEQ

func HeaderURLNEQ(v string) predicate.Actor

HeaderURLNEQ applies the NEQ predicate on the "header_url" field.

func HeaderURLNotIn

func HeaderURLNotIn(vs ...string) predicate.Actor

HeaderURLNotIn applies the NotIn predicate on the "header_url" field.

func HeaderURLNotNil

func HeaderURLNotNil() predicate.Actor

HeaderURLNotNil applies the NotNil predicate on the "header_url" field.

func HeaderUpdatedAt

func HeaderUpdatedAt(v time.Time) predicate.Actor

HeaderUpdatedAt applies equality check predicate on the "header_updated_at" field. It's identical to HeaderUpdatedAtEQ.

func HeaderUpdatedAtEQ

func HeaderUpdatedAtEQ(v time.Time) predicate.Actor

HeaderUpdatedAtEQ applies the EQ predicate on the "header_updated_at" field.

func HeaderUpdatedAtGT

func HeaderUpdatedAtGT(v time.Time) predicate.Actor

HeaderUpdatedAtGT applies the GT predicate on the "header_updated_at" field.

func HeaderUpdatedAtGTE

func HeaderUpdatedAtGTE(v time.Time) predicate.Actor

HeaderUpdatedAtGTE applies the GTE predicate on the "header_updated_at" field.

func HeaderUpdatedAtIn

func HeaderUpdatedAtIn(vs ...time.Time) predicate.Actor

HeaderUpdatedAtIn applies the In predicate on the "header_updated_at" field.

func HeaderUpdatedAtIsNil

func HeaderUpdatedAtIsNil() predicate.Actor

HeaderUpdatedAtIsNil applies the IsNil predicate on the "header_updated_at" field.

func HeaderUpdatedAtLT

func HeaderUpdatedAtLT(v time.Time) predicate.Actor

HeaderUpdatedAtLT applies the LT predicate on the "header_updated_at" field.

func HeaderUpdatedAtLTE

func HeaderUpdatedAtLTE(v time.Time) predicate.Actor

HeaderUpdatedAtLTE applies the LTE predicate on the "header_updated_at" field.

func HeaderUpdatedAtNEQ

func HeaderUpdatedAtNEQ(v time.Time) predicate.Actor

HeaderUpdatedAtNEQ applies the NEQ predicate on the "header_updated_at" field.

func HeaderUpdatedAtNotIn

func HeaderUpdatedAtNotIn(vs ...time.Time) predicate.Actor

HeaderUpdatedAtNotIn applies the NotIn predicate on the "header_updated_at" field.

func HeaderUpdatedAtNotNil

func HeaderUpdatedAtNotNil() predicate.Actor

HeaderUpdatedAtNotNil applies the NotNil predicate on the "header_updated_at" field.

func ID

func ID(id uint64) predicate.Actor

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint64) predicate.Actor

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint64) predicate.Actor

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint64) predicate.Actor

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint64) predicate.Actor

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint64) predicate.Actor

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint64) predicate.Actor

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint64) predicate.Actor

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint64) predicate.Actor

IDNotIn applies the NotIn predicate on the ID field.

func InboxURL

func InboxURL(v string) predicate.Actor

InboxURL applies equality check predicate on the "inbox_url" field. It's identical to InboxURLEQ.

func InboxURLContains

func InboxURLContains(v string) predicate.Actor

InboxURLContains applies the Contains predicate on the "inbox_url" field.

func InboxURLContainsFold

func InboxURLContainsFold(v string) predicate.Actor

InboxURLContainsFold applies the ContainsFold predicate on the "inbox_url" field.

func InboxURLEQ

func InboxURLEQ(v string) predicate.Actor

InboxURLEQ applies the EQ predicate on the "inbox_url" field.

func InboxURLEqualFold

func InboxURLEqualFold(v string) predicate.Actor

InboxURLEqualFold applies the EqualFold predicate on the "inbox_url" field.

func InboxURLGT

func InboxURLGT(v string) predicate.Actor

InboxURLGT applies the GT predicate on the "inbox_url" field.

func InboxURLGTE

func InboxURLGTE(v string) predicate.Actor

InboxURLGTE applies the GTE predicate on the "inbox_url" field.

func InboxURLHasPrefix

func InboxURLHasPrefix(v string) predicate.Actor

InboxURLHasPrefix applies the HasPrefix predicate on the "inbox_url" field.

func InboxURLHasSuffix

func InboxURLHasSuffix(v string) predicate.Actor

InboxURLHasSuffix applies the HasSuffix predicate on the "inbox_url" field.

func InboxURLIn

func InboxURLIn(vs ...string) predicate.Actor

InboxURLIn applies the In predicate on the "inbox_url" field.

func InboxURLLT

func InboxURLLT(v string) predicate.Actor

InboxURLLT applies the LT predicate on the "inbox_url" field.

func InboxURLLTE

func InboxURLLTE(v string) predicate.Actor

InboxURLLTE applies the LTE predicate on the "inbox_url" field.

func InboxURLNEQ

func InboxURLNEQ(v string) predicate.Actor

InboxURLNEQ applies the NEQ predicate on the "inbox_url" field.

func InboxURLNotIn

func InboxURLNotIn(vs ...string) predicate.Actor

InboxURLNotIn applies the NotIn predicate on the "inbox_url" field.

func LastWebfingerAt

func LastWebfingerAt(v time.Time) predicate.Actor

LastWebfingerAt applies equality check predicate on the "last_webfinger_at" field. It's identical to LastWebfingerAtEQ.

func LastWebfingerAtEQ

func LastWebfingerAtEQ(v time.Time) predicate.Actor

LastWebfingerAtEQ applies the EQ predicate on the "last_webfinger_at" field.

func LastWebfingerAtGT

func LastWebfingerAtGT(v time.Time) predicate.Actor

LastWebfingerAtGT applies the GT predicate on the "last_webfinger_at" field.

func LastWebfingerAtGTE

func LastWebfingerAtGTE(v time.Time) predicate.Actor

LastWebfingerAtGTE applies the GTE predicate on the "last_webfinger_at" field.

func LastWebfingerAtIn

func LastWebfingerAtIn(vs ...time.Time) predicate.Actor

LastWebfingerAtIn applies the In predicate on the "last_webfinger_at" field.

func LastWebfingerAtIsNil

func LastWebfingerAtIsNil() predicate.Actor

LastWebfingerAtIsNil applies the IsNil predicate on the "last_webfinger_at" field.

func LastWebfingerAtLT

func LastWebfingerAtLT(v time.Time) predicate.Actor

LastWebfingerAtLT applies the LT predicate on the "last_webfinger_at" field.

func LastWebfingerAtLTE

func LastWebfingerAtLTE(v time.Time) predicate.Actor

LastWebfingerAtLTE applies the LTE predicate on the "last_webfinger_at" field.

func LastWebfingerAtNEQ

func LastWebfingerAtNEQ(v time.Time) predicate.Actor

LastWebfingerAtNEQ applies the NEQ predicate on the "last_webfinger_at" field.

func LastWebfingerAtNotIn

func LastWebfingerAtNotIn(vs ...time.Time) predicate.Actor

LastWebfingerAtNotIn applies the NotIn predicate on the "last_webfinger_at" field.

func LastWebfingerAtNotNil

func LastWebfingerAtNotNil() predicate.Actor

LastWebfingerAtNotNil applies the NotNil predicate on the "last_webfinger_at" field.

func LocaleEQ

func LocaleEQ(v Locale) predicate.Actor

LocaleEQ applies the EQ predicate on the "locale" field.

func LocaleIn

func LocaleIn(vs ...Locale) predicate.Actor

LocaleIn applies the In predicate on the "locale" field.

func LocaleNEQ

func LocaleNEQ(v Locale) predicate.Actor

LocaleNEQ applies the NEQ predicate on the "locale" field.

func LocaleNotIn

func LocaleNotIn(vs ...Locale) predicate.Actor

LocaleNotIn applies the NotIn predicate on the "locale" field.

func LocaleValidator

func LocaleValidator(l Locale) error

LocaleValidator is a validator for the "locale" field enum values. It is called by the builders before save.

func Locked

func Locked(v bool) predicate.Actor

Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.

func LockedEQ

func LockedEQ(v bool) predicate.Actor

LockedEQ applies the EQ predicate on the "locked" field.

func LockedNEQ

func LockedNEQ(v bool) predicate.Actor

LockedNEQ applies the NEQ predicate on the "locked" field.

func Memorial

func Memorial(v bool) predicate.Actor

Memorial applies equality check predicate on the "memorial" field. It's identical to MemorialEQ.

func MemorialEQ

func MemorialEQ(v bool) predicate.Actor

MemorialEQ applies the EQ predicate on the "memorial" field.

func MemorialNEQ

func MemorialNEQ(v bool) predicate.Actor

MemorialNEQ applies the NEQ predicate on the "memorial" field.

func MovedToID

func MovedToID(v uint64) predicate.Actor

MovedToID applies equality check predicate on the "moved_to_id" field. It's identical to MovedToIDEQ.

func MovedToIDEQ

func MovedToIDEQ(v uint64) predicate.Actor

MovedToIDEQ applies the EQ predicate on the "moved_to_id" field.

func MovedToIDGT

func MovedToIDGT(v uint64) predicate.Actor

MovedToIDGT applies the GT predicate on the "moved_to_id" field.

func MovedToIDGTE

func MovedToIDGTE(v uint64) predicate.Actor

MovedToIDGTE applies the GTE predicate on the "moved_to_id" field.

func MovedToIDIn

func MovedToIDIn(vs ...uint64) predicate.Actor

MovedToIDIn applies the In predicate on the "moved_to_id" field.

func MovedToIDIsNil

func MovedToIDIsNil() predicate.Actor

MovedToIDIsNil applies the IsNil predicate on the "moved_to_id" field.

func MovedToIDLT

func MovedToIDLT(v uint64) predicate.Actor

MovedToIDLT applies the LT predicate on the "moved_to_id" field.

func MovedToIDLTE

func MovedToIDLTE(v uint64) predicate.Actor

MovedToIDLTE applies the LTE predicate on the "moved_to_id" field.

func MovedToIDNEQ

func MovedToIDNEQ(v uint64) predicate.Actor

MovedToIDNEQ applies the NEQ predicate on the "moved_to_id" field.

func MovedToIDNotIn

func MovedToIDNotIn(vs ...uint64) predicate.Actor

MovedToIDNotIn applies the NotIn predicate on the "moved_to_id" field.

func MovedToIDNotNil

func MovedToIDNotNil() predicate.Actor

MovedToIDNotNil applies the NotNil predicate on the "moved_to_id" field.

func Name

func Name(v string) predicate.Actor

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Actor

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Actor

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Actor

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Actor

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Actor

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Actor

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Actor

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Actor

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Actor

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Actor

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Actor

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Actor

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Actor

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Note

func Note(v string) predicate.Actor

Note applies equality check predicate on the "note" field. It's identical to NoteEQ.

func NoteContains

func NoteContains(v string) predicate.Actor

NoteContains applies the Contains predicate on the "note" field.

func NoteContainsFold

func NoteContainsFold(v string) predicate.Actor

NoteContainsFold applies the ContainsFold predicate on the "note" field.

func NoteEQ

func NoteEQ(v string) predicate.Actor

NoteEQ applies the EQ predicate on the "note" field.

func NoteEqualFold

func NoteEqualFold(v string) predicate.Actor

NoteEqualFold applies the EqualFold predicate on the "note" field.

func NoteGT

func NoteGT(v string) predicate.Actor

NoteGT applies the GT predicate on the "note" field.

func NoteGTE

func NoteGTE(v string) predicate.Actor

NoteGTE applies the GTE predicate on the "note" field.

func NoteHasPrefix

func NoteHasPrefix(v string) predicate.Actor

NoteHasPrefix applies the HasPrefix predicate on the "note" field.

func NoteHasSuffix

func NoteHasSuffix(v string) predicate.Actor

NoteHasSuffix applies the HasSuffix predicate on the "note" field.

func NoteIn

func NoteIn(vs ...string) predicate.Actor

NoteIn applies the In predicate on the "note" field.

func NoteLT

func NoteLT(v string) predicate.Actor

NoteLT applies the LT predicate on the "note" field.

func NoteLTE

func NoteLTE(v string) predicate.Actor

NoteLTE applies the LTE predicate on the "note" field.

func NoteNEQ

func NoteNEQ(v string) predicate.Actor

NoteNEQ applies the NEQ predicate on the "note" field.

func NoteNotIn

func NoteNotIn(vs ...string) predicate.Actor

NoteNotIn applies the NotIn predicate on the "note" field.

func Or

func Or(predicates ...predicate.Actor) predicate.Actor

Or groups predicates with the OR operator between them.

func OutboxURL

func OutboxURL(v string) predicate.Actor

OutboxURL applies equality check predicate on the "outbox_url" field. It's identical to OutboxURLEQ.

func OutboxURLContains

func OutboxURLContains(v string) predicate.Actor

OutboxURLContains applies the Contains predicate on the "outbox_url" field.

func OutboxURLContainsFold

func OutboxURLContainsFold(v string) predicate.Actor

OutboxURLContainsFold applies the ContainsFold predicate on the "outbox_url" field.

func OutboxURLEQ

func OutboxURLEQ(v string) predicate.Actor

OutboxURLEQ applies the EQ predicate on the "outbox_url" field.

func OutboxURLEqualFold

func OutboxURLEqualFold(v string) predicate.Actor

OutboxURLEqualFold applies the EqualFold predicate on the "outbox_url" field.

func OutboxURLGT

func OutboxURLGT(v string) predicate.Actor

OutboxURLGT applies the GT predicate on the "outbox_url" field.

func OutboxURLGTE

func OutboxURLGTE(v string) predicate.Actor

OutboxURLGTE applies the GTE predicate on the "outbox_url" field.

func OutboxURLHasPrefix

func OutboxURLHasPrefix(v string) predicate.Actor

OutboxURLHasPrefix applies the HasPrefix predicate on the "outbox_url" field.

func OutboxURLHasSuffix

func OutboxURLHasSuffix(v string) predicate.Actor

OutboxURLHasSuffix applies the HasSuffix predicate on the "outbox_url" field.

func OutboxURLIn

func OutboxURLIn(vs ...string) predicate.Actor

OutboxURLIn applies the In predicate on the "outbox_url" field.

func OutboxURLLT

func OutboxURLLT(v string) predicate.Actor

OutboxURLLT applies the LT predicate on the "outbox_url" field.

func OutboxURLLTE

func OutboxURLLTE(v string) predicate.Actor

OutboxURLLTE applies the LTE predicate on the "outbox_url" field.

func OutboxURLNEQ

func OutboxURLNEQ(v string) predicate.Actor

OutboxURLNEQ applies the NEQ predicate on the "outbox_url" field.

func OutboxURLNotIn

func OutboxURLNotIn(vs ...string) predicate.Actor

OutboxURLNotIn applies the NotIn predicate on the "outbox_url" field.

func PasswordHash

func PasswordHash(v []byte) predicate.Actor

PasswordHash applies equality check predicate on the "passwordHash" field. It's identical to PasswordHashEQ.

func PasswordHashEQ

func PasswordHashEQ(v []byte) predicate.Actor

PasswordHashEQ applies the EQ predicate on the "passwordHash" field.

func PasswordHashGT

func PasswordHashGT(v []byte) predicate.Actor

PasswordHashGT applies the GT predicate on the "passwordHash" field.

func PasswordHashGTE

func PasswordHashGTE(v []byte) predicate.Actor

PasswordHashGTE applies the GTE predicate on the "passwordHash" field.

func PasswordHashIn

func PasswordHashIn(vs ...[]byte) predicate.Actor

PasswordHashIn applies the In predicate on the "passwordHash" field.

func PasswordHashIsNil

func PasswordHashIsNil() predicate.Actor

PasswordHashIsNil applies the IsNil predicate on the "passwordHash" field.

func PasswordHashLT

func PasswordHashLT(v []byte) predicate.Actor

PasswordHashLT applies the LT predicate on the "passwordHash" field.

func PasswordHashLTE

func PasswordHashLTE(v []byte) predicate.Actor

PasswordHashLTE applies the LTE predicate on the "passwordHash" field.

func PasswordHashNEQ

func PasswordHashNEQ(v []byte) predicate.Actor

PasswordHashNEQ applies the NEQ predicate on the "passwordHash" field.

func PasswordHashNotIn

func PasswordHashNotIn(vs ...[]byte) predicate.Actor

PasswordHashNotIn applies the NotIn predicate on the "passwordHash" field.

func PasswordHashNotNil

func PasswordHashNotNil() predicate.Actor

PasswordHashNotNil applies the NotNil predicate on the "passwordHash" field.

func Privkey

func Privkey(v []byte) predicate.Actor

Privkey applies equality check predicate on the "privkey" field. It's identical to PrivkeyEQ.

func PrivkeyEQ

func PrivkeyEQ(v []byte) predicate.Actor

PrivkeyEQ applies the EQ predicate on the "privkey" field.

func PrivkeyGT

func PrivkeyGT(v []byte) predicate.Actor

PrivkeyGT applies the GT predicate on the "privkey" field.

func PrivkeyGTE

func PrivkeyGTE(v []byte) predicate.Actor

PrivkeyGTE applies the GTE predicate on the "privkey" field.

func PrivkeyIn

func PrivkeyIn(vs ...[]byte) predicate.Actor

PrivkeyIn applies the In predicate on the "privkey" field.

func PrivkeyIsNil

func PrivkeyIsNil() predicate.Actor

PrivkeyIsNil applies the IsNil predicate on the "privkey" field.

func PrivkeyLT

func PrivkeyLT(v []byte) predicate.Actor

PrivkeyLT applies the LT predicate on the "privkey" field.

func PrivkeyLTE

func PrivkeyLTE(v []byte) predicate.Actor

PrivkeyLTE applies the LTE predicate on the "privkey" field.

func PrivkeyNEQ

func PrivkeyNEQ(v []byte) predicate.Actor

PrivkeyNEQ applies the NEQ predicate on the "privkey" field.

func PrivkeyNotIn

func PrivkeyNotIn(vs ...[]byte) predicate.Actor

PrivkeyNotIn applies the NotIn predicate on the "privkey" field.

func PrivkeyNotNil

func PrivkeyNotNil() predicate.Actor

PrivkeyNotNil applies the NotNil predicate on the "privkey" field.

func Pubkey

func Pubkey(v []byte) predicate.Actor

Pubkey applies equality check predicate on the "pubkey" field. It's identical to PubkeyEQ.

func PubkeyEQ

func PubkeyEQ(v []byte) predicate.Actor

PubkeyEQ applies the EQ predicate on the "pubkey" field.

func PubkeyGT

func PubkeyGT(v []byte) predicate.Actor

PubkeyGT applies the GT predicate on the "pubkey" field.

func PubkeyGTE

func PubkeyGTE(v []byte) predicate.Actor

PubkeyGTE applies the GTE predicate on the "pubkey" field.

func PubkeyIn

func PubkeyIn(vs ...[]byte) predicate.Actor

PubkeyIn applies the In predicate on the "pubkey" field.

func PubkeyLT

func PubkeyLT(v []byte) predicate.Actor

PubkeyLT applies the LT predicate on the "pubkey" field.

func PubkeyLTE

func PubkeyLTE(v []byte) predicate.Actor

PubkeyLTE applies the LTE predicate on the "pubkey" field.

func PubkeyNEQ

func PubkeyNEQ(v []byte) predicate.Actor

PubkeyNEQ applies the NEQ predicate on the "pubkey" field.

func PubkeyNotIn

func PubkeyNotIn(vs ...[]byte) predicate.Actor

PubkeyNotIn applies the NotIn predicate on the "pubkey" field.

func RecoveryCode

func RecoveryCode(v string) predicate.Actor

RecoveryCode applies equality check predicate on the "recovery_code" field. It's identical to RecoveryCodeEQ.

func RecoveryCodeContains

func RecoveryCodeContains(v string) predicate.Actor

RecoveryCodeContains applies the Contains predicate on the "recovery_code" field.

func RecoveryCodeContainsFold

func RecoveryCodeContainsFold(v string) predicate.Actor

RecoveryCodeContainsFold applies the ContainsFold predicate on the "recovery_code" field.

func RecoveryCodeEQ

func RecoveryCodeEQ(v string) predicate.Actor

RecoveryCodeEQ applies the EQ predicate on the "recovery_code" field.

func RecoveryCodeEqualFold

func RecoveryCodeEqualFold(v string) predicate.Actor

RecoveryCodeEqualFold applies the EqualFold predicate on the "recovery_code" field.

func RecoveryCodeGT

func RecoveryCodeGT(v string) predicate.Actor

RecoveryCodeGT applies the GT predicate on the "recovery_code" field.

func RecoveryCodeGTE

func RecoveryCodeGTE(v string) predicate.Actor

RecoveryCodeGTE applies the GTE predicate on the "recovery_code" field.

func RecoveryCodeHasPrefix

func RecoveryCodeHasPrefix(v string) predicate.Actor

RecoveryCodeHasPrefix applies the HasPrefix predicate on the "recovery_code" field.

func RecoveryCodeHasSuffix

func RecoveryCodeHasSuffix(v string) predicate.Actor

RecoveryCodeHasSuffix applies the HasSuffix predicate on the "recovery_code" field.

func RecoveryCodeIn

func RecoveryCodeIn(vs ...string) predicate.Actor

RecoveryCodeIn applies the In predicate on the "recovery_code" field.

func RecoveryCodeIsNil

func RecoveryCodeIsNil() predicate.Actor

RecoveryCodeIsNil applies the IsNil predicate on the "recovery_code" field.

func RecoveryCodeLT

func RecoveryCodeLT(v string) predicate.Actor

RecoveryCodeLT applies the LT predicate on the "recovery_code" field.

func RecoveryCodeLTE

func RecoveryCodeLTE(v string) predicate.Actor

RecoveryCodeLTE applies the LTE predicate on the "recovery_code" field.

func RecoveryCodeNEQ

func RecoveryCodeNEQ(v string) predicate.Actor

RecoveryCodeNEQ applies the NEQ predicate on the "recovery_code" field.

func RecoveryCodeNotIn

func RecoveryCodeNotIn(vs ...string) predicate.Actor

RecoveryCodeNotIn applies the NotIn predicate on the "recovery_code" field.

func RecoveryCodeNotNil

func RecoveryCodeNotNil() predicate.Actor

RecoveryCodeNotNil applies the NotNil predicate on the "recovery_code" field.

func Role

func Role(v uint64) predicate.Actor

Role applies equality check predicate on the "role" field. It's identical to RoleEQ.

func RoleEQ

func RoleEQ(v uint64) predicate.Actor

RoleEQ applies the EQ predicate on the "role" field.

func RoleGT

func RoleGT(v uint64) predicate.Actor

RoleGT applies the GT predicate on the "role" field.

func RoleGTE

func RoleGTE(v uint64) predicate.Actor

RoleGTE applies the GTE predicate on the "role" field.

func RoleIn

func RoleIn(vs ...uint64) predicate.Actor

RoleIn applies the In predicate on the "role" field.

func RoleIsNil

func RoleIsNil() predicate.Actor

RoleIsNil applies the IsNil predicate on the "role" field.

func RoleLT

func RoleLT(v uint64) predicate.Actor

RoleLT applies the LT predicate on the "role" field.

func RoleLTE

func RoleLTE(v uint64) predicate.Actor

RoleLTE applies the LTE predicate on the "role" field.

func RoleNEQ

func RoleNEQ(v uint64) predicate.Actor

RoleNEQ applies the NEQ predicate on the "role" field.

func RoleNotIn

func RoleNotIn(vs ...uint64) predicate.Actor

RoleNotIn applies the NotIn predicate on the "role" field.

func RoleNotNil

func RoleNotNil() predicate.Actor

RoleNotNil applies the NotNil predicate on the "role" field.

func SharedInboxURL

func SharedInboxURL(v string) predicate.Actor

SharedInboxURL applies equality check predicate on the "shared_inbox_url" field. It's identical to SharedInboxURLEQ.

func SharedInboxURLContains

func SharedInboxURLContains(v string) predicate.Actor

SharedInboxURLContains applies the Contains predicate on the "shared_inbox_url" field.

func SharedInboxURLContainsFold

func SharedInboxURLContainsFold(v string) predicate.Actor

SharedInboxURLContainsFold applies the ContainsFold predicate on the "shared_inbox_url" field.

func SharedInboxURLEQ

func SharedInboxURLEQ(v string) predicate.Actor

SharedInboxURLEQ applies the EQ predicate on the "shared_inbox_url" field.

func SharedInboxURLEqualFold

func SharedInboxURLEqualFold(v string) predicate.Actor

SharedInboxURLEqualFold applies the EqualFold predicate on the "shared_inbox_url" field.

func SharedInboxURLGT

func SharedInboxURLGT(v string) predicate.Actor

SharedInboxURLGT applies the GT predicate on the "shared_inbox_url" field.

func SharedInboxURLGTE

func SharedInboxURLGTE(v string) predicate.Actor

SharedInboxURLGTE applies the GTE predicate on the "shared_inbox_url" field.

func SharedInboxURLHasPrefix

func SharedInboxURLHasPrefix(v string) predicate.Actor

SharedInboxURLHasPrefix applies the HasPrefix predicate on the "shared_inbox_url" field.

func SharedInboxURLHasSuffix

func SharedInboxURLHasSuffix(v string) predicate.Actor

SharedInboxURLHasSuffix applies the HasSuffix predicate on the "shared_inbox_url" field.

func SharedInboxURLIn

func SharedInboxURLIn(vs ...string) predicate.Actor

SharedInboxURLIn applies the In predicate on the "shared_inbox_url" field.

func SharedInboxURLLT

func SharedInboxURLLT(v string) predicate.Actor

SharedInboxURLLT applies the LT predicate on the "shared_inbox_url" field.

func SharedInboxURLLTE

func SharedInboxURLLTE(v string) predicate.Actor

SharedInboxURLLTE applies the LTE predicate on the "shared_inbox_url" field.

func SharedInboxURLNEQ

func SharedInboxURLNEQ(v string) predicate.Actor

SharedInboxURLNEQ applies the NEQ predicate on the "shared_inbox_url" field.

func SharedInboxURLNotIn

func SharedInboxURLNotIn(vs ...string) predicate.Actor

SharedInboxURLNotIn applies the NotIn predicate on the "shared_inbox_url" field.

func SilencedAt

func SilencedAt(v time.Time) predicate.Actor

SilencedAt applies equality check predicate on the "silenced_at" field. It's identical to SilencedAtEQ.

func SilencedAtEQ

func SilencedAtEQ(v time.Time) predicate.Actor

SilencedAtEQ applies the EQ predicate on the "silenced_at" field.

func SilencedAtGT

func SilencedAtGT(v time.Time) predicate.Actor

SilencedAtGT applies the GT predicate on the "silenced_at" field.

func SilencedAtGTE

func SilencedAtGTE(v time.Time) predicate.Actor

SilencedAtGTE applies the GTE predicate on the "silenced_at" field.

func SilencedAtIn

func SilencedAtIn(vs ...time.Time) predicate.Actor

SilencedAtIn applies the In predicate on the "silenced_at" field.

func SilencedAtIsNil

func SilencedAtIsNil() predicate.Actor

SilencedAtIsNil applies the IsNil predicate on the "silenced_at" field.

func SilencedAtLT

func SilencedAtLT(v time.Time) predicate.Actor

SilencedAtLT applies the LT predicate on the "silenced_at" field.

func SilencedAtLTE

func SilencedAtLTE(v time.Time) predicate.Actor

SilencedAtLTE applies the LTE predicate on the "silenced_at" field.

func SilencedAtNEQ

func SilencedAtNEQ(v time.Time) predicate.Actor

SilencedAtNEQ applies the NEQ predicate on the "silenced_at" field.

func SilencedAtNotIn

func SilencedAtNotIn(vs ...time.Time) predicate.Actor

SilencedAtNotIn applies the NotIn predicate on the "silenced_at" field.

func SilencedAtNotNil

func SilencedAtNotNil() predicate.Actor

SilencedAtNotNil applies the NotNil predicate on the "silenced_at" field.

func SuspendedAt

func SuspendedAt(v time.Time) predicate.Actor

SuspendedAt applies equality check predicate on the "suspended_at" field. It's identical to SuspendedAtEQ.

func SuspendedAtEQ

func SuspendedAtEQ(v time.Time) predicate.Actor

SuspendedAtEQ applies the EQ predicate on the "suspended_at" field.

func SuspendedAtGT

func SuspendedAtGT(v time.Time) predicate.Actor

SuspendedAtGT applies the GT predicate on the "suspended_at" field.

func SuspendedAtGTE

func SuspendedAtGTE(v time.Time) predicate.Actor

SuspendedAtGTE applies the GTE predicate on the "suspended_at" field.

func SuspendedAtIn

func SuspendedAtIn(vs ...time.Time) predicate.Actor

SuspendedAtIn applies the In predicate on the "suspended_at" field.

func SuspendedAtIsNil

func SuspendedAtIsNil() predicate.Actor

SuspendedAtIsNil applies the IsNil predicate on the "suspended_at" field.

func SuspendedAtLT

func SuspendedAtLT(v time.Time) predicate.Actor

SuspendedAtLT applies the LT predicate on the "suspended_at" field.

func SuspendedAtLTE

func SuspendedAtLTE(v time.Time) predicate.Actor

SuspendedAtLTE applies the LTE predicate on the "suspended_at" field.

func SuspendedAtNEQ

func SuspendedAtNEQ(v time.Time) predicate.Actor

SuspendedAtNEQ applies the NEQ predicate on the "suspended_at" field.

func SuspendedAtNotIn

func SuspendedAtNotIn(vs ...time.Time) predicate.Actor

SuspendedAtNotIn applies the NotIn predicate on the "suspended_at" field.

func SuspendedAtNotNil

func SuspendedAtNotNil() predicate.Actor

SuspendedAtNotNil applies the NotNil predicate on the "suspended_at" field.

func TypeEQ

func TypeEQ(v Type) predicate.Actor

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.Actor

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.Actor

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.Actor

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func URL

func URL(v string) predicate.Actor

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Actor

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Actor

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Actor

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Actor

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Actor

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Actor

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Actor

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Actor

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Actor

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Actor

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Actor

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Actor

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Actor

URLNotIn applies the NotIn predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Actor

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Actor

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Actor

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Actor

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Actor

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Actor

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Actor

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Actor

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Actor

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int) predicate.Actor

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.Actor

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int) predicate.Actor

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.Actor

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.Actor

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Actor

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int) predicate.Actor

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.Actor

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.Actor

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.Actor

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Actor

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type Locale

type Locale string

Locale defines the type for the "locale" enum field.

const (
	LocaleEnUS Locale = "en-US"
)

Locale values.

func (Locale) String

func (l Locale) String() string

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeLocalUser   Type = "local_user"
	TypeLocalBot    Type = "local_bot"
	TypeLocalGroup  Type = "local_group"
	TypeLocalEvent  Type = "local_event"
	TypeRemoteUser  Type = "remote_user"
	TypeRemoteBot   Type = "remote_bot"
	TypeRemoteGroup Type = "remote_group"
	TypeRemoteEvent Type = "remote_event"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

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