transaction

package
v0.0.0-...-5b7c39b Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the transaction type in the database.
	Label = "transaction"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldTransType holds the string denoting the trans_type field in the database.
	FieldTransType = "trans_type"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSrcSymbol holds the string denoting the src_symbol field in the database.
	FieldSrcSymbol = "src_symbol"
	// FieldSrcAmount holds the string denoting the src_amount field in the database.
	FieldSrcAmount = "src_amount"
	// FieldDestination holds the string denoting the destination field in the database.
	FieldDestination = "destination"
	// FieldDestSymbol holds the string denoting the dest_symbol field in the database.
	FieldDestSymbol = "dest_symbol"
	// FieldDestAmount holds the string denoting the dest_amount field in the database.
	FieldDestAmount = "dest_amount"
	// FieldRate holds the string denoting the rate field in the database.
	FieldRate = "rate"
	// FieldSourceService holds the string denoting the source_service field in the database.
	FieldSourceService = "source_service"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// Table holds the table name of the transaction in the database.
	Table = "transactions"
)

Variables

View Source
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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() xid.ID
)

Columns holds all SQL columns for transaction fields.

Functions

func And

func And(predicates ...predicate.Transaction) predicate.Transaction

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Transaction

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Transaction

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Transaction

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Transaction

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Transaction

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Transaction

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Transaction

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Transaction

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Transaction

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DestAmount

func DestAmount(v string) predicate.Transaction

DestAmount applies equality check predicate on the "dest_amount" field. It's identical to DestAmountEQ.

func DestAmountContains

func DestAmountContains(v string) predicate.Transaction

DestAmountContains applies the Contains predicate on the "dest_amount" field.

func DestAmountContainsFold

func DestAmountContainsFold(v string) predicate.Transaction

DestAmountContainsFold applies the ContainsFold predicate on the "dest_amount" field.

func DestAmountEQ

func DestAmountEQ(v string) predicate.Transaction

DestAmountEQ applies the EQ predicate on the "dest_amount" field.

func DestAmountEqualFold

func DestAmountEqualFold(v string) predicate.Transaction

DestAmountEqualFold applies the EqualFold predicate on the "dest_amount" field.

func DestAmountGT

func DestAmountGT(v string) predicate.Transaction

DestAmountGT applies the GT predicate on the "dest_amount" field.

func DestAmountGTE

func DestAmountGTE(v string) predicate.Transaction

DestAmountGTE applies the GTE predicate on the "dest_amount" field.

func DestAmountHasPrefix

func DestAmountHasPrefix(v string) predicate.Transaction

DestAmountHasPrefix applies the HasPrefix predicate on the "dest_amount" field.

func DestAmountHasSuffix

func DestAmountHasSuffix(v string) predicate.Transaction

DestAmountHasSuffix applies the HasSuffix predicate on the "dest_amount" field.

func DestAmountIn

func DestAmountIn(vs ...string) predicate.Transaction

DestAmountIn applies the In predicate on the "dest_amount" field.

func DestAmountLT

func DestAmountLT(v string) predicate.Transaction

DestAmountLT applies the LT predicate on the "dest_amount" field.

func DestAmountLTE

func DestAmountLTE(v string) predicate.Transaction

DestAmountLTE applies the LTE predicate on the "dest_amount" field.

func DestAmountNEQ

func DestAmountNEQ(v string) predicate.Transaction

DestAmountNEQ applies the NEQ predicate on the "dest_amount" field.

func DestAmountNotIn

func DestAmountNotIn(vs ...string) predicate.Transaction

DestAmountNotIn applies the NotIn predicate on the "dest_amount" field.

func DestSymbol

func DestSymbol(v string) predicate.Transaction

DestSymbol applies equality check predicate on the "dest_symbol" field. It's identical to DestSymbolEQ.

func DestSymbolContains

func DestSymbolContains(v string) predicate.Transaction

DestSymbolContains applies the Contains predicate on the "dest_symbol" field.

func DestSymbolContainsFold

func DestSymbolContainsFold(v string) predicate.Transaction

DestSymbolContainsFold applies the ContainsFold predicate on the "dest_symbol" field.

func DestSymbolEQ

func DestSymbolEQ(v string) predicate.Transaction

DestSymbolEQ applies the EQ predicate on the "dest_symbol" field.

func DestSymbolEqualFold

func DestSymbolEqualFold(v string) predicate.Transaction

DestSymbolEqualFold applies the EqualFold predicate on the "dest_symbol" field.

func DestSymbolGT

func DestSymbolGT(v string) predicate.Transaction

DestSymbolGT applies the GT predicate on the "dest_symbol" field.

func DestSymbolGTE

func DestSymbolGTE(v string) predicate.Transaction

DestSymbolGTE applies the GTE predicate on the "dest_symbol" field.

func DestSymbolHasPrefix

func DestSymbolHasPrefix(v string) predicate.Transaction

DestSymbolHasPrefix applies the HasPrefix predicate on the "dest_symbol" field.

func DestSymbolHasSuffix

func DestSymbolHasSuffix(v string) predicate.Transaction

DestSymbolHasSuffix applies the HasSuffix predicate on the "dest_symbol" field.

func DestSymbolIn

func DestSymbolIn(vs ...string) predicate.Transaction

DestSymbolIn applies the In predicate on the "dest_symbol" field.

func DestSymbolLT

func DestSymbolLT(v string) predicate.Transaction

DestSymbolLT applies the LT predicate on the "dest_symbol" field.

func DestSymbolLTE

func DestSymbolLTE(v string) predicate.Transaction

DestSymbolLTE applies the LTE predicate on the "dest_symbol" field.

func DestSymbolNEQ

func DestSymbolNEQ(v string) predicate.Transaction

DestSymbolNEQ applies the NEQ predicate on the "dest_symbol" field.

func DestSymbolNotIn

func DestSymbolNotIn(vs ...string) predicate.Transaction

DestSymbolNotIn applies the NotIn predicate on the "dest_symbol" field.

func Destination

func Destination(v string) predicate.Transaction

Destination applies equality check predicate on the "destination" field. It's identical to DestinationEQ.

func DestinationContains

func DestinationContains(v string) predicate.Transaction

DestinationContains applies the Contains predicate on the "destination" field.

func DestinationContainsFold

func DestinationContainsFold(v string) predicate.Transaction

DestinationContainsFold applies the ContainsFold predicate on the "destination" field.

func DestinationEQ

func DestinationEQ(v string) predicate.Transaction

DestinationEQ applies the EQ predicate on the "destination" field.

func DestinationEqualFold

func DestinationEqualFold(v string) predicate.Transaction

DestinationEqualFold applies the EqualFold predicate on the "destination" field.

func DestinationGT

func DestinationGT(v string) predicate.Transaction

DestinationGT applies the GT predicate on the "destination" field.

func DestinationGTE

func DestinationGTE(v string) predicate.Transaction

DestinationGTE applies the GTE predicate on the "destination" field.

func DestinationHasPrefix

func DestinationHasPrefix(v string) predicate.Transaction

DestinationHasPrefix applies the HasPrefix predicate on the "destination" field.

func DestinationHasSuffix

func DestinationHasSuffix(v string) predicate.Transaction

DestinationHasSuffix applies the HasSuffix predicate on the "destination" field.

func DestinationIn

func DestinationIn(vs ...string) predicate.Transaction

DestinationIn applies the In predicate on the "destination" field.

func DestinationLT

func DestinationLT(v string) predicate.Transaction

DestinationLT applies the LT predicate on the "destination" field.

func DestinationLTE

func DestinationLTE(v string) predicate.Transaction

DestinationLTE applies the LTE predicate on the "destination" field.

func DestinationNEQ

func DestinationNEQ(v string) predicate.Transaction

DestinationNEQ applies the NEQ predicate on the "destination" field.

func DestinationNotIn

func DestinationNotIn(vs ...string) predicate.Transaction

DestinationNotIn applies the NotIn predicate on the "destination" field.

func ID

func ID(id xid.ID) predicate.Transaction

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id xid.ID) predicate.Transaction

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id xid.ID) predicate.Transaction

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id xid.ID) predicate.Transaction

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...xid.ID) predicate.Transaction

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id xid.ID) predicate.Transaction

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id xid.ID) predicate.Transaction

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id xid.ID) predicate.Transaction

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...xid.ID) predicate.Transaction

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Transaction) predicate.Transaction

Or groups predicates with the OR operator between them.

func Rate

Rate applies equality check predicate on the "rate" field. It's identical to RateEQ.

func RateContains

func RateContains(v string) predicate.Transaction

RateContains applies the Contains predicate on the "rate" field.

func RateContainsFold

func RateContainsFold(v string) predicate.Transaction

RateContainsFold applies the ContainsFold predicate on the "rate" field.

func RateEQ

func RateEQ(v string) predicate.Transaction

RateEQ applies the EQ predicate on the "rate" field.

func RateEqualFold

func RateEqualFold(v string) predicate.Transaction

RateEqualFold applies the EqualFold predicate on the "rate" field.

func RateGT

func RateGT(v string) predicate.Transaction

RateGT applies the GT predicate on the "rate" field.

func RateGTE

func RateGTE(v string) predicate.Transaction

RateGTE applies the GTE predicate on the "rate" field.

func RateHasPrefix

func RateHasPrefix(v string) predicate.Transaction

RateHasPrefix applies the HasPrefix predicate on the "rate" field.

func RateHasSuffix

func RateHasSuffix(v string) predicate.Transaction

RateHasSuffix applies the HasSuffix predicate on the "rate" field.

func RateIn

func RateIn(vs ...string) predicate.Transaction

RateIn applies the In predicate on the "rate" field.

func RateLT

func RateLT(v string) predicate.Transaction

RateLT applies the LT predicate on the "rate" field.

func RateLTE

func RateLTE(v string) predicate.Transaction

RateLTE applies the LTE predicate on the "rate" field.

func RateNEQ

func RateNEQ(v string) predicate.Transaction

RateNEQ applies the NEQ predicate on the "rate" field.

func RateNotIn

func RateNotIn(vs ...string) predicate.Transaction

RateNotIn applies the NotIn predicate on the "rate" field.

func Source

func Source(v string) predicate.Transaction

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Transaction

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Transaction

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.Transaction

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Transaction

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.Transaction

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.Transaction

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Transaction

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Transaction

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceID

func SourceID(v string) predicate.Transaction

SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.

func SourceIDContains

func SourceIDContains(v string) predicate.Transaction

SourceIDContains applies the Contains predicate on the "source_id" field.

func SourceIDContainsFold

func SourceIDContainsFold(v string) predicate.Transaction

SourceIDContainsFold applies the ContainsFold predicate on the "source_id" field.

func SourceIDEQ

func SourceIDEQ(v string) predicate.Transaction

SourceIDEQ applies the EQ predicate on the "source_id" field.

func SourceIDEqualFold

func SourceIDEqualFold(v string) predicate.Transaction

SourceIDEqualFold applies the EqualFold predicate on the "source_id" field.

func SourceIDGT

func SourceIDGT(v string) predicate.Transaction

SourceIDGT applies the GT predicate on the "source_id" field.

func SourceIDGTE

func SourceIDGTE(v string) predicate.Transaction

SourceIDGTE applies the GTE predicate on the "source_id" field.

func SourceIDHasPrefix

func SourceIDHasPrefix(v string) predicate.Transaction

SourceIDHasPrefix applies the HasPrefix predicate on the "source_id" field.

func SourceIDHasSuffix

func SourceIDHasSuffix(v string) predicate.Transaction

SourceIDHasSuffix applies the HasSuffix predicate on the "source_id" field.

func SourceIDIn

func SourceIDIn(vs ...string) predicate.Transaction

SourceIDIn applies the In predicate on the "source_id" field.

func SourceIDLT

func SourceIDLT(v string) predicate.Transaction

SourceIDLT applies the LT predicate on the "source_id" field.

func SourceIDLTE

func SourceIDLTE(v string) predicate.Transaction

SourceIDLTE applies the LTE predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v string) predicate.Transaction

SourceIDNEQ applies the NEQ predicate on the "source_id" field.

func SourceIDNotIn

func SourceIDNotIn(vs ...string) predicate.Transaction

SourceIDNotIn applies the NotIn predicate on the "source_id" field.

func SourceIn

func SourceIn(vs ...string) predicate.Transaction

SourceIn applies the In predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.Transaction

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.Transaction

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Transaction

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.Transaction

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceService

func SourceService(v string) predicate.Transaction

SourceService applies equality check predicate on the "source_service" field. It's identical to SourceServiceEQ.

func SourceServiceContains

func SourceServiceContains(v string) predicate.Transaction

SourceServiceContains applies the Contains predicate on the "source_service" field.

func SourceServiceContainsFold

func SourceServiceContainsFold(v string) predicate.Transaction

SourceServiceContainsFold applies the ContainsFold predicate on the "source_service" field.

func SourceServiceEQ

func SourceServiceEQ(v string) predicate.Transaction

SourceServiceEQ applies the EQ predicate on the "source_service" field.

func SourceServiceEqualFold

func SourceServiceEqualFold(v string) predicate.Transaction

SourceServiceEqualFold applies the EqualFold predicate on the "source_service" field.

func SourceServiceGT

func SourceServiceGT(v string) predicate.Transaction

SourceServiceGT applies the GT predicate on the "source_service" field.

func SourceServiceGTE

func SourceServiceGTE(v string) predicate.Transaction

SourceServiceGTE applies the GTE predicate on the "source_service" field.

func SourceServiceHasPrefix

func SourceServiceHasPrefix(v string) predicate.Transaction

SourceServiceHasPrefix applies the HasPrefix predicate on the "source_service" field.

func SourceServiceHasSuffix

func SourceServiceHasSuffix(v string) predicate.Transaction

SourceServiceHasSuffix applies the HasSuffix predicate on the "source_service" field.

func SourceServiceIn

func SourceServiceIn(vs ...string) predicate.Transaction

SourceServiceIn applies the In predicate on the "source_service" field.

func SourceServiceLT

func SourceServiceLT(v string) predicate.Transaction

SourceServiceLT applies the LT predicate on the "source_service" field.

func SourceServiceLTE

func SourceServiceLTE(v string) predicate.Transaction

SourceServiceLTE applies the LTE predicate on the "source_service" field.

func SourceServiceNEQ

func SourceServiceNEQ(v string) predicate.Transaction

SourceServiceNEQ applies the NEQ predicate on the "source_service" field.

func SourceServiceNotIn

func SourceServiceNotIn(vs ...string) predicate.Transaction

SourceServiceNotIn applies the NotIn predicate on the "source_service" field.

func SrcAmount

func SrcAmount(v string) predicate.Transaction

SrcAmount applies equality check predicate on the "src_amount" field. It's identical to SrcAmountEQ.

func SrcAmountContains

func SrcAmountContains(v string) predicate.Transaction

SrcAmountContains applies the Contains predicate on the "src_amount" field.

func SrcAmountContainsFold

func SrcAmountContainsFold(v string) predicate.Transaction

SrcAmountContainsFold applies the ContainsFold predicate on the "src_amount" field.

func SrcAmountEQ

func SrcAmountEQ(v string) predicate.Transaction

SrcAmountEQ applies the EQ predicate on the "src_amount" field.

func SrcAmountEqualFold

func SrcAmountEqualFold(v string) predicate.Transaction

SrcAmountEqualFold applies the EqualFold predicate on the "src_amount" field.

func SrcAmountGT

func SrcAmountGT(v string) predicate.Transaction

SrcAmountGT applies the GT predicate on the "src_amount" field.

func SrcAmountGTE

func SrcAmountGTE(v string) predicate.Transaction

SrcAmountGTE applies the GTE predicate on the "src_amount" field.

func SrcAmountHasPrefix

func SrcAmountHasPrefix(v string) predicate.Transaction

SrcAmountHasPrefix applies the HasPrefix predicate on the "src_amount" field.

func SrcAmountHasSuffix

func SrcAmountHasSuffix(v string) predicate.Transaction

SrcAmountHasSuffix applies the HasSuffix predicate on the "src_amount" field.

func SrcAmountIn

func SrcAmountIn(vs ...string) predicate.Transaction

SrcAmountIn applies the In predicate on the "src_amount" field.

func SrcAmountLT

func SrcAmountLT(v string) predicate.Transaction

SrcAmountLT applies the LT predicate on the "src_amount" field.

func SrcAmountLTE

func SrcAmountLTE(v string) predicate.Transaction

SrcAmountLTE applies the LTE predicate on the "src_amount" field.

func SrcAmountNEQ

func SrcAmountNEQ(v string) predicate.Transaction

SrcAmountNEQ applies the NEQ predicate on the "src_amount" field.

func SrcAmountNotIn

func SrcAmountNotIn(vs ...string) predicate.Transaction

SrcAmountNotIn applies the NotIn predicate on the "src_amount" field.

func SrcSymbol

func SrcSymbol(v string) predicate.Transaction

SrcSymbol applies equality check predicate on the "src_symbol" field. It's identical to SrcSymbolEQ.

func SrcSymbolContains

func SrcSymbolContains(v string) predicate.Transaction

SrcSymbolContains applies the Contains predicate on the "src_symbol" field.

func SrcSymbolContainsFold

func SrcSymbolContainsFold(v string) predicate.Transaction

SrcSymbolContainsFold applies the ContainsFold predicate on the "src_symbol" field.

func SrcSymbolEQ

func SrcSymbolEQ(v string) predicate.Transaction

SrcSymbolEQ applies the EQ predicate on the "src_symbol" field.

func SrcSymbolEqualFold

func SrcSymbolEqualFold(v string) predicate.Transaction

SrcSymbolEqualFold applies the EqualFold predicate on the "src_symbol" field.

func SrcSymbolGT

func SrcSymbolGT(v string) predicate.Transaction

SrcSymbolGT applies the GT predicate on the "src_symbol" field.

func SrcSymbolGTE

func SrcSymbolGTE(v string) predicate.Transaction

SrcSymbolGTE applies the GTE predicate on the "src_symbol" field.

func SrcSymbolHasPrefix

func SrcSymbolHasPrefix(v string) predicate.Transaction

SrcSymbolHasPrefix applies the HasPrefix predicate on the "src_symbol" field.

func SrcSymbolHasSuffix

func SrcSymbolHasSuffix(v string) predicate.Transaction

SrcSymbolHasSuffix applies the HasSuffix predicate on the "src_symbol" field.

func SrcSymbolIn

func SrcSymbolIn(vs ...string) predicate.Transaction

SrcSymbolIn applies the In predicate on the "src_symbol" field.

func SrcSymbolLT

func SrcSymbolLT(v string) predicate.Transaction

SrcSymbolLT applies the LT predicate on the "src_symbol" field.

func SrcSymbolLTE

func SrcSymbolLTE(v string) predicate.Transaction

SrcSymbolLTE applies the LTE predicate on the "src_symbol" field.

func SrcSymbolNEQ

func SrcSymbolNEQ(v string) predicate.Transaction

SrcSymbolNEQ applies the NEQ predicate on the "src_symbol" field.

func SrcSymbolNotIn

func SrcSymbolNotIn(vs ...string) predicate.Transaction

SrcSymbolNotIn applies the NotIn predicate on the "src_symbol" field.

func Status

