dailyassetprice

package
v0.0.0-...-8b6722b Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the dailyassetprice type in the database.
	Label = "daily_asset_price"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// FieldOpen holds the string denoting the open field in the database.
	FieldOpen = "open"
	// FieldHigh holds the string denoting the high field in the database.
	FieldHigh = "high"
	// FieldLow holds the string denoting the low field in the database.
	FieldLow = "low"
	// FieldClose holds the string denoting the close field in the database.
	FieldClose = "close"
	// FieldAdjustedClose holds the string denoting the adjusted_close field in the database.
	FieldAdjustedClose = "adjusted_close"
	// FieldAssetID holds the string denoting the asset_id field in the database.
	FieldAssetID = "asset_id"
	// EdgeAsset holds the string denoting the asset edge name in mutations.
	EdgeAsset = "asset"
	// Table holds the table name of the dailyassetprice in the database.
	Table = "daily_asset_prices"
	// AssetTable is the table that holds the asset relation/edge.
	AssetTable = "daily_asset_prices"
	// AssetInverseTable is the table name for the Asset entity.
	// It exists in this package in order to avoid circular dependency with the "asset" package.
	AssetInverseTable = "assets"
	// AssetColumn is the table column denoting the asset relation/edge.
	AssetColumn = "asset_id"
)

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
	// UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field.
	UpdateDefaultDeletedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() pulid.PULID
)

Columns holds all SQL columns for dailyassetprice fields.

Functions

func AdjustedClose

func AdjustedClose(v float64) predicate.DailyAssetPrice

AdjustedClose applies equality check predicate on the "adjusted_close" field. It's identical to AdjustedCloseEQ.

func AdjustedCloseEQ

func AdjustedCloseEQ(v float64) predicate.DailyAssetPrice

AdjustedCloseEQ applies the EQ predicate on the "adjusted_close" field.

func AdjustedCloseGT

func AdjustedCloseGT(v float64) predicate.DailyAssetPrice

AdjustedCloseGT applies the GT predicate on the "adjusted_close" field.

func AdjustedCloseGTE

func AdjustedCloseGTE(v float64) predicate.DailyAssetPrice

AdjustedCloseGTE applies the GTE predicate on the "adjusted_close" field.

func AdjustedCloseIn

func AdjustedCloseIn(vs ...float64) predicate.DailyAssetPrice

AdjustedCloseIn applies the In predicate on the "adjusted_close" field.

func AdjustedCloseLT

func AdjustedCloseLT(v float64) predicate.DailyAssetPrice

AdjustedCloseLT applies the LT predicate on the "adjusted_close" field.

func AdjustedCloseLTE

func AdjustedCloseLTE(v float64) predicate.DailyAssetPrice

AdjustedCloseLTE applies the LTE predicate on the "adjusted_close" field.

func AdjustedCloseNEQ

func AdjustedCloseNEQ(v float64) predicate.DailyAssetPrice

AdjustedCloseNEQ applies the NEQ predicate on the "adjusted_close" field.

func AdjustedCloseNotIn

func AdjustedCloseNotIn(vs ...float64) predicate.DailyAssetPrice

AdjustedCloseNotIn applies the NotIn predicate on the "adjusted_close" field.

func And

And groups predicates with the AND operator between them.

func AssetID

AssetID applies equality check predicate on the "asset_id" field. It's identical to AssetIDEQ.

func AssetIDContains

func AssetIDContains(v pulid.PULID) predicate.DailyAssetPrice

AssetIDContains applies the Contains predicate on the "asset_id" field.

func AssetIDContainsFold

func AssetIDContainsFold(v pulid.PULID) predicate.DailyAssetPrice

AssetIDContainsFold applies the ContainsFold predicate on the "asset_id" field.

func AssetIDEQ

func AssetIDEQ(v pulid.PULID) predicate.DailyAssetPrice

AssetIDEQ applies the EQ predicate on the "asset_id" field.

func AssetIDEqualFold

func AssetIDEqualFold(v pulid.PULID) predicate.DailyAssetPrice

AssetIDEqualFold applies the EqualFold predicate on the "asset_id" field.

func AssetIDGT

func AssetIDGT(v pulid.PULID) predicate.DailyAssetPrice

AssetIDGT applies the GT predicate on the "asset_id" field.

func AssetIDGTE

func AssetIDGTE(v pulid.PULID) predicate.DailyAssetPrice

AssetIDGTE applies the GTE predicate on the "asset_id" field.

func AssetIDHasPrefix

func AssetIDHasPrefix(v pulid.PULID) predicate.DailyAssetPrice

AssetIDHasPrefix applies the HasPrefix predicate on the "asset_id" field.

func AssetIDHasSuffix

func AssetIDHasSuffix(v pulid.PULID) predicate.DailyAssetPrice

AssetIDHasSuffix applies the HasSuffix predicate on the "asset_id" field.

func AssetIDIn

func AssetIDIn(vs ...pulid.PULID) predicate.DailyAssetPrice

AssetIDIn applies the In predicate on the "asset_id" field.

func AssetIDLT

func AssetIDLT(v pulid.PULID) predicate.DailyAssetPrice

AssetIDLT applies the LT predicate on the "asset_id" field.

func AssetIDLTE

func AssetIDLTE(v pulid.PULID) predicate.DailyAssetPrice

AssetIDLTE applies the LTE predicate on the "asset_id" field.

func AssetIDNEQ

func AssetIDNEQ(v pulid.PULID) predicate.DailyAssetPrice

AssetIDNEQ applies the NEQ predicate on the "asset_id" field.

func AssetIDNotIn

func AssetIDNotIn(vs ...pulid.PULID) predicate.DailyAssetPrice

AssetIDNotIn applies the NotIn predicate on the "asset_id" field.

func Close

Close applies equality check predicate on the "close" field. It's identical to CloseEQ.

func CloseEQ

CloseEQ applies the EQ predicate on the "close" field.

func CloseGT

CloseGT applies the GT predicate on the "close" field.

func CloseGTE

func CloseGTE(v float64) predicate.DailyAssetPrice

CloseGTE applies the GTE predicate on the "close" field.

func CloseIn

func CloseIn(vs ...float64) predicate.DailyAssetPrice

CloseIn applies the In predicate on the "close" field.

func CloseIsNil

func CloseIsNil() predicate.DailyAssetPrice

CloseIsNil applies the IsNil predicate on the "close" field.

func CloseLT

CloseLT applies the LT predicate on the "close" field.

func CloseLTE

func CloseLTE(v float64) predicate.DailyAssetPrice

CloseLTE applies the LTE predicate on the "close" field.

func CloseNEQ

func CloseNEQ(v float64) predicate.DailyAssetPrice

CloseNEQ applies the NEQ predicate on the "close" field.

func CloseNotIn

func CloseNotIn(vs ...float64) predicate.DailyAssetPrice

CloseNotIn applies the NotIn predicate on the "close" field.

func CloseNotNil

func CloseNotNil() predicate.DailyAssetPrice

CloseNotNil applies the NotNil predicate on the "close" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DailyAssetPrice

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.DailyAssetPrice

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.DailyAssetPrice

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.DailyAssetPrice

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.DailyAssetPrice

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.DailyAssetPrice

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.DailyAssetPrice

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.DailyAssetPrice

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.DailyAssetPrice

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.DailyAssetPrice

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.DailyAssetPrice

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.DailyAssetPrice

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func HasAsset

func HasAsset() predicate.DailyAssetPrice

HasAsset applies the HasEdge predicate on the "asset" edge.

func HasAssetWith

func HasAssetWith(preds ...predicate.Asset) predicate.DailyAssetPrice

HasAssetWith applies the HasEdge predicate on the "asset" edge with a given conditions (other predicates).

func High

High applies equality check predicate on the "high" field. It's identical to HighEQ.

func HighEQ

HighEQ applies the EQ predicate on the "high" field.

func HighGT

HighGT applies the GT predicate on the "high" field.

func HighGTE

HighGTE applies the GTE predicate on the "high" field.

func HighIn

