Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.IcoRound) predicate.IcoRound
- func BoughtToken(v string) predicate.IcoRound
- func BoughtTokenContains(v string) predicate.IcoRound
- func BoughtTokenContainsFold(v string) predicate.IcoRound
- func BoughtTokenEQ(v string) predicate.IcoRound
- func BoughtTokenEqualFold(v string) predicate.IcoRound
- func BoughtTokenGT(v string) predicate.IcoRound
- func BoughtTokenGTE(v string) predicate.IcoRound
- func BoughtTokenHasPrefix(v string) predicate.IcoRound
- func BoughtTokenHasSuffix(v string) predicate.IcoRound
- func BoughtTokenIn(vs ...string) predicate.IcoRound
- func BoughtTokenLT(v string) predicate.IcoRound
- func BoughtTokenLTE(v string) predicate.IcoRound
- func BoughtTokenNEQ(v string) predicate.IcoRound
- func BoughtTokenNotIn(vs ...string) predicate.IcoRound
- func CreatedAt(v time.Time) predicate.IcoRound
- func CreatedAtEQ(v time.Time) predicate.IcoRound
- func CreatedAtGT(v time.Time) predicate.IcoRound
- func CreatedAtGTE(v time.Time) predicate.IcoRound
- func CreatedAtIn(vs ...time.Time) predicate.IcoRound
- func CreatedAtLT(v time.Time) predicate.IcoRound
- func CreatedAtLTE(v time.Time) predicate.IcoRound
- func CreatedAtNEQ(v time.Time) predicate.IcoRound
- func CreatedAtNotIn(vs ...time.Time) predicate.IcoRound
- func EndAt(v time.Time) predicate.IcoRound
- func EndAtEQ(v time.Time) predicate.IcoRound
- func EndAtGT(v time.Time) predicate.IcoRound
- func EndAtGTE(v time.Time) predicate.IcoRound
- func EndAtIn(vs ...time.Time) predicate.IcoRound
- func EndAtIsNil() predicate.IcoRound
- func EndAtLT(v time.Time) predicate.IcoRound
- func EndAtLTE(v time.Time) predicate.IcoRound
- func EndAtNEQ(v time.Time) predicate.IcoRound
- func EndAtNotIn(vs ...time.Time) predicate.IcoRound
- func EndAtNotNil() predicate.IcoRound
- func ID(id xid.ID) predicate.IcoRound
- func IDEQ(id xid.ID) predicate.IcoRound
- func IDGT(id xid.ID) predicate.IcoRound
- func IDGTE(id xid.ID) predicate.IcoRound
- func IDIn(ids ...xid.ID) predicate.IcoRound
- func IDLT(id xid.ID) predicate.IcoRound
- func IDLTE(id xid.ID) predicate.IcoRound
- func IDNEQ(id xid.ID) predicate.IcoRound
- func IDNotIn(ids ...xid.ID) predicate.IcoRound
- func IsClose(v bool) predicate.IcoRound
- func IsCloseEQ(v bool) predicate.IcoRound
- func IsCloseNEQ(v bool) predicate.IcoRound
- func Not(p predicate.IcoRound) predicate.IcoRound
- func NumToken(v string) predicate.IcoRound
- func NumTokenContains(v string) predicate.IcoRound
- func NumTokenContainsFold(v string) predicate.IcoRound
- func NumTokenEQ(v string) predicate.IcoRound
- func NumTokenEqualFold(v string) predicate.IcoRound
- func NumTokenGT(v string) predicate.IcoRound
- func NumTokenGTE(v string) predicate.IcoRound
- func NumTokenHasPrefix(v string) predicate.IcoRound
- func NumTokenHasSuffix(v string) predicate.IcoRound
- func NumTokenIn(vs ...string) predicate.IcoRound
- func NumTokenLT(v string) predicate.IcoRound
- func NumTokenLTE(v string) predicate.IcoRound
- func NumTokenNEQ(v string) predicate.IcoRound
- func NumTokenNotIn(vs ...string) predicate.IcoRound
- func Or(predicates ...predicate.IcoRound) predicate.IcoRound
- func Price(v string) predicate.IcoRound
- func PriceContains(v string) predicate.IcoRound
- func PriceContainsFold(v string) predicate.IcoRound
- func PriceEQ(v string) predicate.IcoRound
- func PriceEqualFold(v string) predicate.IcoRound
- func PriceGT(v string) predicate.IcoRound
- func PriceGTE(v string) predicate.IcoRound
- func PriceHasPrefix(v string) predicate.IcoRound
- func PriceHasSuffix(v string) predicate.IcoRound
- func PriceIn(vs ...string) predicate.IcoRound
- func PriceLT(v string) predicate.IcoRound
- func PriceLTE(v string) predicate.IcoRound
- func PriceNEQ(v string) predicate.IcoRound
- func PriceNotIn(vs ...string) predicate.IcoRound
- func RoundID(v int32) predicate.IcoRound
- func RoundIDEQ(v int32) predicate.IcoRound
- func RoundIDGT(v int32) predicate.IcoRound
- func RoundIDGTE(v int32) predicate.IcoRound
- func RoundIDIn(vs ...int32) predicate.IcoRound
- func RoundIDLT(v int32) predicate.IcoRound
- func RoundIDLTE(v int32) predicate.IcoRound
- func RoundIDNEQ(v int32) predicate.IcoRound
- func RoundIDNotIn(vs ...int32) predicate.IcoRound
- func StartAt(v time.Time) predicate.IcoRound
- func StartAtEQ(v time.Time) predicate.IcoRound
- func StartAtGT(v time.Time) predicate.IcoRound
- func StartAtGTE(v time.Time) predicate.IcoRound
- func StartAtIn(vs ...time.Time) predicate.IcoRound
- func StartAtIsNil() predicate.IcoRound
- func StartAtLT(v time.Time) predicate.IcoRound
- func StartAtLTE(v time.Time) predicate.IcoRound
- func StartAtNEQ(v time.Time) predicate.IcoRound
- func StartAtNotIn(vs ...time.Time) predicate.IcoRound
- func StartAtNotNil() predicate.IcoRound
- func SubRound(v int32) predicate.IcoRound
- func SubRoundEQ(v int32) predicate.IcoRound
- func SubRoundGT(v int32) predicate.IcoRound
- func SubRoundGTE(v int32) predicate.IcoRound
- func SubRoundIn(vs ...int32) predicate.IcoRound
- func SubRoundLT(v int32) predicate.IcoRound
- func SubRoundLTE(v int32) predicate.IcoRound
- func SubRoundNEQ(v int32) predicate.IcoRound
- func SubRoundNotIn(vs ...int32) predicate.IcoRound
- func UpdatedAt(v time.Time) predicate.IcoRound
- func UpdatedAtEQ(v time.Time) predicate.IcoRound
- func UpdatedAtGT(v time.Time) predicate.IcoRound
- func UpdatedAtGTE(v time.Time) predicate.IcoRound
- func UpdatedAtIn(vs ...time.Time) predicate.IcoRound
- func UpdatedAtLT(v time.Time) predicate.IcoRound
- func UpdatedAtLTE(v time.Time) predicate.IcoRound
- func UpdatedAtNEQ(v time.Time) predicate.IcoRound
- func UpdatedAtNotIn(vs ...time.Time) predicate.IcoRound
- func ValidColumn(column string) bool
- type OrderOption
- func ByBoughtToken(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEndAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsClose(opts ...sql.OrderTermOption) OrderOption
- func ByNumToken(opts ...sql.OrderTermOption) OrderOption
- func ByPrice(opts ...sql.OrderTermOption) OrderOption
- func ByRoundID(opts ...sql.OrderTermOption) OrderOption
- func ByStartAt(opts ...sql.OrderTermOption) OrderOption
- func BySubRound(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the icoround type in the database. Label = "ico_round" // 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" // FieldRoundID holds the string denoting the round_id field in the database. FieldRoundID = "round_id" // FieldSubRound holds the string denoting the sub_round field in the database. FieldSubRound = "sub_round" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldNumToken holds the string denoting the num_token field in the database. FieldNumToken = "num_token" // FieldBoughtToken holds the string denoting the bought_token field in the database. FieldBoughtToken = "bought_token" // FieldStartAt holds the string denoting the start_at field in the database. FieldStartAt = "start_at" // FieldEndAt holds the string denoting the end_at field in the database. FieldEndAt = "end_at" // FieldIsClose holds the string denoting the is_close field in the database. FieldIsClose = "is_close" // Table holds the table name of the icoround in the database. Table = "ico_rounds" )
Variables ¶
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 // DefaultIsClose holds the default value on creation for the "is_close" field. DefaultIsClose bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() xid.ID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldRoundID, FieldSubRound, FieldPrice, FieldNumToken, FieldBoughtToken, FieldStartAt, FieldEndAt, FieldIsClose, }
Columns holds all SQL columns for icoround fields.
Functions ¶
func BoughtToken ¶
BoughtToken applies equality check predicate on the "bought_token" field. It's identical to BoughtTokenEQ.
func BoughtTokenContains ¶
BoughtTokenContains applies the Contains predicate on the "bought_token" field.
func BoughtTokenContainsFold ¶
BoughtTokenContainsFold applies the ContainsFold predicate on the "bought_token" field.
func BoughtTokenEQ ¶
BoughtTokenEQ applies the EQ predicate on the "bought_token" field.
func BoughtTokenEqualFold ¶
BoughtTokenEqualFold applies the EqualFold predicate on the "bought_token" field.
func BoughtTokenGT ¶
BoughtTokenGT applies the GT predicate on the "bought_token" field.
func BoughtTokenGTE ¶
BoughtTokenGTE applies the GTE predicate on the "bought_token" field.
func BoughtTokenHasPrefix ¶
BoughtTokenHasPrefix applies the HasPrefix predicate on the "bought_token" field.
func BoughtTokenHasSuffix ¶
BoughtTokenHasSuffix applies the HasSuffix predicate on the "bought_token" field.
func BoughtTokenIn ¶
BoughtTokenIn applies the In predicate on the "bought_token" field.
func BoughtTokenLT ¶
BoughtTokenLT applies the LT predicate on the "bought_token" field.
func BoughtTokenLTE ¶
BoughtTokenLTE applies the LTE predicate on the "bought_token" field.
func BoughtTokenNEQ ¶
BoughtTokenNEQ applies the NEQ predicate on the "bought_token" field.
func BoughtTokenNotIn ¶
BoughtTokenNotIn applies the NotIn predicate on the "bought_token" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EndAt ¶
EndAt applies equality check predicate on the "end_at" field. It's identical to EndAtEQ.
func EndAtIsNil ¶
EndAtIsNil applies the IsNil predicate on the "end_at" field.
func EndAtNotIn ¶
EndAtNotIn applies the NotIn predicate on the "end_at" field.
func EndAtNotNil ¶
EndAtNotNil applies the NotNil predicate on the "end_at" field.
func IsClose ¶
IsClose applies equality check predicate on the "is_close" field. It's identical to IsCloseEQ.
func IsCloseNEQ ¶
IsCloseNEQ applies the NEQ predicate on the "is_close" field.
func NumToken ¶
NumToken applies equality check predicate on the "num_token" field. It's identical to NumTokenEQ.
func NumTokenContains ¶
NumTokenContains applies the Contains predicate on the "num_token" field.
func NumTokenContainsFold ¶
NumTokenContainsFold applies the ContainsFold predicate on the "num_token" field.
func NumTokenEQ ¶
NumTokenEQ applies the EQ predicate on the "num_token" field.
func NumTokenEqualFold ¶
NumTokenEqualFold applies the EqualFold predicate on the "num_token" field.
func NumTokenGT ¶
NumTokenGT applies the GT predicate on the "num_token" field.
func NumTokenGTE ¶
NumTokenGTE applies the GTE predicate on the "num_token" field.
func NumTokenHasPrefix ¶
NumTokenHasPrefix applies the HasPrefix predicate on the "num_token" field.
func NumTokenHasSuffix ¶
NumTokenHasSuffix applies the HasSuffix predicate on the "num_token" field.
func NumTokenIn ¶
NumTokenIn applies the In predicate on the "num_token" field.
func NumTokenLT ¶
NumTokenLT applies the LT predicate on the "num_token" field.
func NumTokenLTE ¶
NumTokenLTE applies the LTE predicate on the "num_token" field.
func NumTokenNEQ ¶
NumTokenNEQ applies the NEQ predicate on the "num_token" field.
func NumTokenNotIn ¶
NumTokenNotIn applies the NotIn predicate on the "num_token" field.
func Price ¶
Price applies equality check predicate on the "price" field. It's identical to PriceEQ.
func PriceContains ¶
PriceContains applies the Contains predicate on the "price" field.
func PriceContainsFold ¶
PriceContainsFold applies the ContainsFold predicate on the "price" field.
func PriceEqualFold ¶
PriceEqualFold applies the EqualFold predicate on the "price" field.
func PriceHasPrefix ¶
PriceHasPrefix applies the HasPrefix predicate on the "price" field.
func PriceHasSuffix ¶
PriceHasSuffix applies the HasSuffix predicate on the "price" field.
func PriceNotIn ¶
PriceNotIn applies the NotIn predicate on the "price" field.
func RoundID ¶
RoundID applies equality check predicate on the "round_id" field. It's identical to RoundIDEQ.
func RoundIDGTE ¶
RoundIDGTE applies the GTE predicate on the "round_id" field.
func RoundIDLTE ¶
RoundIDLTE applies the LTE predicate on the "round_id" field.
func RoundIDNEQ ¶
RoundIDNEQ applies the NEQ predicate on the "round_id" field.
func RoundIDNotIn ¶
RoundIDNotIn applies the NotIn predicate on the "round_id" field.
func StartAt ¶
StartAt applies equality check predicate on the "start_at" field. It's identical to StartAtEQ.
func StartAtGTE ¶
StartAtGTE applies the GTE predicate on the "start_at" field.
func StartAtIsNil ¶
StartAtIsNil applies the IsNil predicate on the "start_at" field.
func StartAtLTE ¶
StartAtLTE applies the LTE predicate on the "start_at" field.
func StartAtNEQ ¶
StartAtNEQ applies the NEQ predicate on the "start_at" field.
func StartAtNotIn ¶
StartAtNotIn applies the NotIn predicate on the "start_at" field.
func StartAtNotNil ¶
StartAtNotNil applies the NotNil predicate on the "start_at" field.
func SubRound ¶
SubRound applies equality check predicate on the "sub_round" field. It's identical to SubRoundEQ.
func SubRoundEQ ¶
SubRoundEQ applies the EQ predicate on the "sub_round" field.
func SubRoundGT ¶
SubRoundGT applies the GT predicate on the "sub_round" field.
func SubRoundGTE ¶
SubRoundGTE applies the GTE predicate on the "sub_round" field.
func SubRoundIn ¶
SubRoundIn applies the In predicate on the "sub_round" field.
func SubRoundLT ¶
SubRoundLT applies the LT predicate on the "sub_round" field.
func SubRoundLTE ¶
SubRoundLTE applies the LTE predicate on the "sub_round" field.
func SubRoundNEQ ¶
SubRoundNEQ applies the NEQ predicate on the "sub_round" field.
func SubRoundNotIn ¶
SubRoundNotIn applies the NotIn predicate on the "sub_round" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 IcoRound queries.
func ByBoughtToken ¶
func ByBoughtToken(opts ...sql.OrderTermOption) OrderOption
ByBoughtToken orders the results by the bought_token field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEndAt ¶
func ByEndAt(opts ...sql.OrderTermOption) OrderOption
ByEndAt orders the results by the end_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsClose ¶
func ByIsClose(opts ...sql.OrderTermOption) OrderOption
ByIsClose orders the results by the is_close field.
func ByNumToken ¶
func ByNumToken(opts ...sql.OrderTermOption) OrderOption
ByNumToken orders the results by the num_token field.
func ByPrice ¶
func ByPrice(opts ...sql.OrderTermOption) OrderOption
ByPrice orders the results by the price field.
func ByRoundID ¶
func ByRoundID(opts ...sql.OrderTermOption) OrderOption
ByRoundID orders the results by the round_id field.
func ByStartAt ¶
func ByStartAt(opts ...sql.OrderTermOption) OrderOption
ByStartAt orders the results by the start_at field.
func BySubRound ¶
func BySubRound(opts ...sql.OrderTermOption) OrderOption
BySubRound orders the results by the sub_round field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.