package
0.13.0
Repository: https://github.com/timeleaplabs/unchained.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
Asset applies equality check predicate on the "asset" field.
AssetContains applies the Contains predicate on the "asset" field.
AssetContainsFold applies the ContainsFold predicate on the "asset" field.
AssetEQ applies the EQ predicate on the "asset" field.
AssetEqualFold applies the EqualFold predicate on the "asset" field.
AssetGT applies the GT predicate on the "asset" field.
AssetGTE applies the GTE predicate on the "asset" field.
AssetHasPrefix applies the HasPrefix predicate on the "asset" field.
AssetHasSuffix applies the HasSuffix predicate on the "asset" field.
AssetIn applies the In predicate on the "asset" field.
AssetIsNil applies the IsNil predicate on the "asset" field.
AssetLT applies the LT predicate on the "asset" field.
AssetLTE applies the LTE predicate on the "asset" field.
AssetNEQ applies the NEQ predicate on the "asset" field.
AssetNotIn applies the NotIn predicate on the "asset" field.
AssetNotNil applies the NotNil predicate on the "asset" field.
Block applies equality check predicate on the "block" field.
BlockEQ applies the EQ predicate on the "block" field.
BlockGT applies the GT predicate on the "block" field.
BlockGTE applies the GTE predicate on the "block" field.
BlockIn applies the In predicate on the "block" field.
BlockLT applies the LT predicate on the "block" field.
BlockLTE applies the LTE predicate on the "block" field.
BlockNEQ applies the NEQ predicate on the "block" field.
BlockNotIn applies the NotIn predicate on the "block" field.
ByAsset orders the results by the asset field.
ByBlock orders the results by the block field.
ByChain orders the results by the chain field.
ByConsensus orders the results by the consensus field.
ByID orders the results by the id field.
ByPair orders the results by the pair field.
ByPrice orders the results by the price field.
BySigners orders the results by signers terms.
BySignersCount orders the results by signers count.
BySignersCountField orders the results by the signersCount field.
ByVoted orders the results by the voted field.
Chain applies equality check predicate on the "chain" field.
ChainContains applies the Contains predicate on the "chain" field.
ChainContainsFold applies the ContainsFold predicate on the "chain" field.
ChainEQ applies the EQ predicate on the "chain" field.
ChainEqualFold applies the EqualFold predicate on the "chain" field.
ChainGT applies the GT predicate on the "chain" field.
ChainGTE applies the GTE predicate on the "chain" field.
ChainHasPrefix applies the HasPrefix predicate on the "chain" field.
ChainHasSuffix applies the HasSuffix predicate on the "chain" field.
ChainIn applies the In predicate on the "chain" field.
ChainIsNil applies the IsNil predicate on the "chain" field.
ChainLT applies the LT predicate on the "chain" field.
ChainLTE applies the LTE predicate on the "chain" field.
ChainNEQ applies the NEQ predicate on the "chain" field.
ChainNotIn applies the NotIn predicate on the "chain" field.
ChainNotNil applies the NotNil predicate on the "chain" field.
Consensus applies equality check predicate on the "consensus" field.
ConsensusEQ applies the EQ predicate on the "consensus" field.
ConsensusNEQ applies the NEQ predicate on the "consensus" field.
HasSigners applies the HasEdge predicate on the "signers" edge.
HasSignersWith applies the HasEdge predicate on the "signers" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Pair applies equality check predicate on the "pair" field.
PairContains applies the Contains predicate on the "pair" field.
PairContainsFold applies the ContainsFold predicate on the "pair" field.
PairEQ applies the EQ predicate on the "pair" field.
PairEqualFold applies the EqualFold predicate on the "pair" field.
PairGT applies the GT predicate on the "pair" field.
PairGTE applies the GTE predicate on the "pair" field.
PairHasPrefix applies the HasPrefix predicate on the "pair" field.
PairHasSuffix applies the HasSuffix predicate on the "pair" field.
PairIn applies the In predicate on the "pair" field.
PairIsNil applies the IsNil predicate on the "pair" field.
PairLT applies the LT predicate on the "pair" field.
PairLTE applies the LTE predicate on the "pair" field.
PairNEQ applies the NEQ predicate on the "pair" field.
PairNotIn applies the NotIn predicate on the "pair" field.
PairNotNil applies the NotNil predicate on the "pair" field.
Price applies equality check predicate on the "price" field.
PriceEQ applies the EQ predicate on the "price" field.
PriceGT applies the GT predicate on the "price" field.
PriceGTE applies the GTE predicate on the "price" field.
PriceIn applies the In predicate on the "price" field.
PriceLT applies the LT predicate on the "price" field.
PriceLTE applies the LTE predicate on the "price" field.
PriceNEQ applies the NEQ predicate on the "price" field.
PriceNotIn applies the NotIn predicate on the "price" field.
Signature applies equality check predicate on the "signature" field.
SignatureEQ applies the EQ predicate on the "signature" field.
SignatureGT applies the GT predicate on the "signature" field.
SignatureGTE applies the GTE predicate on the "signature" field.
SignatureIn applies the In predicate on the "signature" field.
SignatureLT applies the LT predicate on the "signature" field.
SignatureLTE applies the LTE predicate on the "signature" field.
SignatureNEQ applies the NEQ predicate on the "signature" field.
SignatureNotIn applies the NotIn predicate on the "signature" field.
SignersCount applies equality check predicate on the "signersCount" field.
SignersCountEQ applies the EQ predicate on the "signersCount" field.
SignersCountGT applies the GT predicate on the "signersCount" field.
SignersCountGTE applies the GTE predicate on the "signersCount" field.
SignersCountIn applies the In predicate on the "signersCount" field.
SignersCountIsNil applies the IsNil predicate on the "signersCount" field.
SignersCountLT applies the LT predicate on the "signersCount" field.
SignersCountLTE applies the LTE predicate on the "signersCount" field.
SignersCountNEQ applies the NEQ predicate on the "signersCount" field.
SignersCountNotIn applies the NotIn predicate on the "signersCount" field.
SignersCountNotNil applies the NotNil predicate on the "signersCount" field.
ValidColumn reports if the column name is valid (part of the table columns).
Voted applies equality check predicate on the "voted" field.
VotedEQ applies the EQ predicate on the "voted" field.
VotedGT applies the GT predicate on the "voted" field.
VotedGTE applies the GTE predicate on the "voted" field.
VotedIn applies the In predicate on the "voted" field.
VotedLT applies the LT predicate on the "voted" field.
VotedLTE applies the LTE predicate on the "voted" field.
VotedNEQ applies the NEQ predicate on the "voted" field.
VotedNotIn applies the NotIn predicate on the "voted" field.

# Constants

EdgeSigners holds the string denoting the signers edge name in mutations.
FieldAsset holds the string denoting the asset field in the database.
FieldBlock holds the string denoting the block field in the database.
FieldChain holds the string denoting the chain field in the database.
FieldConsensus holds the string denoting the consensus field in the database.
FieldID holds the string denoting the id field in the database.
FieldPair holds the string denoting the pair field in the database.
FieldPrice holds the string denoting the price field in the database.
FieldSignature holds the string denoting the signature field in the database.
FieldSignersCount holds the string denoting the signerscount field in the database.
FieldVoted holds the string denoting the voted field in the database.
Label holds the string label denoting the assetprice type in the database.
SignersInverseTable is the table name for the Signer entity.
SignersTable is the table that holds the signers relation/edge.
Table holds the table name of the assetprice in the database.

# Variables

Columns holds all SQL columns for assetprice fields.
DefaultConsensus holds the default value on creation for the "consensus" field.
SignatureValidator is a validator for the "signature" field.
SignersPrimaryKey and SignersColumn2 are the table columns denoting the primary key for the signers relation (M2M).

# Type aliases

OrderOption defines the ordering options for the AssetPrice queries.