Documentation
¶
Index ¶
- Constants
- Variables
- func Action(v string) predicate.AuditLog
- func ActionContains(v string) predicate.AuditLog
- func ActionContainsFold(v string) predicate.AuditLog
- func ActionEQ(v string) predicate.AuditLog
- func ActionEqualFold(v string) predicate.AuditLog
- func ActionGT(v string) predicate.AuditLog
- func ActionGTE(v string) predicate.AuditLog
- func ActionHasPrefix(v string) predicate.AuditLog
- func ActionHasSuffix(v string) predicate.AuditLog
- func ActionIn(vs ...string) predicate.AuditLog
- func ActionLT(v string) predicate.AuditLog
- func ActionLTE(v string) predicate.AuditLog
- func ActionNEQ(v string) predicate.AuditLog
- func ActionNotIn(vs ...string) predicate.AuditLog
- func AfterIsNil() predicate.AuditLog
- func AfterNotNil() predicate.AuditLog
- func And(predicates ...predicate.AuditLog) predicate.AuditLog
- func ArchivedAt(v time.Time) predicate.AuditLog
- func ArchivedAtEQ(v time.Time) predicate.AuditLog
- func ArchivedAtGT(v time.Time) predicate.AuditLog
- func ArchivedAtGTE(v time.Time) predicate.AuditLog
- func ArchivedAtIn(vs ...time.Time) predicate.AuditLog
- func ArchivedAtIsNil() predicate.AuditLog
- func ArchivedAtLT(v time.Time) predicate.AuditLog
- func ArchivedAtLTE(v time.Time) predicate.AuditLog
- func ArchivedAtNEQ(v time.Time) predicate.AuditLog
- func ArchivedAtNotIn(vs ...time.Time) predicate.AuditLog
- func ArchivedAtNotNil() predicate.AuditLog
- func BeforeIsNil() predicate.AuditLog
- func BeforeNotNil() predicate.AuditLog
- func CreatedAt(v time.Time) predicate.AuditLog
- func CreatedAtEQ(v time.Time) predicate.AuditLog
- func CreatedAtGT(v time.Time) predicate.AuditLog
- func CreatedAtGTE(v time.Time) predicate.AuditLog
- func CreatedAtIn(vs ...time.Time) predicate.AuditLog
- func CreatedAtIsNil() predicate.AuditLog
- func CreatedAtLT(v time.Time) predicate.AuditLog
- func CreatedAtLTE(v time.Time) predicate.AuditLog
- func CreatedAtNEQ(v time.Time) predicate.AuditLog
- func CreatedAtNotIn(vs ...time.Time) predicate.AuditLog
- func CreatedAtNotNil() predicate.AuditLog
- func CreatedByID(v uuid.UUID) predicate.AuditLog
- func CreatedByIDEQ(v uuid.UUID) predicate.AuditLog
- func CreatedByIDGT(v uuid.UUID) predicate.AuditLog
- func CreatedByIDGTE(v uuid.UUID) predicate.AuditLog
- func CreatedByIDIn(vs ...uuid.UUID) predicate.AuditLog
- func CreatedByIDIsNil() predicate.AuditLog
- func CreatedByIDLT(v uuid.UUID) predicate.AuditLog
- func CreatedByIDLTE(v uuid.UUID) predicate.AuditLog
- func CreatedByIDNEQ(v uuid.UUID) predicate.AuditLog
- func CreatedByIDNotIn(vs ...uuid.UUID) predicate.AuditLog
- func CreatedByIDNotNil() predicate.AuditLog
- func DeletedAt(v time.Time) predicate.AuditLog
- func DeletedAtEQ(v time.Time) predicate.AuditLog
- func DeletedAtGT(v time.Time) predicate.AuditLog
- func DeletedAtGTE(v time.Time) predicate.AuditLog
- func DeletedAtIn(vs ...time.Time) predicate.AuditLog
- func DeletedAtIsNil() predicate.AuditLog
- func DeletedAtLT(v time.Time) predicate.AuditLog
- func DeletedAtLTE(v time.Time) predicate.AuditLog
- func DeletedAtNEQ(v time.Time) predicate.AuditLog
- func DeletedAtNotIn(vs ...time.Time) predicate.AuditLog
- func DeletedAtNotNil() predicate.AuditLog
- func DeletedByID(v uuid.UUID) predicate.AuditLog
- func DeletedByIDEQ(v uuid.UUID) predicate.AuditLog
- func DeletedByIDGT(v uuid.UUID) predicate.AuditLog
- func DeletedByIDGTE(v uuid.UUID) predicate.AuditLog
- func DeletedByIDIn(vs ...uuid.UUID) predicate.AuditLog
- func DeletedByIDIsNil() predicate.AuditLog
- func DeletedByIDLT(v uuid.UUID) predicate.AuditLog
- func DeletedByIDLTE(v uuid.UUID) predicate.AuditLog
- func DeletedByIDNEQ(v uuid.UUID) predicate.AuditLog
- func DeletedByIDNotIn(vs ...uuid.UUID) predicate.AuditLog
- func DeletedByIDNotNil() predicate.AuditLog
- func HasUser() predicate.AuditLog
- func HasUserWith(preds ...predicate.User) predicate.AuditLog
- func ID(id uuid.UUID) predicate.AuditLog
- func IDEQ(id uuid.UUID) predicate.AuditLog
- func IDGT(id uuid.UUID) predicate.AuditLog
- func IDGTE(id uuid.UUID) predicate.AuditLog
- func IDIn(ids ...uuid.UUID) predicate.AuditLog
- func IDLT(id uuid.UUID) predicate.AuditLog
- func IDLTE(id uuid.UUID) predicate.AuditLog
- func IDNEQ(id uuid.UUID) predicate.AuditLog
- func IDNotIn(ids ...uuid.UUID) predicate.AuditLog
- func IPAddress(v string) predicate.AuditLog
- func IPAddressContains(v string) predicate.AuditLog
- func IPAddressContainsFold(v string) predicate.AuditLog
- func IPAddressEQ(v string) predicate.AuditLog
- func IPAddressEqualFold(v string) predicate.AuditLog
- func IPAddressGT(v string) predicate.AuditLog
- func IPAddressGTE(v string) predicate.AuditLog
- func IPAddressHasPrefix(v string) predicate.AuditLog
- func IPAddressHasSuffix(v string) predicate.AuditLog
- func IPAddressIn(vs ...string) predicate.AuditLog
- func IPAddressIsNil() predicate.AuditLog
- func IPAddressLT(v string) predicate.AuditLog
- func IPAddressLTE(v string) predicate.AuditLog
- func IPAddressNEQ(v string) predicate.AuditLog
- func IPAddressNotIn(vs ...string) predicate.AuditLog
- func IPAddressNotNil() predicate.AuditLog
- func Not(p predicate.AuditLog) predicate.AuditLog
- func Or(predicates ...predicate.AuditLog) predicate.AuditLog
- func OwnerDomainID(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDEQ(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDGT(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDGTE(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDIn(vs ...uuid.UUID) predicate.AuditLog
- func OwnerDomainIDIsNil() predicate.AuditLog
- func OwnerDomainIDLT(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDLTE(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDNEQ(v uuid.UUID) predicate.AuditLog
- func OwnerDomainIDNotIn(vs ...uuid.UUID) predicate.AuditLog
- func OwnerDomainIDNotNil() predicate.AuditLog
- func PublishedAt(v time.Time) predicate.AuditLog
- func PublishedAtEQ(v time.Time) predicate.AuditLog
- func PublishedAtGT(v time.Time) predicate.AuditLog
- func PublishedAtGTE(v time.Time) predicate.AuditLog
- func PublishedAtIn(vs ...time.Time) predicate.AuditLog
- func PublishedAtIsNil() predicate.AuditLog
- func PublishedAtLT(v time.Time) predicate.AuditLog
- func PublishedAtLTE(v time.Time) predicate.AuditLog
- func PublishedAtNEQ(v time.Time) predicate.AuditLog
- func PublishedAtNotIn(vs ...time.Time) predicate.AuditLog
- func PublishedAtNotNil() predicate.AuditLog
- func Resource(v string) predicate.AuditLog
- func ResourceContains(v string) predicate.AuditLog
- func ResourceContainsFold(v string) predicate.AuditLog
- func ResourceEQ(v string) predicate.AuditLog
- func ResourceEqualFold(v string) predicate.AuditLog
- func ResourceGT(v string) predicate.AuditLog
- func ResourceGTE(v string) predicate.AuditLog
- func ResourceHasPrefix(v string) predicate.AuditLog
- func ResourceHasSuffix(v string) predicate.AuditLog
- func ResourceID(v string) predicate.AuditLog
- func ResourceIDContains(v string) predicate.AuditLog
- func ResourceIDContainsFold(v string) predicate.AuditLog
- func ResourceIDEQ(v string) predicate.AuditLog
- func ResourceIDEqualFold(v string) predicate.AuditLog
- func ResourceIDGT(v string) predicate.AuditLog
- func ResourceIDGTE(v string) predicate.AuditLog
- func ResourceIDHasPrefix(v string) predicate.AuditLog
- func ResourceIDHasSuffix(v string) predicate.AuditLog
- func ResourceIDIn(vs ...string) predicate.AuditLog
- func ResourceIDIsNil() predicate.AuditLog
- func ResourceIDLT(v string) predicate.AuditLog
- func ResourceIDLTE(v string) predicate.AuditLog
- func ResourceIDNEQ(v string) predicate.AuditLog
- func ResourceIDNotIn(vs ...string) predicate.AuditLog
- func ResourceIDNotNil() predicate.AuditLog
- func ResourceIn(vs ...string) predicate.AuditLog
- func ResourceLT(v string) predicate.AuditLog
- func ResourceLTE(v string) predicate.AuditLog
- func ResourceNEQ(v string) predicate.AuditLog
- func ResourceNotIn(vs ...string) predicate.AuditLog
- func UpdatedAt(v time.Time) predicate.AuditLog
- func UpdatedAtEQ(v time.Time) predicate.AuditLog
- func UpdatedAtGT(v time.Time) predicate.AuditLog
- func UpdatedAtGTE(v time.Time) predicate.AuditLog
- func UpdatedAtIn(vs ...time.Time) predicate.AuditLog
- func UpdatedAtIsNil() predicate.AuditLog
- func UpdatedAtLT(v time.Time) predicate.AuditLog
- func UpdatedAtLTE(v time.Time) predicate.AuditLog
- func UpdatedAtNEQ(v time.Time) predicate.AuditLog
- func UpdatedAtNotIn(vs ...time.Time) predicate.AuditLog
- func UpdatedAtNotNil() predicate.AuditLog
- func UpdatedByID(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDEQ(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDGT(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDGTE(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDIn(vs ...uuid.UUID) predicate.AuditLog
- func UpdatedByIDIsNil() predicate.AuditLog
- func UpdatedByIDLT(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDLTE(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDNEQ(v uuid.UUID) predicate.AuditLog
- func UpdatedByIDNotIn(vs ...uuid.UUID) predicate.AuditLog
- func UpdatedByIDNotNil() predicate.AuditLog
- func UserAgent(v string) predicate.AuditLog
- func UserAgentContains(v string) predicate.AuditLog
- func UserAgentContainsFold(v string) predicate.AuditLog
- func UserAgentEQ(v string) predicate.AuditLog
- func UserAgentEqualFold(v string) predicate.AuditLog
- func UserAgentGT(v string) predicate.AuditLog
- func UserAgentGTE(v string) predicate.AuditLog
- func UserAgentHasPrefix(v string) predicate.AuditLog
- func UserAgentHasSuffix(v string) predicate.AuditLog
- func UserAgentIn(vs ...string) predicate.AuditLog
- func UserAgentIsNil() predicate.AuditLog
- func UserAgentLT(v string) predicate.AuditLog
- func UserAgentLTE(v string) predicate.AuditLog
- func UserAgentNEQ(v string) predicate.AuditLog
- func UserAgentNotIn(vs ...string) predicate.AuditLog
- func UserAgentNotNil() predicate.AuditLog
- func ValidColumn(column string) bool
- type OrderOption
- func ByAction(opts ...sql.OrderTermOption) OrderOption
- func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerDomainID(opts ...sql.OrderTermOption) OrderOption
- func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByResource(opts ...sql.OrderTermOption) OrderOption
- func ByResourceID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
- func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserAgent(opts ...sql.OrderTermOption) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the auditlog type in the database. Label = "audit_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedByID holds the string denoting the created_by_id field in the database. FieldCreatedByID = "created_by_id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedByID holds the string denoting the updated_by_id field in the database. FieldUpdatedByID = "updated_by_id" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedByID holds the string denoting the deleted_by_id field in the database. FieldDeletedByID = "deleted_by_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldPublishedAt holds the string denoting the published_at field in the database. FieldPublishedAt = "published_at" // FieldArchivedAt holds the string denoting the archived_at field in the database. FieldArchivedAt = "archived_at" // FieldOwnerDomainID holds the string denoting the owner_domain_id field in the database. FieldOwnerDomainID = "owner_domain_id" // FieldAction holds the string denoting the action field in the database. FieldAction = "action" // FieldResource holds the string denoting the resource field in the database. FieldResource = "resource" // FieldResourceID holds the string denoting the resource_id field in the database. FieldResourceID = "resource_id" // FieldBefore holds the string denoting the before field in the database. FieldBefore = "before" // FieldAfter holds the string denoting the after field in the database. FieldAfter = "after" // FieldIPAddress holds the string denoting the ip_address field in the database. FieldIPAddress = "ip_address" // FieldUserAgent holds the string denoting the user_agent field in the database. FieldUserAgent = "user_agent" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the auditlog in the database. Table = "audit_logs" // UserTable is the table that holds the user relation/edge. The primary key declared below. UserTable = "user_audit_logs" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" )
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 // ActionValidator is a validator for the "action" field. It is called by the builders before save. ActionValidator func(string) error // ResourceValidator is a validator for the "resource" field. It is called by the builders before save. ResourceValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedByID, FieldCreatedAt, FieldUpdatedByID, FieldUpdatedAt, FieldDeletedByID, FieldDeletedAt, FieldPublishedAt, FieldArchivedAt, FieldOwnerDomainID, FieldAction, FieldResource, FieldResourceID, FieldBefore, FieldAfter, FieldIPAddress, FieldUserAgent, }
Columns holds all SQL columns for auditlog fields.
var ( // UserPrimaryKey and UserColumn2 are the table columns denoting the // primary key for the user relation (M2M). UserPrimaryKey = []string{"user_id", "audit_log_id"} )
Functions ¶
func Action ¶
Action applies equality check predicate on the "action" field. It's identical to ActionEQ.
func ActionContains ¶
ActionContains applies the Contains predicate on the "action" field.
func ActionContainsFold ¶
ActionContainsFold applies the ContainsFold predicate on the "action" field.
func ActionEqualFold ¶
ActionEqualFold applies the EqualFold predicate on the "action" field.
func ActionHasPrefix ¶
ActionHasPrefix applies the HasPrefix predicate on the "action" field.
func ActionHasSuffix ¶
ActionHasSuffix applies the HasSuffix predicate on the "action" field.
func ActionNotIn ¶
ActionNotIn applies the NotIn predicate on the "action" field.
func AfterIsNil ¶
AfterIsNil applies the IsNil predicate on the "after" field.
func AfterNotNil ¶
AfterNotNil applies the NotNil predicate on the "after" field.
func ArchivedAt ¶
ArchivedAt applies equality check predicate on the "archived_at" field. It's identical to ArchivedAtEQ.
func ArchivedAtEQ ¶
ArchivedAtEQ applies the EQ predicate on the "archived_at" field.
func ArchivedAtGT ¶
ArchivedAtGT applies the GT predicate on the "archived_at" field.
func ArchivedAtGTE ¶
ArchivedAtGTE applies the GTE predicate on the "archived_at" field.
func ArchivedAtIn ¶
ArchivedAtIn applies the In predicate on the "archived_at" field.
func ArchivedAtIsNil ¶
ArchivedAtIsNil applies the IsNil predicate on the "archived_at" field.
func ArchivedAtLT ¶
ArchivedAtLT applies the LT predicate on the "archived_at" field.
func ArchivedAtLTE ¶
ArchivedAtLTE applies the LTE predicate on the "archived_at" field.
func ArchivedAtNEQ ¶
ArchivedAtNEQ applies the NEQ predicate on the "archived_at" field.
func ArchivedAtNotIn ¶
ArchivedAtNotIn applies the NotIn predicate on the "archived_at" field.
func ArchivedAtNotNil ¶
ArchivedAtNotNil applies the NotNil predicate on the "archived_at" field.
func BeforeIsNil ¶
BeforeIsNil applies the IsNil predicate on the "before" field.
func BeforeNotNil ¶
BeforeNotNil applies the NotNil predicate on the "before" field.
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 CreatedByID ¶
CreatedByID applies equality check predicate on the "created_by_id" field. It's identical to CreatedByIDEQ.
func CreatedByIDEQ ¶
CreatedByIDEQ applies the EQ predicate on the "created_by_id" field.
func CreatedByIDGT ¶
CreatedByIDGT applies the GT predicate on the "created_by_id" field.
func CreatedByIDGTE ¶
CreatedByIDGTE applies the GTE predicate on the "created_by_id" field.
func CreatedByIDIn ¶
CreatedByIDIn applies the In predicate on the "created_by_id" field.
func CreatedByIDIsNil ¶
CreatedByIDIsNil applies the IsNil predicate on the "created_by_id" field.
func CreatedByIDLT ¶
CreatedByIDLT applies the LT predicate on the "created_by_id" field.
func CreatedByIDLTE ¶
CreatedByIDLTE applies the LTE predicate on the "created_by_id" field.
func CreatedByIDNEQ ¶
CreatedByIDNEQ applies the NEQ predicate on the "created_by_id" field.
func CreatedByIDNotIn ¶
CreatedByIDNotIn applies the NotIn predicate on the "created_by_id" field.
func CreatedByIDNotNil ¶
CreatedByIDNotNil applies the NotNil predicate on the "created_by_id" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedByID ¶
DeletedByID applies equality check predicate on the "deleted_by_id" field. It's identical to DeletedByIDEQ.
func DeletedByIDEQ ¶
DeletedByIDEQ applies the EQ predicate on the "deleted_by_id" field.
func DeletedByIDGT ¶
DeletedByIDGT applies the GT predicate on the "deleted_by_id" field.
func DeletedByIDGTE ¶
DeletedByIDGTE applies the GTE predicate on the "deleted_by_id" field.
func DeletedByIDIn ¶
DeletedByIDIn applies the In predicate on the "deleted_by_id" field.
func DeletedByIDIsNil ¶
DeletedByIDIsNil applies the IsNil predicate on the "deleted_by_id" field.
func DeletedByIDLT ¶
DeletedByIDLT applies the LT predicate on the "deleted_by_id" field.
func DeletedByIDLTE ¶
DeletedByIDLTE applies the LTE predicate on the "deleted_by_id" field.
func DeletedByIDNEQ ¶
DeletedByIDNEQ applies the NEQ predicate on the "deleted_by_id" field.
func DeletedByIDNotIn ¶
DeletedByIDNotIn applies the NotIn predicate on the "deleted_by_id" field.
func DeletedByIDNotNil ¶
DeletedByIDNotNil applies the NotNil predicate on the "deleted_by_id" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IPAddress ¶
IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.
func IPAddressContains ¶
IPAddressContains applies the Contains predicate on the "ip_address" field.
func IPAddressContainsFold ¶
IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.
func IPAddressEQ ¶
IPAddressEQ applies the EQ predicate on the "ip_address" field.
func IPAddressEqualFold ¶
IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.
func IPAddressGT ¶
IPAddressGT applies the GT predicate on the "ip_address" field.
func IPAddressGTE ¶
IPAddressGTE applies the GTE predicate on the "ip_address" field.
func IPAddressHasPrefix ¶
IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.
func IPAddressHasSuffix ¶
IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.
func IPAddressIn ¶
IPAddressIn applies the In predicate on the "ip_address" field.
func IPAddressIsNil ¶
IPAddressIsNil applies the IsNil predicate on the "ip_address" field.
func IPAddressLT ¶
IPAddressLT applies the LT predicate on the "ip_address" field.
func IPAddressLTE ¶
IPAddressLTE applies the LTE predicate on the "ip_address" field.
func IPAddressNEQ ¶
IPAddressNEQ applies the NEQ predicate on the "ip_address" field.
func IPAddressNotIn ¶
IPAddressNotIn applies the NotIn predicate on the "ip_address" field.
func IPAddressNotNil ¶
IPAddressNotNil applies the NotNil predicate on the "ip_address" field.
func OwnerDomainID ¶
OwnerDomainID applies equality check predicate on the "owner_domain_id" field. It's identical to OwnerDomainIDEQ.
func OwnerDomainIDEQ ¶
OwnerDomainIDEQ applies the EQ predicate on the "owner_domain_id" field.
func OwnerDomainIDGT ¶
OwnerDomainIDGT applies the GT predicate on the "owner_domain_id" field.
func OwnerDomainIDGTE ¶
OwnerDomainIDGTE applies the GTE predicate on the "owner_domain_id" field.
func OwnerDomainIDIn ¶
OwnerDomainIDIn applies the In predicate on the "owner_domain_id" field.
func OwnerDomainIDIsNil ¶
OwnerDomainIDIsNil applies the IsNil predicate on the "owner_domain_id" field.
func OwnerDomainIDLT ¶
OwnerDomainIDLT applies the LT predicate on the "owner_domain_id" field.
func OwnerDomainIDLTE ¶
OwnerDomainIDLTE applies the LTE predicate on the "owner_domain_id" field.
func OwnerDomainIDNEQ ¶
OwnerDomainIDNEQ applies the NEQ predicate on the "owner_domain_id" field.
func OwnerDomainIDNotIn ¶
OwnerDomainIDNotIn applies the NotIn predicate on the "owner_domain_id" field.
func OwnerDomainIDNotNil ¶
OwnerDomainIDNotNil applies the NotNil predicate on the "owner_domain_id" field.
func PublishedAt ¶
PublishedAt applies equality check predicate on the "published_at" field. It's identical to PublishedAtEQ.
func PublishedAtEQ ¶
PublishedAtEQ applies the EQ predicate on the "published_at" field.
func PublishedAtGT ¶
PublishedAtGT applies the GT predicate on the "published_at" field.
func PublishedAtGTE ¶
PublishedAtGTE applies the GTE predicate on the "published_at" field.
func PublishedAtIn ¶
PublishedAtIn applies the In predicate on the "published_at" field.
func PublishedAtIsNil ¶
PublishedAtIsNil applies the IsNil predicate on the "published_at" field.
func PublishedAtLT ¶
PublishedAtLT applies the LT predicate on the "published_at" field.
func PublishedAtLTE ¶
PublishedAtLTE applies the LTE predicate on the "published_at" field.
func PublishedAtNEQ ¶
PublishedAtNEQ applies the NEQ predicate on the "published_at" field.
func PublishedAtNotIn ¶
PublishedAtNotIn applies the NotIn predicate on the "published_at" field.
func PublishedAtNotNil ¶
PublishedAtNotNil applies the NotNil predicate on the "published_at" field.
func Resource ¶
Resource applies equality check predicate on the "resource" field. It's identical to ResourceEQ.
func ResourceContains ¶
ResourceContains applies the Contains predicate on the "resource" field.
func ResourceContainsFold ¶
ResourceContainsFold applies the ContainsFold predicate on the "resource" field.
func ResourceEQ ¶
ResourceEQ applies the EQ predicate on the "resource" field.
func ResourceEqualFold ¶
ResourceEqualFold applies the EqualFold predicate on the "resource" field.
func ResourceGT ¶
ResourceGT applies the GT predicate on the "resource" field.
func ResourceGTE ¶
ResourceGTE applies the GTE predicate on the "resource" field.
func ResourceHasPrefix ¶
ResourceHasPrefix applies the HasPrefix predicate on the "resource" field.
func ResourceHasSuffix ¶
ResourceHasSuffix applies the HasSuffix predicate on the "resource" field.
func ResourceID ¶
ResourceID applies equality check predicate on the "resource_id" field. It's identical to ResourceIDEQ.
func ResourceIDContains ¶
ResourceIDContains applies the Contains predicate on the "resource_id" field.
func ResourceIDContainsFold ¶
ResourceIDContainsFold applies the ContainsFold predicate on the "resource_id" field.
func ResourceIDEQ ¶
ResourceIDEQ applies the EQ predicate on the "resource_id" field.
func ResourceIDEqualFold ¶
ResourceIDEqualFold applies the EqualFold predicate on the "resource_id" field.
func ResourceIDGT ¶
ResourceIDGT applies the GT predicate on the "resource_id" field.
func ResourceIDGTE ¶
ResourceIDGTE applies the GTE predicate on the "resource_id" field.
func ResourceIDHasPrefix ¶
ResourceIDHasPrefix applies the HasPrefix predicate on the "resource_id" field.
func ResourceIDHasSuffix ¶
ResourceIDHasSuffix applies the HasSuffix predicate on the "resource_id" field.
func ResourceIDIn ¶
ResourceIDIn applies the In predicate on the "resource_id" field.
func ResourceIDIsNil ¶
ResourceIDIsNil applies the IsNil predicate on the "resource_id" field.
func ResourceIDLT ¶
ResourceIDLT applies the LT predicate on the "resource_id" field.
func ResourceIDLTE ¶
ResourceIDLTE applies the LTE predicate on the "resource_id" field.
func ResourceIDNEQ ¶
ResourceIDNEQ applies the NEQ predicate on the "resource_id" field.
func ResourceIDNotIn ¶
ResourceIDNotIn applies the NotIn predicate on the "resource_id" field.
func ResourceIDNotNil ¶
ResourceIDNotNil applies the NotNil predicate on the "resource_id" field.
func ResourceIn ¶
ResourceIn applies the In predicate on the "resource" field.
func ResourceLT ¶
ResourceLT applies the LT predicate on the "resource" field.
func ResourceLTE ¶
ResourceLTE applies the LTE predicate on the "resource" field.
func ResourceNEQ ¶
ResourceNEQ applies the NEQ predicate on the "resource" field.
func ResourceNotIn ¶
ResourceNotIn applies the NotIn predicate on the "resource" 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 UpdatedByID ¶
UpdatedByID applies equality check predicate on the "updated_by_id" field. It's identical to UpdatedByIDEQ.
func UpdatedByIDEQ ¶
UpdatedByIDEQ applies the EQ predicate on the "updated_by_id" field.
func UpdatedByIDGT ¶
UpdatedByIDGT applies the GT predicate on the "updated_by_id" field.
func UpdatedByIDGTE ¶
UpdatedByIDGTE applies the GTE predicate on the "updated_by_id" field.
func UpdatedByIDIn ¶
UpdatedByIDIn applies the In predicate on the "updated_by_id" field.
func UpdatedByIDIsNil ¶
UpdatedByIDIsNil applies the IsNil predicate on the "updated_by_id" field.
func UpdatedByIDLT ¶
UpdatedByIDLT applies the LT predicate on the "updated_by_id" field.
func UpdatedByIDLTE ¶
UpdatedByIDLTE applies the LTE predicate on the "updated_by_id" field.
func UpdatedByIDNEQ ¶
UpdatedByIDNEQ applies the NEQ predicate on the "updated_by_id" field.
func UpdatedByIDNotIn ¶
UpdatedByIDNotIn applies the NotIn predicate on the "updated_by_id" field.
func UpdatedByIDNotNil ¶
UpdatedByIDNotNil applies the NotNil predicate on the "updated_by_id" field.
func UserAgent ¶
UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.
func UserAgentContains ¶
UserAgentContains applies the Contains predicate on the "user_agent" field.
func UserAgentContainsFold ¶
UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.
func UserAgentEQ ¶
UserAgentEQ applies the EQ predicate on the "user_agent" field.
func UserAgentEqualFold ¶
UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.
func UserAgentGT ¶
UserAgentGT applies the GT predicate on the "user_agent" field.
func UserAgentGTE ¶
UserAgentGTE applies the GTE predicate on the "user_agent" field.
func UserAgentHasPrefix ¶
UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.
func UserAgentHasSuffix ¶
UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.
func UserAgentIn ¶
UserAgentIn applies the In predicate on the "user_agent" field.
func UserAgentIsNil ¶
UserAgentIsNil applies the IsNil predicate on the "user_agent" field.
func UserAgentLT ¶
UserAgentLT applies the LT predicate on the "user_agent" field.
func UserAgentLTE ¶
UserAgentLTE applies the LTE predicate on the "user_agent" field.
func UserAgentNEQ ¶
UserAgentNEQ applies the NEQ predicate on the "user_agent" field.
func UserAgentNotIn ¶
UserAgentNotIn applies the NotIn predicate on the "user_agent" field.
func UserAgentNotNil ¶
UserAgentNotNil applies the NotNil predicate on the "user_agent" 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 AuditLog queries.
func ByAction ¶
func ByAction(opts ...sql.OrderTermOption) OrderOption
ByAction orders the results by the action field.
func ByArchivedAt ¶
func ByArchivedAt(opts ...sql.OrderTermOption) OrderOption
ByArchivedAt orders the results by the archived_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedByID ¶
func ByCreatedByID(opts ...sql.OrderTermOption) OrderOption
ByCreatedByID orders the results by the created_by_id field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedByID ¶
func ByDeletedByID(opts ...sql.OrderTermOption) OrderOption
ByDeletedByID orders the results by the deleted_by_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIPAddress ¶
func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
ByIPAddress orders the results by the ip_address field.
func ByOwnerDomainID ¶
func ByOwnerDomainID(opts ...sql.OrderTermOption) OrderOption
ByOwnerDomainID orders the results by the owner_domain_id field.
func ByPublishedAt ¶
func ByPublishedAt(opts ...sql.OrderTermOption) OrderOption
ByPublishedAt orders the results by the published_at field.
func ByResource ¶
func ByResource(opts ...sql.OrderTermOption) OrderOption
ByResource orders the results by the resource field.
func ByResourceID ¶
func ByResourceID(opts ...sql.OrderTermOption) OrderOption
ByResourceID orders the results by the resource_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedByID ¶
func ByUpdatedByID(opts ...sql.OrderTermOption) OrderOption
ByUpdatedByID orders the results by the updated_by_id field.
func ByUser ¶
func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUser orders the results by user terms.
func ByUserAgent ¶
func ByUserAgent(opts ...sql.OrderTermOption) OrderOption
ByUserAgent orders the results by the user_agent field.
func ByUserCount ¶
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by user count.