func HighIn(vs ...float64) predicate.DailyAssetPrice

HighIn applies the In predicate on the "high" field.

func HighIsNil

func HighIsNil() predicate.DailyAssetPrice

HighIsNil applies the IsNil predicate on the "high" field.

func HighLT

HighLT applies the LT predicate on the "high" field.

func HighLTE

HighLTE applies the LTE predicate on the "high" field.

func HighNEQ

HighNEQ applies the NEQ predicate on the "high" field.

func HighNotIn

func HighNotIn(vs ...float64) predicate.DailyAssetPrice

HighNotIn applies the NotIn predicate on the "high" field.

func HighNotNil

func HighNotNil() predicate.DailyAssetPrice

HighNotNil applies the NotNil predicate on the "high" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...pulid.PULID) predicate.DailyAssetPrice

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...pulid.PULID) predicate.DailyAssetPrice

IDNotIn applies the NotIn predicate on the ID field.

func Low

Low applies equality check predicate on the "low" field. It's identical to LowEQ.

func LowEQ

LowEQ applies the EQ predicate on the "low" field.

func LowGT

LowGT applies the GT predicate on the "low" field.

func LowGTE

LowGTE applies the GTE predicate on the "low" field.

func LowIn

func LowIn(vs ...float64) predicate.DailyAssetPrice

LowIn applies the In predicate on the "low" field.

func LowIsNil

func LowIsNil() predicate.DailyAssetPrice

LowIsNil applies the IsNil predicate on the "low" field.

func LowLT

LowLT applies the LT predicate on the "low" field.

func LowLTE

LowLTE applies the LTE predicate on the "low" field.

func LowNEQ

LowNEQ applies the NEQ predicate on the "low" field.

func LowNotIn

func LowNotIn(vs ...float64) predicate.DailyAssetPrice

LowNotIn applies the NotIn predicate on the "low" field.

func LowNotNil

func LowNotNil() predicate.DailyAssetPrice

LowNotNil applies the NotNil predicate on the "low" field.

func Not

Not applies the not operator on the given predicate.

func Open

Open applies equality check predicate on the "open" field. It's identical to OpenEQ.

func OpenEQ

OpenEQ applies the EQ predicate on the "open" field.

func OpenGT

OpenGT applies the GT predicate on the "open" field.

func OpenGTE

OpenGTE applies the GTE predicate on the "open" field.

func OpenIn

func OpenIn(vs ...float64) predicate.DailyAssetPrice

OpenIn applies the In predicate on the "open" field.

func OpenIsNil

func OpenIsNil() predicate.DailyAssetPrice

OpenIsNil applies the IsNil predicate on the "open" field.

func OpenLT

OpenLT applies the LT predicate on the "open" field.

func OpenLTE

OpenLTE applies the LTE predicate on the "open" field.

func OpenNEQ

OpenNEQ applies the NEQ predicate on the "open" field.

func OpenNotIn

func OpenNotIn(vs ...float64) predicate.DailyAssetPrice

OpenNotIn applies the NotIn predicate on the "open" field.

func OpenNotNil

func OpenNotNil() predicate.DailyAssetPrice

OpenNotNil applies the NotNil predicate on the "open" field.

func Or

Or groups predicates with the OR operator between them.

func Time

Time applies equality check predicate on the "time" field. It's identical to TimeEQ.

func TimeEQ

TimeEQ applies the EQ predicate on the "time" field.

func TimeGT

TimeGT applies the GT predicate on the "time" field.

func TimeGTE

TimeGTE applies the GTE predicate on the "time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.DailyAssetPrice

TimeIn applies the In predicate on the "time" field.

func TimeLT

TimeLT applies the LT predicate on the "time" field.

func TimeLTE

TimeLTE applies the LTE predicate on the "time" field.

func TimeNEQ

TimeNEQ applies the NEQ predicate on the "time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.DailyAssetPrice

TimeNotIn applies the NotIn predicate on the "time" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DailyAssetPrice

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

func UpdatedAtNotIn

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

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

This section is empty.

Jump to

Keyboard shortcuts

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