func Status(v string) predicate.Transaction

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Transaction

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Transaction

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Transaction

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Transaction

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Transaction

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Transaction

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Transaction

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Transaction

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Transaction

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Transaction

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Transaction

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Transaction

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Transaction

StatusNotIn applies the NotIn predicate on the "status" field.

func TransType

func TransType(v string) predicate.Transaction

TransType applies equality check predicate on the "trans_type" field. It's identical to TransTypeEQ.

func TransTypeContains

func TransTypeContains(v string) predicate.Transaction

TransTypeContains applies the Contains predicate on the "trans_type" field.

func TransTypeContainsFold

func TransTypeContainsFold(v string) predicate.Transaction

TransTypeContainsFold applies the ContainsFold predicate on the "trans_type" field.

func TransTypeEQ

func TransTypeEQ(v string) predicate.Transaction

TransTypeEQ applies the EQ predicate on the "trans_type" field.

func TransTypeEqualFold

func TransTypeEqualFold(v string) predicate.Transaction

TransTypeEqualFold applies the EqualFold predicate on the "trans_type" field.

func TransTypeGT

func TransTypeGT(v string) predicate.Transaction

TransTypeGT applies the GT predicate on the "trans_type" field.

func TransTypeGTE

func TransTypeGTE(v string) predicate.Transaction

TransTypeGTE applies the GTE predicate on the "trans_type" field.

func TransTypeHasPrefix

func TransTypeHasPrefix(v string) predicate.Transaction

TransTypeHasPrefix applies the HasPrefix predicate on the "trans_type" field.

func TransTypeHasSuffix

func TransTypeHasSuffix(v string) predicate.Transaction

TransTypeHasSuffix applies the HasSuffix predicate on the "trans_type" field.

func TransTypeIn

func TransTypeIn(vs ...string) predicate.Transaction

TransTypeIn applies the In predicate on the "trans_type" field.

func TransTypeLT

func TransTypeLT(v string) predicate.Transaction

TransTypeLT applies the LT predicate on the "trans_type" field.

func TransTypeLTE

func TransTypeLTE(v string) predicate.Transaction

TransTypeLTE applies the LTE predicate on the "trans_type" field.

func TransTypeNEQ

func TransTypeNEQ(v string) predicate.Transaction

TransTypeNEQ applies the NEQ predicate on the "trans_type" field.

func TransTypeNotIn

func TransTypeNotIn(vs ...string) predicate.Transaction

TransTypeNotIn applies the NotIn predicate on the "trans_type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Transaction

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Transaction

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Transaction

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Transaction

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Transaction

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Transaction

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Transaction

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Transaction

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Transaction

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 Transaction queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDestAmount

func ByDestAmount(opts ...sql.OrderTermOption) OrderOption

ByDestAmount orders the results by the dest_amount field.

func ByDestSymbol

func ByDestSymbol(opts ...sql.OrderTermOption) OrderOption

ByDestSymbol orders the results by the dest_symbol field.

func ByDestination

func ByDestination(opts ...sql.OrderTermOption) OrderOption

ByDestination orders the results by the destination field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByRate

func ByRate(opts ...sql.OrderTermOption) OrderOption

ByRate orders the results by the rate field.

func BySource

func BySource(opts ...sql.OrderTermOption) OrderOption

BySource orders the results by the source field.

func BySourceID

func BySourceID(opts ...sql.OrderTermOption) OrderOption

BySourceID orders the results by the source_id field.

func BySourceService

func BySourceService(opts ...sql.OrderTermOption) OrderOption

BySourceService orders the results by the source_service field.

func BySrcAmount

func BySrcAmount(opts ...sql.OrderTermOption) OrderOption

BySrcAmount orders the results by the src_amount field.

func BySrcSymbol

func BySrcSymbol(opts ...sql.OrderTermOption) OrderOption

BySrcSymbol orders the results by the src_symbol field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTransType

func ByTransType(opts ...sql.OrderTermOption) OrderOption

ByTransType orders the results by the trans_type field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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