biography

package
v0.0.0-...-3da28a4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the biography type in the database.
	Label = "biography"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldIsPublic holds the string denoting the is_public field in the database.
	FieldIsPublic = "is_public"
	// FieldLocationID holds the string denoting the location_id field in the database.
	FieldLocationID = "location_id"
	// FieldPosition holds the string denoting the position field in the database.
	FieldPosition = "position"
	// FieldPositionJa holds the string denoting the position_ja field in the database.
	FieldPositionJa = "position_ja"
	// FieldJoin holds the string denoting the join field in the database.
	FieldJoin = "join"
	// FieldLeave holds the string denoting the leave field in the database.
	FieldLeave = "leave"
	// FieldCreated holds the string denoting the created field in the database.
	FieldCreated = "created"
	// FieldModified holds the string denoting the modified field in the database.
	FieldModified = "modified"
	// Table holds the table name of the biography in the database.
	Table = "biographies"
)

Variables

View Source
var (
	// DefaultIsPublic holds the default value on creation for the "is_public" field.
	DefaultIsPublic bool
	// DefaultCreated holds the default value on creation for the "created" field.
	DefaultCreated func() time.Time
	// DefaultModified holds the default value on creation for the "modified" field.
	DefaultModified func() time.Time
	// UpdateDefaultModified holds the default value on update for the "modified" field.
	UpdateDefaultModified func() time.Time
)

Columns holds all SQL columns for biography fields.

Functions

func And

func And(predicates ...predicate.Biography) predicate.Biography

And groups predicates with the AND operator between them.

func Created

func Created(v time.Time) predicate.Biography

Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.

func CreatedEQ

func CreatedEQ(v time.Time) predicate.Biography

CreatedEQ applies the EQ predicate on the "created" field.

func CreatedGT

func CreatedGT(v time.Time) predicate.Biography

CreatedGT applies the GT predicate on the "created" field.

func CreatedGTE

func CreatedGTE(v time.Time) predicate.Biography

CreatedGTE applies the GTE predicate on the "created" field.

func CreatedIn

func CreatedIn(vs ...time.Time) predicate.Biography

CreatedIn applies the In predicate on the "created" field.

func CreatedLT

func CreatedLT(v time.Time) predicate.Biography

CreatedLT applies the LT predicate on the "created" field.

func CreatedLTE

func CreatedLTE(v time.Time) predicate.Biography

CreatedLTE applies the LTE predicate on the "created" field.

func CreatedNEQ

func CreatedNEQ(v time.Time) predicate.Biography

CreatedNEQ applies the NEQ predicate on the "created" field.

func CreatedNotIn

func CreatedNotIn(vs ...time.Time) predicate.Biography

CreatedNotIn applies the NotIn predicate on the "created" field.

func ID

func ID(id uint32) predicate.Biography

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint32) predicate.Biography

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint32) predicate.Biography

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint32) predicate.Biography

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint32) predicate.Biography

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint32) predicate.Biography

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint32) predicate.Biography

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint32) predicate.Biography

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint32) predicate.Biography

IDNotIn applies the NotIn predicate on the ID field.

func IsPublic

func IsPublic(v bool) predicate.Biography

IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.

func IsPublicEQ

func IsPublicEQ(v bool) predicate.Biography

IsPublicEQ applies the EQ predicate on the "is_public" field.

func IsPublicNEQ

func IsPublicNEQ(v bool) predicate.Biography

IsPublicNEQ applies the NEQ predicate on the "is_public" field.

func Join

func Join(v time.Time) predicate.Biography

Join applies equality check predicate on the "join" field. It's identical to JoinEQ.

func JoinEQ

func JoinEQ(v time.Time) predicate.Biography

JoinEQ applies the EQ predicate on the "join" field.

func JoinGT

func JoinGT(v time.Time) predicate.Biography

JoinGT applies the GT predicate on the "join" field.

func JoinGTE

func JoinGTE(v time.Time) predicate.Biography

JoinGTE applies the GTE predicate on the "join" field.

func JoinIn

func JoinIn(vs ...time.Time) predicate.Biography

JoinIn applies the In predicate on the "join" field.

func JoinLT

func JoinLT(v time.Time) predicate.Biography

JoinLT applies the LT predicate on the "join" field.

func JoinLTE

func JoinLTE(v time.Time) predicate.Biography

JoinLTE applies the LTE predicate on the "join" field.

func JoinNEQ

func JoinNEQ(v time.Time) predicate.Biography

JoinNEQ applies the NEQ predicate on the "join" field.

func JoinNotIn

func JoinNotIn(vs ...time.Time) predicate.Biography

JoinNotIn applies the NotIn predicate on the "join" field.

func Leave

func Leave(v time.Time) predicate.Biography

Leave applies equality check predicate on the "leave" field. It's identical to LeaveEQ.

func LeaveEQ

func LeaveEQ(v time.Time) predicate.Biography

LeaveEQ applies the EQ predicate on the "leave" field.

func LeaveGT

func LeaveGT(v time.Time) predicate.Biography

LeaveGT applies the GT predicate on the "leave" field.

func LeaveGTE

func LeaveGTE(v time.Time) predicate.Biography

LeaveGTE applies the GTE predicate on the "leave" field.

func LeaveIn

func LeaveIn(vs ...time.Time) predicate.Biography

LeaveIn applies the In predicate on the "leave" field.

func LeaveIsNil

func LeaveIsNil() predicate.Biography

LeaveIsNil applies the IsNil predicate on the "leave" field.

func LeaveLT

func LeaveLT(v time.Time) predicate.Biography

LeaveLT applies the LT predicate on the "leave" field.

func LeaveLTE

func LeaveLTE(v time.Time) predicate.Biography

LeaveLTE applies the LTE predicate on the "leave" field.

func LeaveNEQ

func LeaveNEQ(v time.Time) predicate.Biography

LeaveNEQ applies the NEQ predicate on the "leave" field.

func LeaveNotIn

func LeaveNotIn(vs ...time.Time) predicate.Biography

LeaveNotIn applies the NotIn predicate on the "leave" field.

func LeaveNotNil

func LeaveNotNil() predicate.Biography

LeaveNotNil applies the NotNil predicate on the "leave" field.

func LocationID

func LocationID(v uint32) predicate.Biography

LocationID applies equality check predicate on the "location_id" field. It's identical to LocationIDEQ.

func LocationIDEQ

func LocationIDEQ(v uint32) predicate.Biography

LocationIDEQ applies the EQ predicate on the "location_id" field.

func LocationIDGT

func LocationIDGT(v uint32) predicate.Biography

LocationIDGT applies the GT predicate on the "location_id" field.

func LocationIDGTE

func LocationIDGTE(v uint32) predicate.Biography

LocationIDGTE applies the GTE predicate on the "location_id" field.

func LocationIDIn

func LocationIDIn(vs ...uint32) predicate.Biography

LocationIDIn applies the In predicate on the "location_id" field.

func LocationIDLT

func LocationIDLT(v uint32) predicate.Biography

LocationIDLT applies the LT predicate on the "location_id" field.

func LocationIDLTE

func LocationIDLTE(v uint32) predicate.Biography

LocationIDLTE applies the LTE predicate on the "location_id" field.

func LocationIDNEQ

func LocationIDNEQ(v uint32) predicate.Biography

LocationIDNEQ applies the NEQ predicate on the "location_id" field.

func LocationIDNotIn

func LocationIDNotIn(vs ...uint32) predicate.Biography

LocationIDNotIn applies the NotIn predicate on the "location_id" field.

func Modified

func Modified(v time.Time) predicate.Biography

Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.

func ModifiedEQ

func ModifiedEQ(v time.Time) predicate.Biography

ModifiedEQ applies the EQ predicate on the "modified" field.

func ModifiedGT

func ModifiedGT(v time.Time) predicate.Biography

ModifiedGT applies the GT predicate on the "modified" field.

func ModifiedGTE

func ModifiedGTE(v time.Time) predicate.Biography

ModifiedGTE applies the GTE predicate on the "modified" field.

func ModifiedIn

func ModifiedIn(vs ...time.Time) predicate.Biography

ModifiedIn applies the In predicate on the "modified" field.

func ModifiedLT

func ModifiedLT(v time.Time) predicate.Biography

ModifiedLT applies the LT predicate on the "modified" field.

func ModifiedLTE

func ModifiedLTE(v time.Time) predicate.Biography

ModifiedLTE applies the LTE predicate on the "modified" field.

func ModifiedNEQ

func ModifiedNEQ(v time.Time) predicate.Biography

ModifiedNEQ applies the NEQ predicate on the "modified" field.

func ModifiedNotIn

func ModifiedNotIn(vs ...time.Time) predicate.Biography

ModifiedNotIn applies the NotIn predicate on the "modified" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Biography) predicate.Biography

