xprovidercursor

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for xprovidercursor fields.

Functions

func And

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

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 ID

ID filters vertices based on their ID 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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UUID

UUID applies equality check predicate on the "UUID" field. It's identical to UUIDEQ.

func UUIDEQ

UUIDEQ applies the EQ predicate on the "UUID" field.

func UUIDGT

UUIDGT applies the GT predicate on the "UUID" field.

func UUIDGTE

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

UUIDLT applies the LT predicate on the "UUID" field.

func UUIDLTE

UUIDLTE applies the LTE predicate on the "UUID" field.

func UUIDNEQ

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL