Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProxySystemLog) predicate.ProxySystemLog
- func Content(v string) predicate.ProxySystemLog
- func ContentContains(v string) predicate.ProxySystemLog
- func ContentContainsFold(v string) predicate.ProxySystemLog
- func ContentEQ(v string) predicate.ProxySystemLog
- func ContentEqualFold(v string) predicate.ProxySystemLog
- func ContentGT(v string) predicate.ProxySystemLog
- func ContentGTE(v string) predicate.ProxySystemLog
- func ContentHasPrefix(v string) predicate.ProxySystemLog
- func ContentHasSuffix(v string) predicate.ProxySystemLog
- func ContentIn(vs ...string) predicate.ProxySystemLog
- func ContentLT(v string) predicate.ProxySystemLog
- func ContentLTE(v string) predicate.ProxySystemLog
- func ContentNEQ(v string) predicate.ProxySystemLog
- func ContentNotIn(vs ...string) predicate.ProxySystemLog
- func CreatedAt(v time.Time) predicate.ProxySystemLog
- func CreatedAtEQ(v time.Time) predicate.ProxySystemLog
- func CreatedAtGT(v time.Time) predicate.ProxySystemLog
- func CreatedAtGTE(v time.Time) predicate.ProxySystemLog
- func CreatedAtIn(vs ...time.Time) predicate.ProxySystemLog
- func CreatedAtLT(v time.Time) predicate.ProxySystemLog
- func CreatedAtLTE(v time.Time) predicate.ProxySystemLog
- func CreatedAtNEQ(v time.Time) predicate.ProxySystemLog
- func CreatedAtNotIn(vs ...time.Time) predicate.ProxySystemLog
- func Date(v string) predicate.ProxySystemLog
- func DateContains(v string) predicate.ProxySystemLog
- func DateContainsFold(v string) predicate.ProxySystemLog
- func DateEQ(v string) predicate.ProxySystemLog
- func DateEqualFold(v string) predicate.ProxySystemLog
- func DateGT(v string) predicate.ProxySystemLog
- func DateGTE(v string) predicate.ProxySystemLog
- func DateHasPrefix(v string) predicate.ProxySystemLog
- func DateHasSuffix(v string) predicate.ProxySystemLog
- func DateIn(vs ...string) predicate.ProxySystemLog
- func DateIsNil() predicate.ProxySystemLog
- func DateLT(v string) predicate.ProxySystemLog
- func DateLTE(v string) predicate.ProxySystemLog
- func DateNEQ(v string) predicate.ProxySystemLog
- func DateNotIn(vs ...string) predicate.ProxySystemLog
- func DateNotNil() predicate.ProxySystemLog
- func ID(id int64) predicate.ProxySystemLog
- func IDEQ(id int64) predicate.ProxySystemLog
- func IDGT(id int64) predicate.ProxySystemLog
- func IDGTE(id int64) predicate.ProxySystemLog
- func IDIn(ids ...int64) predicate.ProxySystemLog
- func IDLT(id int64) predicate.ProxySystemLog
- func IDLTE(id int64) predicate.ProxySystemLog
- func IDNEQ(id int64) predicate.ProxySystemLog
- func IDNotIn(ids ...int64) predicate.ProxySystemLog
- func Not(p predicate.ProxySystemLog) predicate.ProxySystemLog
- func ObjectID(v int64) predicate.ProxySystemLog
- func ObjectIDEQ(v int64) predicate.ProxySystemLog
- func ObjectIDGT(v int64) predicate.ProxySystemLog
- func ObjectIDGTE(v int64) predicate.ProxySystemLog
- func ObjectIDIn(vs ...int64) predicate.ProxySystemLog
- func ObjectIDLT(v int64) predicate.ProxySystemLog
- func ObjectIDLTE(v int64) predicate.ProxySystemLog
- func ObjectIDNEQ(v int64) predicate.ProxySystemLog
- func ObjectIDNotIn(vs ...int64) predicate.ProxySystemLog
- func Or(predicates ...predicate.ProxySystemLog) predicate.ProxySystemLog
- func Type(v int8) predicate.ProxySystemLog
- func TypeEQ(v int8) predicate.ProxySystemLog
- func TypeGT(v int8) predicate.ProxySystemLog
- func TypeGTE(v int8) predicate.ProxySystemLog
- func TypeIn(vs ...int8) predicate.ProxySystemLog
- func TypeLT(v int8) predicate.ProxySystemLog
- func TypeLTE(v int8) predicate.ProxySystemLog
- func TypeNEQ(v int8) predicate.ProxySystemLog
- func TypeNotIn(vs ...int8) predicate.ProxySystemLog
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDate(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByObjectID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the proxysystemlog type in the database. Label = "proxy_system_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldDate holds the string denoting the date field in the database. FieldDate = "date" // FieldObjectID holds the string denoting the object_id field in the database. FieldObjectID = "object_id" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the proxysystemlog in the database. Table = "system_logs" )
Variables ¶
var ( // DateValidator is a validator for the "date" field. It is called by the builders before save. DateValidator func(string) error // DefaultObjectID holds the default value on creation for the "object_id" field. DefaultObjectID int64 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldType, FieldDate, FieldObjectID, FieldContent, FieldCreatedAt, }
Columns holds all SQL columns for proxysystemlog fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProxySystemLog) predicate.ProxySystemLog
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.ProxySystemLog
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.ProxySystemLog
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.ProxySystemLog
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.ProxySystemLog
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.ProxySystemLog
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.ProxySystemLog
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.ProxySystemLog
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.ProxySystemLog
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.ProxySystemLog
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.ProxySystemLog
ContentIn applies the In predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.ProxySystemLog
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.ProxySystemLog
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.ProxySystemLog
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.ProxySystemLog
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProxySystemLog
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProxySystemLog
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProxySystemLog
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProxySystemLog
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProxySystemLog
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProxySystemLog
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProxySystemLog
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProxySystemLog
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProxySystemLog
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Date ¶
func Date(v string) predicate.ProxySystemLog
Date applies equality check predicate on the "date" field. It's identical to DateEQ.
func DateContains ¶
func DateContains(v string) predicate.ProxySystemLog
DateContains applies the Contains predicate on the "date" field.
func DateContainsFold ¶
func DateContainsFold(v string) predicate.ProxySystemLog
DateContainsFold applies the ContainsFold predicate on the "date" field.
func DateEQ ¶
func DateEQ(v string) predicate.ProxySystemLog
DateEQ applies the EQ predicate on the "date" field.
func DateEqualFold ¶
func DateEqualFold(v string) predicate.ProxySystemLog
DateEqualFold applies the EqualFold predicate on the "date" field.
func DateGT ¶
func DateGT(v string) predicate.ProxySystemLog
DateGT applies the GT predicate on the "date" field.
func DateGTE ¶
func DateGTE(v string) predicate.ProxySystemLog
DateGTE applies the GTE predicate on the "date" field.
func DateHasPrefix ¶
func DateHasPrefix(v string) predicate.ProxySystemLog
DateHasPrefix applies the HasPrefix predicate on the "date" field.
func DateHasSuffix ¶
func DateHasSuffix(v string) predicate.ProxySystemLog
DateHasSuffix applies the HasSuffix predicate on the "date" field.
func DateIn ¶
func DateIn(vs ...string) predicate.ProxySystemLog
DateIn applies the In predicate on the "date" field.
func DateIsNil ¶
func DateIsNil() predicate.ProxySystemLog
DateIsNil applies the IsNil predicate on the "date" field.
func DateLT ¶
func DateLT(v string) predicate.ProxySystemLog
DateLT applies the LT predicate on the "date" field.
func DateLTE ¶
func DateLTE(v string) predicate.ProxySystemLog
DateLTE applies the LTE predicate on the "date" field.
func DateNEQ ¶
func DateNEQ(v string) predicate.ProxySystemLog
DateNEQ applies the NEQ predicate on the "date" field.
func DateNotIn ¶
func DateNotIn(vs ...string) predicate.ProxySystemLog
DateNotIn applies the NotIn predicate on the "date" field.
func DateNotNil ¶
func DateNotNil() predicate.ProxySystemLog
DateNotNil applies the NotNil predicate on the "date" field.
func IDEQ ¶
func IDEQ(id int64) predicate.ProxySystemLog
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ProxySystemLog
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ProxySystemLog
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ProxySystemLog
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ProxySystemLog
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ProxySystemLog
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ProxySystemLog
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ProxySystemLog
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProxySystemLog) predicate.ProxySystemLog
Not applies the not operator on the given predicate.
func ObjectID ¶
func ObjectID(v int64) predicate.ProxySystemLog
ObjectID applies equality check predicate on the "object_id" field. It's identical to ObjectIDEQ.
func ObjectIDEQ ¶
func ObjectIDEQ(v int64) predicate.ProxySystemLog
ObjectIDEQ applies the EQ predicate on the "object_id" field.
func ObjectIDGT ¶
func ObjectIDGT(v int64) predicate.ProxySystemLog
ObjectIDGT applies the GT predicate on the "object_id" field.
func ObjectIDGTE ¶
func ObjectIDGTE(v int64) predicate.ProxySystemLog
ObjectIDGTE applies the GTE predicate on the "object_id" field.
func ObjectIDIn ¶
func ObjectIDIn(vs ...int64) predicate.ProxySystemLog
ObjectIDIn applies the In predicate on the "object_id" field.
func ObjectIDLT ¶
func ObjectIDLT(v int64) predicate.ProxySystemLog
ObjectIDLT applies the LT predicate on the "object_id" field.
func ObjectIDLTE ¶
func ObjectIDLTE(v int64) predicate.ProxySystemLog
ObjectIDLTE applies the LTE predicate on the "object_id" field.
func ObjectIDNEQ ¶
func ObjectIDNEQ(v int64) predicate.ProxySystemLog
ObjectIDNEQ applies the NEQ predicate on the "object_id" field.
func ObjectIDNotIn ¶
func ObjectIDNotIn(vs ...int64) predicate.ProxySystemLog
ObjectIDNotIn applies the NotIn predicate on the "object_id" field.
func Or ¶
func Or(predicates ...predicate.ProxySystemLog) predicate.ProxySystemLog
Or groups predicates with the OR operator between them.
func Type ¶
func Type(v int8) predicate.ProxySystemLog
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeEQ ¶
func TypeEQ(v int8) predicate.ProxySystemLog
TypeEQ applies the EQ predicate on the "type" field.
func TypeGT ¶
func TypeGT(v int8) predicate.ProxySystemLog
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v int8) predicate.ProxySystemLog
TypeGTE applies the GTE predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...int8) predicate.ProxySystemLog
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v int8) predicate.ProxySystemLog
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v int8) predicate.ProxySystemLog
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v int8) predicate.ProxySystemLog
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...int8) predicate.ProxySystemLog
TypeNotIn applies the NotIn predicate on the "type" 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 ProxySystemLog queries.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDate ¶
func ByDate(opts ...sql.OrderTermOption) OrderOption
ByDate orders the results by the date field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByObjectID ¶
func ByObjectID(opts ...sql.OrderTermOption) OrderOption
ByObjectID orders the results by the object_id field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.