Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Info) predicate.Info
- func CreatedAt(v time.Time) predicate.Info
- func CreatedAtEQ(v time.Time) predicate.Info
- func CreatedAtGT(v time.Time) predicate.Info
- func CreatedAtGTE(v time.Time) predicate.Info
- func CreatedAtIn(vs ...time.Time) predicate.Info
- func CreatedAtIsNil() predicate.Info
- func CreatedAtLT(v time.Time) predicate.Info
- func CreatedAtLTE(v time.Time) predicate.Info
- func CreatedAtNEQ(v time.Time) predicate.Info
- func CreatedAtNotIn(vs ...time.Time) predicate.Info
- func CreatedAtNotNil() predicate.Info
- func DeleteAt(v int) predicate.Info
- func DeleteAtEQ(v int) predicate.Info
- func DeleteAtGT(v int) predicate.Info
- func DeleteAtGTE(v int) predicate.Info
- func DeleteAtIn(vs ...int) predicate.Info
- func DeleteAtIsNil() predicate.Info
- func DeleteAtLT(v int) predicate.Info
- func DeleteAtLTE(v int) predicate.Info
- func DeleteAtNEQ(v int) predicate.Info
- func DeleteAtNotIn(vs ...int) predicate.Info
- func DeleteAtNotNil() predicate.Info
- func Detail(v string) predicate.Info
- func DetailContains(v string) predicate.Info
- func DetailContainsFold(v string) predicate.Info
- func DetailEQ(v string) predicate.Info
- func DetailEqualFold(v string) predicate.Info
- func DetailGT(v string) predicate.Info
- func DetailGTE(v string) predicate.Info
- func DetailHasPrefix(v string) predicate.Info
- func DetailHasSuffix(v string) predicate.Info
- func DetailIn(vs ...string) predicate.Info
- func DetailLT(v string) predicate.Info
- func DetailLTE(v string) predicate.Info
- func DetailNEQ(v string) predicate.Info
- func DetailNotIn(vs ...string) predicate.Info
- func ID(id uint64) predicate.Info
- func IDEQ(id uint64) predicate.Info
- func IDGT(id uint64) predicate.Info
- func IDGTE(id uint64) predicate.Info
- func IDIn(ids ...uint64) predicate.Info
- func IDLT(id uint64) predicate.Info
- func IDLTE(id uint64) predicate.Info
- func IDNEQ(id uint64) predicate.Info
- func IDNotIn(ids ...uint64) predicate.Info
- func Not(p predicate.Info) predicate.Info
- func Or(predicates ...predicate.Info) predicate.Info
- func UpdatedAt(v time.Time) predicate.Info
- func UpdatedAtEQ(v time.Time) predicate.Info
- func UpdatedAtGT(v time.Time) predicate.Info
- func UpdatedAtGTE(v time.Time) predicate.Info
- func UpdatedAtIn(vs ...time.Time) predicate.Info
- func UpdatedAtIsNil() predicate.Info
- func UpdatedAtLT(v time.Time) predicate.Info
- func UpdatedAtLTE(v time.Time) predicate.Info
- func UpdatedAtNEQ(v time.Time) predicate.Info
- func UpdatedAtNotIn(vs ...time.Time) predicate.Info
- func UpdatedAtNotNil() predicate.Info
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the info type in the database. Label = "info" // 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" // FieldDeleteAt holds the string denoting the delete_at field in the database. FieldDeleteAt = "delete_at" // FieldDetail holds the string denoting the detail field in the database. FieldDetail = "detail" // Table holds the table name of the info in the database. Table = "study_info" )
Variables ¶
var ( // 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 // DefaultDeleteAt holds the default value on creation for the "delete_at" field. DefaultDeleteAt int )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeleteAt, FieldDetail, }
Columns holds all SQL columns for info 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 DeleteAt ¶
DeleteAt applies equality check predicate on the "delete_at" field. It's identical to DeleteAtEQ.
func DeleteAtEQ ¶
DeleteAtEQ applies the EQ predicate on the "delete_at" field.
func DeleteAtGT ¶
DeleteAtGT applies the GT predicate on the "delete_at" field.
func DeleteAtGTE ¶
DeleteAtGTE applies the GTE predicate on the "delete_at" field.
func DeleteAtIn ¶
DeleteAtIn applies the In predicate on the "delete_at" field.
func DeleteAtIsNil ¶
DeleteAtIsNil applies the IsNil predicate on the "delete_at" field.
func DeleteAtLT ¶
DeleteAtLT applies the LT predicate on the "delete_at" field.
func DeleteAtLTE ¶
DeleteAtLTE applies the LTE predicate on the "delete_at" field.
func DeleteAtNEQ ¶
DeleteAtNEQ applies the NEQ predicate on the "delete_at" field.
func DeleteAtNotIn ¶
DeleteAtNotIn applies the NotIn predicate on the "delete_at" field.
func DeleteAtNotNil ¶
DeleteAtNotNil applies the NotNil predicate on the "delete_at" field.
func Detail ¶
Detail applies equality check predicate on the "detail" field. It's identical to DetailEQ.
func DetailContains ¶
DetailContains applies the Contains predicate on the "detail" field.
func DetailContainsFold ¶
DetailContainsFold applies the ContainsFold predicate on the "detail" field.
func DetailEqualFold ¶
DetailEqualFold applies the EqualFold predicate on the "detail" field.
func DetailHasPrefix ¶
DetailHasPrefix applies the HasPrefix predicate on the "detail" field.
func DetailHasSuffix ¶
DetailHasSuffix applies the HasSuffix predicate on the "detail" field.
func DetailNotIn ¶
DetailNotIn applies the NotIn predicate on the "detail" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.