Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IdeaUser) predicate.IdeaUser
- func CreatedAt(v time.Time) predicate.IdeaUser
- func CreatedAtEQ(v time.Time) predicate.IdeaUser
- func CreatedAtGT(v time.Time) predicate.IdeaUser
- func CreatedAtGTE(v time.Time) predicate.IdeaUser
- func CreatedAtIn(vs ...time.Time) predicate.IdeaUser
- func CreatedAtIsNil() predicate.IdeaUser
- func CreatedAtLT(v time.Time) predicate.IdeaUser
- func CreatedAtLTE(v time.Time) predicate.IdeaUser
- func CreatedAtNEQ(v time.Time) predicate.IdeaUser
- func CreatedAtNotIn(vs ...time.Time) predicate.IdeaUser
- func CreatedAtNotNil() predicate.IdeaUser
- func Email(v string) predicate.IdeaUser
- func EmailContains(v string) predicate.IdeaUser
- func EmailContainsFold(v string) predicate.IdeaUser
- func EmailEQ(v string) predicate.IdeaUser
- func EmailEqualFold(v string) predicate.IdeaUser
- func EmailGT(v string) predicate.IdeaUser
- func EmailGTE(v string) predicate.IdeaUser
- func EmailHasPrefix(v string) predicate.IdeaUser
- func EmailHasSuffix(v string) predicate.IdeaUser
- func EmailIn(vs ...string) predicate.IdeaUser
- func EmailIsNil() predicate.IdeaUser
- func EmailLT(v string) predicate.IdeaUser
- func EmailLTE(v string) predicate.IdeaUser
- func EmailNEQ(v string) predicate.IdeaUser
- func EmailNotIn(vs ...string) predicate.IdeaUser
- func EmailNotNil() predicate.IdeaUser
- func ID(id string) predicate.IdeaUser
- func IDContainsFold(id string) predicate.IdeaUser
- func IDEQ(id string) predicate.IdeaUser
- func IDEqualFold(id string) predicate.IdeaUser
- func IDGT(id string) predicate.IdeaUser
- func IDGTE(id string) predicate.IdeaUser
- func IDIn(ids ...string) predicate.IdeaUser
- func IDLT(id string) predicate.IdeaUser
- func IDLTE(id string) predicate.IdeaUser
- func IDNEQ(id string) predicate.IdeaUser
- func IDNotIn(ids ...string) predicate.IdeaUser
- func IdeaOrganizationsIsNil() predicate.IdeaUser
- func IdeaOrganizationsNotNil() predicate.IdeaUser
- func Name(v string) predicate.IdeaUser
- func NameContains(v string) predicate.IdeaUser
- func NameContainsFold(v string) predicate.IdeaUser
- func NameEQ(v string) predicate.IdeaUser
- func NameEqualFold(v string) predicate.IdeaUser
- func NameGT(v string) predicate.IdeaUser
- func NameGTE(v string) predicate.IdeaUser
- func NameHasPrefix(v string) predicate.IdeaUser
- func NameHasSuffix(v string) predicate.IdeaUser
- func NameIn(vs ...string) predicate.IdeaUser
- func NameIsNil() predicate.IdeaUser
- func NameLT(v string) predicate.IdeaUser
- func NameLTE(v string) predicate.IdeaUser
- func NameNEQ(v string) predicate.IdeaUser
- func NameNotIn(vs ...string) predicate.IdeaUser
- func NameNotNil() predicate.IdeaUser
- func Not(p predicate.IdeaUser) predicate.IdeaUser
- func Or(predicates ...predicate.IdeaUser) predicate.IdeaUser
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldName, FieldEmail, FieldCreatedAt, FieldIdeaOrganizations, }
Columns holds all SQL columns for ideauser fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IdeaOrganizationsIsNil ¶
IdeaOrganizationsIsNil applies the IsNil predicate on the "idea_organizations" field.
func IdeaOrganizationsNotNil ¶
IdeaOrganizationsNotNil applies the NotNil predicate on the "idea_organizations" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.