Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.XProviderCursor) predicate.XProviderCursor
- func ChainID(v uint64) predicate.XProviderCursor
- func ChainIDEQ(v uint64) predicate.XProviderCursor
- func ChainIDGT(v uint64) predicate.XProviderCursor
- func ChainIDGTE(v uint64) predicate.XProviderCursor
- func ChainIDIn(vs ...uint64) predicate.XProviderCursor
- func ChainIDLT(v uint64) predicate.XProviderCursor
- func ChainIDLTE(v uint64) predicate.XProviderCursor
- func ChainIDNEQ(v uint64) predicate.XProviderCursor
- func ChainIDNotIn(vs ...uint64) predicate.XProviderCursor
- func CreatedAt(v time.Time) predicate.XProviderCursor
- func CreatedAtEQ(v time.Time) predicate.XProviderCursor
- func CreatedAtGT(v time.Time) predicate.XProviderCursor
- func CreatedAtGTE(v time.Time) predicate.XProviderCursor
- func CreatedAtIn(vs ...time.Time) predicate.XProviderCursor
- func CreatedAtLT(v time.Time) predicate.XProviderCursor
- func CreatedAtLTE(v time.Time) predicate.XProviderCursor
- func CreatedAtNEQ(v time.Time) predicate.XProviderCursor
- func CreatedAtNotIn(vs ...time.Time) predicate.XProviderCursor
- func Height(v uint64) predicate.XProviderCursor
- func HeightEQ(v uint64) predicate.XProviderCursor
- func HeightGT(v uint64) predicate.XProviderCursor
- func HeightGTE(v uint64) predicate.XProviderCursor
- func HeightIn(vs ...uint64) predicate.XProviderCursor
- func HeightLT(v uint64) predicate.XProviderCursor
- func HeightLTE(v uint64) predicate.XProviderCursor
- func HeightNEQ(v uint64) predicate.XProviderCursor
- func HeightNotIn(vs ...uint64) predicate.XProviderCursor
- func ID(id int) predicate.XProviderCursor
- func IDEQ(id int) predicate.XProviderCursor
- func IDGT(id int) predicate.XProviderCursor
- func IDGTE(id int) predicate.XProviderCursor
- func IDIn(ids ...int) predicate.XProviderCursor
- func IDLT(id int) predicate.XProviderCursor
- func IDLTE(id int) predicate.XProviderCursor
- func IDNEQ(id int) predicate.XProviderCursor
- func IDNotIn(ids ...int) predicate.XProviderCursor
- func Not(p predicate.XProviderCursor) predicate.XProviderCursor
- func Or(predicates ...predicate.XProviderCursor) predicate.XProviderCursor
- func UUID(v uuid.UUID) predicate.XProviderCursor
- func UUIDEQ(v uuid.UUID) predicate.XProviderCursor
- func UUIDGT(v uuid.UUID) predicate.XProviderCursor
- func UUIDGTE(v uuid.UUID) predicate.XProviderCursor
- func UUIDIn(vs ...uuid.UUID) predicate.XProviderCursor
- func UUIDLT(v uuid.UUID) predicate.XProviderCursor
- func UUIDLTE(v uuid.UUID) predicate.XProviderCursor
- func UUIDNEQ(v uuid.UUID) predicate.XProviderCursor
- func UUIDNotIn(vs ...uuid.UUID) predicate.XProviderCursor
- func UpdatedAt(v time.Time) predicate.XProviderCursor
- func UpdatedAtEQ(v time.Time) predicate.XProviderCursor
- func UpdatedAtGT(v time.Time) predicate.XProviderCursor
- func UpdatedAtGTE(v time.Time) predicate.XProviderCursor
- func UpdatedAtIn(vs ...time.Time) predicate.XProviderCursor
- func UpdatedAtLT(v time.Time) predicate.XProviderCursor
- func UpdatedAtLTE(v time.Time) predicate.XProviderCursor
- func UpdatedAtNEQ(v time.Time) predicate.XProviderCursor
- func UpdatedAtNotIn(vs ...time.Time) predicate.XProviderCursor
- func ValidColumn(column string) bool
- type OrderOption
- func ByChainID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByHeight(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByUUID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the xprovidercursor type in the database. Label = "xprovider_cursor" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // FieldChainID holds the string denoting the chainid field in the database. FieldChainID = "chain_id" // FieldHeight holds the string denoting the height field in the database. FieldHeight = "height" // FieldCreatedAt holds the string denoting the createdat field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updatedat field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the xprovidercursor in the database. Table = "xprovider_cursors" )
Variables ¶
var ( // DefaultUUID holds the default value on creation for the "UUID" field. DefaultUUID func() uuid.UUID // DefaultCreatedAt holds the default value on creation for the "CreatedAt" field. DefaultCreatedAt time.Time // DefaultUpdatedAt holds the default value on creation for the "UpdatedAt" field. DefaultUpdatedAt time.Time )
var Columns = []string{ FieldID, FieldUUID, FieldChainID, FieldHeight, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for xprovidercursor fields.
Functions ¶
func And ¶
func And(predicates ...predicate.XProviderCursor) predicate.XProviderCursor
And groups predicates with the AND operator between them.
func ChainID ¶
func ChainID(v uint64) predicate.XProviderCursor
ChainID applies equality check predicate on the "ChainID" field. It's identical to ChainIDEQ.
func ChainIDEQ ¶
func ChainIDEQ(v uint64) predicate.XProviderCursor
ChainIDEQ applies the EQ predicate on the "ChainID" field.
func ChainIDGT ¶
func ChainIDGT(v uint64) predicate.XProviderCursor
ChainIDGT applies the GT predicate on the "ChainID" field.
func ChainIDGTE ¶
func ChainIDGTE(v uint64) predicate.XProviderCursor
ChainIDGTE applies the GTE predicate on the "ChainID" field.
func ChainIDIn ¶
func ChainIDIn(vs ...uint64) predicate.XProviderCursor
ChainIDIn applies the In predicate on the "ChainID" field.
func ChainIDLT ¶
func ChainIDLT(v uint64) predicate.XProviderCursor
ChainIDLT applies the LT predicate on the "ChainID" field.
func ChainIDLTE ¶
func ChainIDLTE(v uint64) predicate.XProviderCursor
ChainIDLTE applies the LTE predicate on the "ChainID" field.
func ChainIDNEQ ¶
func ChainIDNEQ(v uint64) predicate.XProviderCursor
ChainIDNEQ applies the NEQ predicate on the "ChainID" field.
func ChainIDNotIn ¶
func ChainIDNotIn(vs ...uint64) predicate.XProviderCursor
ChainIDNotIn applies the NotIn predicate on the "ChainID" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.XProviderCursor
CreatedAt applies equality check predicate on the "CreatedAt" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.XProviderCursor
CreatedAtEQ applies the EQ predicate on the "CreatedAt" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.XProviderCursor
CreatedAtGT applies the GT predicate on the "CreatedAt" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.XProviderCursor
CreatedAtGTE applies the GTE predicate on the "CreatedAt" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.XProviderCursor
CreatedAtIn applies the In predicate on the "CreatedAt" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.XProviderCursor
CreatedAtLT applies the LT predicate on the "CreatedAt" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.XProviderCursor
CreatedAtLTE applies the LTE predicate on the "CreatedAt" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.XProviderCursor
CreatedAtNEQ applies the NEQ predicate on the "CreatedAt" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.XProviderCursor
CreatedAtNotIn applies the NotIn predicate on the "CreatedAt" field.
func Height ¶
func Height(v uint64) predicate.XProviderCursor
Height applies equality check predicate on the "Height" field. It's identical to HeightEQ.
func HeightEQ ¶
func HeightEQ(v uint64) predicate.XProviderCursor
HeightEQ applies the EQ predicate on the "Height" field.
func HeightGT ¶
func HeightGT(v uint64) predicate.XProviderCursor
HeightGT applies the GT predicate on the "Height" field.
func HeightGTE ¶
func HeightGTE(v uint64) predicate.XProviderCursor
HeightGTE applies the GTE predicate on the "Height" field.
func HeightIn ¶
func HeightIn(vs ...uint64) predicate.XProviderCursor
HeightIn applies the In predicate on the "Height" field.
func HeightLT ¶
func HeightLT(v uint64) predicate.XProviderCursor
HeightLT applies the LT predicate on the "Height" field.
func HeightLTE ¶
func HeightLTE(v uint64) predicate.XProviderCursor
HeightLTE applies the LTE predicate on the "Height" field.
func HeightNEQ ¶
func HeightNEQ(v uint64) predicate.XProviderCursor
HeightNEQ applies the NEQ predicate on the "Height" field.
func HeightNotIn ¶
func HeightNotIn(vs ...uint64) predicate.XProviderCursor
HeightNotIn applies the NotIn predicate on the "Height" field.
func IDEQ ¶
func IDEQ(id int) predicate.XProviderCursor
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.XProviderCursor
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.XProviderCursor
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.XProviderCursor
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.XProviderCursor
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.XProviderCursor
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.XProviderCursor
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.XProviderCursor
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.XProviderCursor) predicate.XProviderCursor
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.XProviderCursor) predicate.XProviderCursor
Or groups predicates with the OR operator between them.
func UUID ¶
func UUID(v uuid.UUID) predicate.XProviderCursor
UUID applies equality check predicate on the "UUID" field. It's identical to UUIDEQ.
func UUIDEQ ¶
func UUIDEQ(v uuid.UUID) predicate.XProviderCursor
UUIDEQ applies the EQ predicate on the "UUID" field.
func UUIDGT ¶
func UUIDGT(v uuid.UUID) predicate.XProviderCursor
UUIDGT applies the GT predicate on the "UUID" field.
func UUIDGTE ¶
func UUIDGTE(v uuid.UUID) predicate.XProviderCursor
UUIDGTE applies the GTE predicate on the "UUID" field.
func UUIDIn ¶
func UUIDIn(vs ...uuid.UUID) predicate.XProviderCursor
UUIDIn applies the In predicate on the "UUID" field.
func UUIDLT ¶
func UUIDLT(v uuid.UUID) predicate.XProviderCursor
UUIDLT applies the LT predicate on the "UUID" field.
func UUIDLTE ¶
func UUIDLTE(v uuid.UUID) predicate.XProviderCursor
UUIDLTE applies the LTE predicate on the "UUID" field.
func UUIDNEQ ¶
func UUIDNEQ(v uuid.UUID) predicate.XProviderCursor
UUIDNEQ applies the NEQ predicate on the "UUID" field.
func UUIDNotIn ¶
func UUIDNotIn(vs ...uuid.UUID) predicate.XProviderCursor
UUIDNotIn applies the NotIn predicate on the "UUID" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.XProviderCursor
UpdatedAt applies equality check predicate on the "UpdatedAt" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.XProviderCursor
UpdatedAtEQ applies the EQ predicate on the "UpdatedAt" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.XProviderCursor
UpdatedAtGT applies the GT predicate on the "UpdatedAt" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.XProviderCursor
UpdatedAtGTE applies the GTE predicate on the "UpdatedAt" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.XProviderCursor
UpdatedAtIn applies the In predicate on the "UpdatedAt" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.XProviderCursor
UpdatedAtLT applies the LT predicate on the "UpdatedAt" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.XProviderCursor
UpdatedAtLTE applies the LTE predicate on the "UpdatedAt" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.XProviderCursor
UpdatedAtNEQ applies the NEQ predicate on the "UpdatedAt" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.XProviderCursor
UpdatedAtNotIn applies the NotIn predicate on the "UpdatedAt" 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 XProviderCursor queries.
func ByChainID ¶
func ByChainID(opts ...sql.OrderTermOption) OrderOption
ByChainID orders the results by the ChainID field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the CreatedAt field.
func ByHeight ¶
func ByHeight(opts ...sql.OrderTermOption) OrderOption
ByHeight orders the results by the Height field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUUID ¶
func ByUUID(opts ...sql.OrderTermOption) OrderOption
ByUUID orders the results by the UUID field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the UpdatedAt field.