Or groups predicates with the OR operator between them.

func Position

func Position(v string) predicate.Biography

Position applies equality check predicate on the "position" field. It's identical to PositionEQ.

func PositionContains

func PositionContains(v string) predicate.Biography

PositionContains applies the Contains predicate on the "position" field.

func PositionContainsFold

func PositionContainsFold(v string) predicate.Biography

PositionContainsFold applies the ContainsFold predicate on the "position" field.

func PositionEQ

func PositionEQ(v string) predicate.Biography

PositionEQ applies the EQ predicate on the "position" field.

func PositionEqualFold

func PositionEqualFold(v string) predicate.Biography

PositionEqualFold applies the EqualFold predicate on the "position" field.

func PositionGT

func PositionGT(v string) predicate.Biography

PositionGT applies the GT predicate on the "position" field.

func PositionGTE

func PositionGTE(v string) predicate.Biography

PositionGTE applies the GTE predicate on the "position" field.

func PositionHasPrefix

func PositionHasPrefix(v string) predicate.Biography

PositionHasPrefix applies the HasPrefix predicate on the "position" field.

func PositionHasSuffix

func PositionHasSuffix(v string) predicate.Biography

PositionHasSuffix applies the HasSuffix predicate on the "position" field.

func PositionIn

func PositionIn(vs ...string) predicate.Biography

PositionIn applies the In predicate on the "position" field.

func PositionJa

func PositionJa(v string) predicate.Biography

PositionJa applies equality check predicate on the "position_ja" field. It's identical to PositionJaEQ.

func PositionJaContains

func PositionJaContains(v string) predicate.Biography

PositionJaContains applies the Contains predicate on the "position_ja" field.

func PositionJaContainsFold

func PositionJaContainsFold(v string) predicate.Biography

PositionJaContainsFold applies the ContainsFold predicate on the "position_ja" field.

func PositionJaEQ

func PositionJaEQ(v string) predicate.Biography

PositionJaEQ applies the EQ predicate on the "position_ja" field.

func PositionJaEqualFold

func PositionJaEqualFold(v string) predicate.Biography

PositionJaEqualFold applies the EqualFold predicate on the "position_ja" field.

func PositionJaGT

func PositionJaGT(v string) predicate.Biography

PositionJaGT applies the GT predicate on the "position_ja" field.

func PositionJaGTE

func PositionJaGTE(v string) predicate.Biography

PositionJaGTE applies the GTE predicate on the "position_ja" field.

func PositionJaHasPrefix

func PositionJaHasPrefix(v string) predicate.Biography

PositionJaHasPrefix applies the HasPrefix predicate on the "position_ja" field.

func PositionJaHasSuffix

func PositionJaHasSuffix(v string) predicate.Biography

PositionJaHasSuffix applies the HasSuffix predicate on the "position_ja" field.

func PositionJaIn

func PositionJaIn(vs ...string) predicate.Biography

PositionJaIn applies the In predicate on the "position_ja" field.

func PositionJaLT

func PositionJaLT(v string) predicate.Biography

PositionJaLT applies the LT predicate on the "position_ja" field.

func PositionJaLTE

func PositionJaLTE(v string) predicate.Biography

PositionJaLTE applies the LTE predicate on the "position_ja" field.

func PositionJaNEQ

func PositionJaNEQ(v string) predicate.Biography

PositionJaNEQ applies the NEQ predicate on the "position_ja" field.

func PositionJaNotIn

func PositionJaNotIn(vs ...string) predicate.Biography

PositionJaNotIn applies the NotIn predicate on the "position_ja" field.

func PositionLT

func PositionLT(v string) predicate.Biography

PositionLT applies the LT predicate on the "position" field.

func PositionLTE

func PositionLTE(v string) predicate.Biography

PositionLTE applies the LTE predicate on the "position" field.

func PositionNEQ

func PositionNEQ(v string) predicate.Biography

PositionNEQ applies the NEQ predicate on the "position" field.

func PositionNotIn

func PositionNotIn(vs ...string) predicate.Biography

PositionNotIn applies the NotIn predicate on the "position" field.

func UserID

func UserID(v uint32) predicate.Biography

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uint32) predicate.Biography

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v uint32) predicate.Biography

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v uint32) predicate.Biography

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uint32) predicate.Biography

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v uint32) predicate.Biography

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v uint32) predicate.Biography

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uint32) predicate.Biography

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uint32) predicate.Biography

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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