ideauser

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the ideauser type in the database.
	Label = "idea_user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldIdeaOrganizations holds the string denoting the idea_organizations field in the database.
	FieldIdeaOrganizations = "idea_organizations"
	// Table holds the table name of the ideauser in the database.
	Table = "idea_users"
)

Variables

Columns holds all SQL columns for ideauser fields.

Functions

func And

func And(predicates ...predicate.IdeaUser) predicate.IdeaUser

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.IdeaUser

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.IdeaUser

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.IdeaUser

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.IdeaUser

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.IdeaUser

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.IdeaUser

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.IdeaUser

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.IdeaUser

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.IdeaUser

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func Email

func Email(v string) predicate.IdeaUser

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.IdeaUser

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.IdeaUser

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.IdeaUser

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.IdeaUser

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.IdeaUser

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.IdeaUser

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.IdeaUser

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.IdeaUser

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.IdeaUser

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.IdeaUser

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.IdeaUser

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.IdeaUser

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.IdeaUser

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.IdeaUser

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.IdeaUser

EmailNotNil applies the NotNil predicate on the "email" field.

func ID

func ID(id string) predicate.IdeaUser

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.IdeaUser

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.IdeaUser

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.IdeaUser

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.IdeaUser

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.IdeaUser

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.IdeaUser

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.IdeaUser

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.IdeaUser

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.IdeaUser

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.IdeaUser

IDNotIn applies the NotIn predicate on the ID field.

func IdeaOrganizationsIsNil

func IdeaOrganizationsIsNil() predicate.IdeaUser

IdeaOrganizationsIsNil applies the IsNil predicate on the "idea_organizations" field.

func IdeaOrganizationsNotNil

func IdeaOrganizationsNotNil() predicate.IdeaUser

IdeaOrganizationsNotNil applies the NotNil predicate on the "idea_organizations" field.

func Name

func Name(v string) predicate.IdeaUser

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

func NameContains

func NameContains(v string) predicate.IdeaUser

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

func NameContainsFold

func NameContainsFold(v string) predicate.IdeaUser

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

func NameEQ

func NameEQ(v string) predicate.IdeaUser

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

func NameEqualFold

func NameEqualFold(v string) predicate.IdeaUser

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

func NameGT

func NameGT(v string) predicate.IdeaUser

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

func NameGTE

func NameGTE(v string) predicate.IdeaUser

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.IdeaUser

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.IdeaUser

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.IdeaUser

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.IdeaUser

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

func NameLTE

func NameLTE(v string) predicate.IdeaUser

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

func NameNEQ

func NameNEQ(v string) predicate.IdeaUser

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.IdeaUser

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.IdeaUser) predicate.IdeaUser

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the IdeaUser queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByEmail

func ByEmail(opts ...sql.OrderTermOption) OrderOption

ByEmail orders the results by the email field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

Jump to

Keyboard shortcuts

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