Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Biography) predicate.Biography
- func Created(v time.Time) predicate.Biography
- func CreatedEQ(v time.Time) predicate.Biography
- func CreatedGT(v time.Time) predicate.Biography
- func CreatedGTE(v time.Time) predicate.Biography
- func CreatedIn(vs ...time.Time) predicate.Biography
- func CreatedLT(v time.Time) predicate.Biography
- func CreatedLTE(v time.Time) predicate.Biography
- func CreatedNEQ(v time.Time) predicate.Biography
- func CreatedNotIn(vs ...time.Time) predicate.Biography
- func ID(id uint32) predicate.Biography
- func IDEQ(id uint32) predicate.Biography
- func IDGT(id uint32) predicate.Biography
- func IDGTE(id uint32) predicate.Biography
- func IDIn(ids ...uint32) predicate.Biography
- func IDLT(id uint32) predicate.Biography
- func IDLTE(id uint32) predicate.Biography
- func IDNEQ(id uint32) predicate.Biography
- func IDNotIn(ids ...uint32) predicate.Biography
- func IsPublic(v bool) predicate.Biography
- func IsPublicEQ(v bool) predicate.Biography
- func IsPublicNEQ(v bool) predicate.Biography
- func Join(v time.Time) predicate.Biography
- func JoinEQ(v time.Time) predicate.Biography
- func JoinGT(v time.Time) predicate.Biography
- func JoinGTE(v time.Time) predicate.Biography
- func JoinIn(vs ...time.Time) predicate.Biography
- func JoinLT(v time.Time) predicate.Biography
- func JoinLTE(v time.Time) predicate.Biography
- func JoinNEQ(v time.Time) predicate.Biography
- func JoinNotIn(vs ...time.Time) predicate.Biography
- func Leave(v time.Time) predicate.Biography
- func LeaveEQ(v time.Time) predicate.Biography
- func LeaveGT(v time.Time) predicate.Biography
- func LeaveGTE(v time.Time) predicate.Biography
- func LeaveIn(vs ...time.Time) predicate.Biography
- func LeaveIsNil() predicate.Biography
- func LeaveLT(v time.Time) predicate.Biography
- func LeaveLTE(v time.Time) predicate.Biography
- func LeaveNEQ(v time.Time) predicate.Biography
- func LeaveNotIn(vs ...time.Time) predicate.Biography
- func LeaveNotNil() predicate.Biography
- func LocationID(v uint32) predicate.Biography
- func LocationIDEQ(v uint32) predicate.Biography
- func LocationIDGT(v uint32) predicate.Biography
- func LocationIDGTE(v uint32) predicate.Biography
- func LocationIDIn(vs ...uint32) predicate.Biography
- func LocationIDLT(v uint32) predicate.Biography
- func LocationIDLTE(v uint32) predicate.Biography
- func LocationIDNEQ(v uint32) predicate.Biography
- func LocationIDNotIn(vs ...uint32) predicate.Biography
- func Modified(v time.Time) predicate.Biography
- func ModifiedEQ(v time.Time) predicate.Biography
- func ModifiedGT(v time.Time) predicate.Biography
- func ModifiedGTE(v time.Time) predicate.Biography
- func ModifiedIn(vs ...time.Time) predicate.Biography
- func ModifiedLT(v time.Time) predicate.Biography
- func ModifiedLTE(v time.Time) predicate.Biography
- func ModifiedNEQ(v time.Time) predicate.Biography
- func ModifiedNotIn(vs ...time.Time) predicate.Biography
- func Not(p predicate.Biography) predicate.Biography
- func Or(predicates ...predicate.Biography) predicate.Biography
- func Position(v string) predicate.Biography
- func PositionContains(v string) predicate.Biography
- func PositionContainsFold(v string) predicate.Biography
- func PositionEQ(v string) predicate.Biography
- func PositionEqualFold(v string) predicate.Biography
- func PositionGT(v string) predicate.Biography
- func PositionGTE(v string) predicate.Biography
- func PositionHasPrefix(v string) predicate.Biography
- func PositionHasSuffix(v string) predicate.Biography
- func PositionIn(vs ...string) predicate.Biography
- func PositionJa(v string) predicate.Biography
- func PositionJaContains(v string) predicate.Biography
- func PositionJaContainsFold(v string) predicate.Biography
- func PositionJaEQ(v string) predicate.Biography
- func PositionJaEqualFold(v string) predicate.Biography
- func PositionJaGT(v string) predicate.Biography
- func PositionJaGTE(v string) predicate.Biography
- func PositionJaHasPrefix(v string) predicate.Biography
- func PositionJaHasSuffix(v string) predicate.Biography
- func PositionJaIn(vs ...string) predicate.Biography
- func PositionJaLT(v string) predicate.Biography
- func PositionJaLTE(v string) predicate.Biography
- func PositionJaNEQ(v string) predicate.Biography
- func PositionJaNotIn(vs ...string) predicate.Biography
- func PositionLT(v string) predicate.Biography
- func PositionLTE(v string) predicate.Biography
- func PositionNEQ(v string) predicate.Biography
- func PositionNotIn(vs ...string) predicate.Biography
- func UserID(v uint32) predicate.Biography
- func UserIDEQ(v uint32) predicate.Biography
- func UserIDGT(v uint32) predicate.Biography
- func UserIDGTE(v uint32) predicate.Biography
- func UserIDIn(vs ...uint32) predicate.Biography
- func UserIDLT(v uint32) predicate.Biography
- func UserIDLTE(v uint32) predicate.Biography
- func UserIDNEQ(v uint32) predicate.Biography
- func UserIDNotIn(vs ...uint32) predicate.Biography
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldUserID, FieldIsPublic, FieldLocationID, FieldPosition, FieldPositionJa, FieldJoin, FieldLeave, FieldCreated, FieldModified, }
Columns holds all SQL columns for biography fields.
Functions ¶
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func IsPublic ¶
IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.
func IsPublicEQ ¶
IsPublicEQ applies the EQ predicate on the "is_public" field.
func IsPublicNEQ ¶
IsPublicNEQ applies the NEQ predicate on the "is_public" field.
func Leave ¶
Leave applies equality check predicate on the "leave" field. It's identical to LeaveEQ.
func LeaveIsNil ¶
LeaveIsNil applies the IsNil predicate on the "leave" field.
func LeaveNotIn ¶
LeaveNotIn applies the NotIn predicate on the "leave" field.
func LeaveNotNil ¶
LeaveNotNil applies the NotNil predicate on the "leave" field.
func LocationID ¶
LocationID applies equality check predicate on the "location_id" field. It's identical to LocationIDEQ.
func LocationIDEQ ¶
LocationIDEQ applies the EQ predicate on the "location_id" field.
func LocationIDGT ¶
LocationIDGT applies the GT predicate on the "location_id" field.
func LocationIDGTE ¶
LocationIDGTE applies the GTE predicate on the "location_id" field.
func LocationIDIn ¶
LocationIDIn applies the In predicate on the "location_id" field.
func LocationIDLT ¶
LocationIDLT applies the LT predicate on the "location_id" field.
func LocationIDLTE ¶
LocationIDLTE applies the LTE predicate on the "location_id" field.
func LocationIDNEQ ¶
LocationIDNEQ applies the NEQ predicate on the "location_id" field.
func LocationIDNotIn ¶
LocationIDNotIn applies the NotIn predicate on the "location_id" field.
func Modified ¶
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedLT ¶
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func Position ¶
Position applies equality check predicate on the "position" field. It's identical to PositionEQ.
func PositionContains ¶
PositionContains applies the Contains predicate on the "position" field.
func PositionContainsFold ¶
PositionContainsFold applies the ContainsFold predicate on the "position" field.
func PositionEQ ¶
PositionEQ applies the EQ predicate on the "position" field.
func PositionEqualFold ¶
PositionEqualFold applies the EqualFold predicate on the "position" field.
func PositionGT ¶
PositionGT applies the GT predicate on the "position" field.
func PositionGTE ¶
PositionGTE applies the GTE predicate on the "position" field.
func PositionHasPrefix ¶
PositionHasPrefix applies the HasPrefix predicate on the "position" field.
func PositionHasSuffix ¶
PositionHasSuffix applies the HasSuffix predicate on the "position" field.
func PositionIn ¶
PositionIn applies the In predicate on the "position" field.
func PositionJa ¶
PositionJa applies equality check predicate on the "position_ja" field. It's identical to PositionJaEQ.
func PositionJaContains ¶
PositionJaContains applies the Contains predicate on the "position_ja" field.
func PositionJaContainsFold ¶
PositionJaContainsFold applies the ContainsFold predicate on the "position_ja" field.
func PositionJaEQ ¶
PositionJaEQ applies the EQ predicate on the "position_ja" field.
func PositionJaEqualFold ¶
PositionJaEqualFold applies the EqualFold predicate on the "position_ja" field.
func PositionJaGT ¶
PositionJaGT applies the GT predicate on the "position_ja" field.
func PositionJaGTE ¶
PositionJaGTE applies the GTE predicate on the "position_ja" field.
func PositionJaHasPrefix ¶
PositionJaHasPrefix applies the HasPrefix predicate on the "position_ja" field.
func PositionJaHasSuffix ¶
PositionJaHasSuffix applies the HasSuffix predicate on the "position_ja" field.
func PositionJaIn ¶
PositionJaIn applies the In predicate on the "position_ja" field.
func PositionJaLT ¶
PositionJaLT applies the LT predicate on the "position_ja" field.
func PositionJaLTE ¶
PositionJaLTE applies the LTE predicate on the "position_ja" field.
func PositionJaNEQ ¶
PositionJaNEQ applies the NEQ predicate on the "position_ja" field.
func PositionJaNotIn ¶
PositionJaNotIn applies the NotIn predicate on the "position_ja" field.
func PositionLT ¶
PositionLT applies the LT predicate on the "position" field.
func PositionLTE ¶
PositionLTE applies the LTE predicate on the "position" field.
func PositionNEQ ¶
PositionNEQ applies the NEQ predicate on the "position" field.
func PositionNotIn ¶
PositionNotIn applies the NotIn predicate on the "position" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.