Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v common.Address) predicate.Event
- func AddressEQ(v common.Address) predicate.Event
- func AddressGT(v common.Address) predicate.Event
- func AddressGTE(v common.Address) predicate.Event
- func AddressIn(vs ...common.Address) predicate.Event
- func AddressLT(v common.Address) predicate.Event
- func AddressLTE(v common.Address) predicate.Event
- func AddressNEQ(v common.Address) predicate.Event
- func AddressNotIn(vs ...common.Address) predicate.Event
- func And(predicates ...predicate.Event) predicate.Event
- func CreatedAt(v time.Time) predicate.Event
- func CreatedAtEQ(v time.Time) predicate.Event
- func CreatedAtGT(v time.Time) predicate.Event
- func CreatedAtGTE(v time.Time) predicate.Event
- func CreatedAtIn(vs ...time.Time) predicate.Event
- func CreatedAtLT(v time.Time) predicate.Event
- func CreatedAtLTE(v time.Time) predicate.Event
- func CreatedAtNEQ(v time.Time) predicate.Event
- func CreatedAtNotIn(vs ...time.Time) predicate.Event
- func Hash(v common.Hash) predicate.Event
- func HashEQ(v common.Hash) predicate.Event
- func HashGT(v common.Hash) predicate.Event
- func HashGTE(v common.Hash) predicate.Event
- func HashIn(vs ...common.Hash) predicate.Event
- func HashLT(v common.Hash) predicate.Event
- func HashLTE(v common.Hash) predicate.Event
- func HashNEQ(v common.Hash) predicate.Event
- func HashNotIn(vs ...common.Hash) predicate.Event
- func ID(id string) predicate.Event
- func IDEQ(id string) predicate.Event
- func IDGT(id string) predicate.Event
- func IDGTE(id string) predicate.Event
- func IDIn(ids ...string) predicate.Event
- func IDLT(id string) predicate.Event
- func IDLTE(id string) predicate.Event
- func IDNEQ(id string) predicate.Event
- func IDNotIn(ids ...string) predicate.Event
- func Index(v uint64) predicate.Event
- func IndexEQ(v uint64) predicate.Event
- func IndexGT(v uint64) predicate.Event
- func IndexGTE(v uint64) predicate.Event
- func IndexIn(vs ...uint64) predicate.Event
- func IndexLT(v uint64) predicate.Event
- func IndexLTE(v uint64) predicate.Event
- func IndexNEQ(v uint64) predicate.Event
- func IndexNotIn(vs ...uint64) predicate.Event
- func Not(p predicate.Event) predicate.Event
- func Or(predicates ...predicate.Event) predicate.Event
- func UpdatedAt(v time.Time) predicate.Event
- func UpdatedAtEQ(v time.Time) predicate.Event
- func UpdatedAtGT(v time.Time) predicate.Event
- func UpdatedAtGTE(v time.Time) predicate.Event
- func UpdatedAtIn(vs ...time.Time) predicate.Event
- func UpdatedAtLT(v time.Time) predicate.Event
- func UpdatedAtLTE(v time.Time) predicate.Event
- func UpdatedAtNEQ(v time.Time) predicate.Event
- func UpdatedAtNotIn(vs ...time.Time) predicate.Event
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the event type in the database. Label = "event" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldIndex holds the string denoting the index field in the database. FieldIndex = "index" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // 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" // Table holds the table name of the event in the database. Table = "events" )
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 )
var Columns = []string{ FieldID, FieldAddress, FieldIndex, FieldHash, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for event fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" 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 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 Index ¶
Index applies equality check predicate on the "index" field. It's identical to IndexEQ.
func IndexNotIn ¶
IndexNotIn applies the NotIn predicate on the "index" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.