Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Binding) predicate.Binding
- func ConnectionID(v string) predicate.Binding
- func ConnectionIDContains(v string) predicate.Binding
- func ConnectionIDContainsFold(v string) predicate.Binding
- func ConnectionIDEQ(v string) predicate.Binding
- func ConnectionIDEqualFold(v string) predicate.Binding
- func ConnectionIDGT(v string) predicate.Binding
- func ConnectionIDGTE(v string) predicate.Binding
- func ConnectionIDHasPrefix(v string) predicate.Binding
- func ConnectionIDHasSuffix(v string) predicate.Binding
- func ConnectionIDIn(vs ...string) predicate.Binding
- func ConnectionIDLT(v string) predicate.Binding
- func ConnectionIDLTE(v string) predicate.Binding
- func ConnectionIDNEQ(v string) predicate.Binding
- func ConnectionIDNotIn(vs ...string) predicate.Binding
- func ConsumerID(v string) predicate.Binding
- func ConsumerIDContains(v string) predicate.Binding
- func ConsumerIDContainsFold(v string) predicate.Binding
- func ConsumerIDEQ(v string) predicate.Binding
- func ConsumerIDEqualFold(v string) predicate.Binding
- func ConsumerIDGT(v string) predicate.Binding
- func ConsumerIDGTE(v string) predicate.Binding
- func ConsumerIDHasPrefix(v string) predicate.Binding
- func ConsumerIDHasSuffix(v string) predicate.Binding
- func ConsumerIDIn(vs ...string) predicate.Binding
- func ConsumerIDLT(v string) predicate.Binding
- func ConsumerIDLTE(v string) predicate.Binding
- func ConsumerIDNEQ(v string) predicate.Binding
- func ConsumerIDNotIn(vs ...string) predicate.Binding
- func ConsumerKind(v string) predicate.Binding
- func ConsumerKindContains(v string) predicate.Binding
- func ConsumerKindContainsFold(v string) predicate.Binding
- func ConsumerKindEQ(v string) predicate.Binding
- func ConsumerKindEqualFold(v string) predicate.Binding
- func ConsumerKindGT(v string) predicate.Binding
- func ConsumerKindGTE(v string) predicate.Binding
- func ConsumerKindHasPrefix(v string) predicate.Binding
- func ConsumerKindHasSuffix(v string) predicate.Binding
- func ConsumerKindIn(vs ...string) predicate.Binding
- func ConsumerKindLT(v string) predicate.Binding
- func ConsumerKindLTE(v string) predicate.Binding
- func ConsumerKindNEQ(v string) predicate.Binding
- func ConsumerKindNotIn(vs ...string) predicate.Binding
- func CreatedAt(v time.Time) predicate.Binding
- func CreatedAtEQ(v time.Time) predicate.Binding
- func CreatedAtGT(v time.Time) predicate.Binding
- func CreatedAtGTE(v time.Time) predicate.Binding
- func CreatedAtIn(vs ...time.Time) predicate.Binding
- func CreatedAtLT(v time.Time) predicate.Binding
- func CreatedAtLTE(v time.Time) predicate.Binding
- func CreatedAtNEQ(v time.Time) predicate.Binding
- func CreatedAtNotIn(vs ...time.Time) predicate.Binding
- func ID(id int) predicate.Binding
- func IDEQ(id int) predicate.Binding
- func IDGT(id int) predicate.Binding
- func IDGTE(id int) predicate.Binding
- func IDIn(ids ...int) predicate.Binding
- func IDLT(id int) predicate.Binding
- func IDLTE(id int) predicate.Binding
- func IDNEQ(id int) predicate.Binding
- func IDNotIn(ids ...int) predicate.Binding
- func Not(p predicate.Binding) predicate.Binding
- func Or(predicates ...predicate.Binding) predicate.Binding
- func OwnerID(v string) predicate.Binding
- func OwnerIDContains(v string) predicate.Binding
- func OwnerIDContainsFold(v string) predicate.Binding
- func OwnerIDEQ(v string) predicate.Binding
- func OwnerIDEqualFold(v string) predicate.Binding
- func OwnerIDGT(v string) predicate.Binding
- func OwnerIDGTE(v string) predicate.Binding
- func OwnerIDHasPrefix(v string) predicate.Binding
- func OwnerIDHasSuffix(v string) predicate.Binding
- func OwnerIDIn(vs ...string) predicate.Binding
- func OwnerIDLT(v string) predicate.Binding
- func OwnerIDLTE(v string) predicate.Binding
- func OwnerIDNEQ(v string) predicate.Binding
- func OwnerIDNotIn(vs ...string) predicate.Binding
- func Purpose(v string) predicate.Binding
- func PurposeContains(v string) predicate.Binding
- func PurposeContainsFold(v string) predicate.Binding
- func PurposeEQ(v string) predicate.Binding
- func PurposeEqualFold(v string) predicate.Binding
- func PurposeGT(v string) predicate.Binding
- func PurposeGTE(v string) predicate.Binding
- func PurposeHasPrefix(v string) predicate.Binding
- func PurposeHasSuffix(v string) predicate.Binding
- func PurposeIn(vs ...string) predicate.Binding
- func PurposeLT(v string) predicate.Binding
- func PurposeLTE(v string) predicate.Binding
- func PurposeNEQ(v string) predicate.Binding
- func PurposeNotIn(vs ...string) predicate.Binding
- func ValidColumn(column string) bool
- type OrderOption
- func ByConnectionID(opts ...sql.OrderTermOption) OrderOption
- func ByConsumerID(opts ...sql.OrderTermOption) OrderOption
- func ByConsumerKind(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPurpose(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the binding type in the database. Label = "binding" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldConnectionID holds the string denoting the connection_id field in the database. FieldConnectionID = "connection_id" // FieldConsumerKind holds the string denoting the consumer_kind field in the database. FieldConsumerKind = "consumer_kind" // FieldConsumerID holds the string denoting the consumer_id field in the database. FieldConsumerID = "consumer_id" // FieldPurpose holds the string denoting the purpose field in the database. FieldPurpose = "purpose" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the binding in the database. Table = "connectionforge_bindings" )
Variables ¶
var ( // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // ConnectionIDValidator is a validator for the "connection_id" field. It is called by the builders before save. ConnectionIDValidator func(string) error )
var Columns = []string{ FieldID, FieldOwnerID, FieldConnectionID, FieldConsumerKind, FieldConsumerID, FieldPurpose, FieldCreatedAt, }
Columns holds all SQL columns for binding fields.
Functions ¶
func ConnectionID ¶
ConnectionID applies equality check predicate on the "connection_id" field. It's identical to ConnectionIDEQ.
func ConnectionIDContains ¶
ConnectionIDContains applies the Contains predicate on the "connection_id" field.
func ConnectionIDContainsFold ¶
ConnectionIDContainsFold applies the ContainsFold predicate on the "connection_id" field.
func ConnectionIDEQ ¶
ConnectionIDEQ applies the EQ predicate on the "connection_id" field.
func ConnectionIDEqualFold ¶
ConnectionIDEqualFold applies the EqualFold predicate on the "connection_id" field.
func ConnectionIDGT ¶
ConnectionIDGT applies the GT predicate on the "connection_id" field.
func ConnectionIDGTE ¶
ConnectionIDGTE applies the GTE predicate on the "connection_id" field.
func ConnectionIDHasPrefix ¶
ConnectionIDHasPrefix applies the HasPrefix predicate on the "connection_id" field.
func ConnectionIDHasSuffix ¶
ConnectionIDHasSuffix applies the HasSuffix predicate on the "connection_id" field.
func ConnectionIDIn ¶
ConnectionIDIn applies the In predicate on the "connection_id" field.
func ConnectionIDLT ¶
ConnectionIDLT applies the LT predicate on the "connection_id" field.
func ConnectionIDLTE ¶
ConnectionIDLTE applies the LTE predicate on the "connection_id" field.
func ConnectionIDNEQ ¶
ConnectionIDNEQ applies the NEQ predicate on the "connection_id" field.
func ConnectionIDNotIn ¶
ConnectionIDNotIn applies the NotIn predicate on the "connection_id" field.
func ConsumerID ¶
ConsumerID applies equality check predicate on the "consumer_id" field. It's identical to ConsumerIDEQ.
func ConsumerIDContains ¶
ConsumerIDContains applies the Contains predicate on the "consumer_id" field.
func ConsumerIDContainsFold ¶
ConsumerIDContainsFold applies the ContainsFold predicate on the "consumer_id" field.
func ConsumerIDEQ ¶
ConsumerIDEQ applies the EQ predicate on the "consumer_id" field.
func ConsumerIDEqualFold ¶
ConsumerIDEqualFold applies the EqualFold predicate on the "consumer_id" field.
func ConsumerIDGT ¶
ConsumerIDGT applies the GT predicate on the "consumer_id" field.
func ConsumerIDGTE ¶
ConsumerIDGTE applies the GTE predicate on the "consumer_id" field.
func ConsumerIDHasPrefix ¶
ConsumerIDHasPrefix applies the HasPrefix predicate on the "consumer_id" field.
func ConsumerIDHasSuffix ¶
ConsumerIDHasSuffix applies the HasSuffix predicate on the "consumer_id" field.
func ConsumerIDIn ¶
ConsumerIDIn applies the In predicate on the "consumer_id" field.
func ConsumerIDLT ¶
ConsumerIDLT applies the LT predicate on the "consumer_id" field.
func ConsumerIDLTE ¶
ConsumerIDLTE applies the LTE predicate on the "consumer_id" field.
func ConsumerIDNEQ ¶
ConsumerIDNEQ applies the NEQ predicate on the "consumer_id" field.
func ConsumerIDNotIn ¶
ConsumerIDNotIn applies the NotIn predicate on the "consumer_id" field.
func ConsumerKind ¶
ConsumerKind applies equality check predicate on the "consumer_kind" field. It's identical to ConsumerKindEQ.
func ConsumerKindContains ¶
ConsumerKindContains applies the Contains predicate on the "consumer_kind" field.
func ConsumerKindContainsFold ¶
ConsumerKindContainsFold applies the ContainsFold predicate on the "consumer_kind" field.
func ConsumerKindEQ ¶
ConsumerKindEQ applies the EQ predicate on the "consumer_kind" field.
func ConsumerKindEqualFold ¶
ConsumerKindEqualFold applies the EqualFold predicate on the "consumer_kind" field.
func ConsumerKindGT ¶
ConsumerKindGT applies the GT predicate on the "consumer_kind" field.
func ConsumerKindGTE ¶
ConsumerKindGTE applies the GTE predicate on the "consumer_kind" field.
func ConsumerKindHasPrefix ¶
ConsumerKindHasPrefix applies the HasPrefix predicate on the "consumer_kind" field.
func ConsumerKindHasSuffix ¶
ConsumerKindHasSuffix applies the HasSuffix predicate on the "consumer_kind" field.
func ConsumerKindIn ¶
ConsumerKindIn applies the In predicate on the "consumer_kind" field.
func ConsumerKindLT ¶
ConsumerKindLT applies the LT predicate on the "consumer_kind" field.
func ConsumerKindLTE ¶
ConsumerKindLTE applies the LTE predicate on the "consumer_kind" field.
func ConsumerKindNEQ ¶
ConsumerKindNEQ applies the NEQ predicate on the "consumer_kind" field.
func ConsumerKindNotIn ¶
ConsumerKindNotIn applies the NotIn predicate on the "consumer_kind" 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 OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Purpose ¶
Purpose applies equality check predicate on the "purpose" field. It's identical to PurposeEQ.
func PurposeContains ¶
PurposeContains applies the Contains predicate on the "purpose" field.
func PurposeContainsFold ¶
PurposeContainsFold applies the ContainsFold predicate on the "purpose" field.
func PurposeEqualFold ¶
PurposeEqualFold applies the EqualFold predicate on the "purpose" field.
func PurposeGTE ¶
PurposeGTE applies the GTE predicate on the "purpose" field.
func PurposeHasPrefix ¶
PurposeHasPrefix applies the HasPrefix predicate on the "purpose" field.
func PurposeHasSuffix ¶
PurposeHasSuffix applies the HasSuffix predicate on the "purpose" field.
func PurposeLTE ¶
PurposeLTE applies the LTE predicate on the "purpose" field.
func PurposeNEQ ¶
PurposeNEQ applies the NEQ predicate on the "purpose" field.
func PurposeNotIn ¶
PurposeNotIn applies the NotIn predicate on the "purpose" 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 Binding queries.
func ByConnectionID ¶
func ByConnectionID(opts ...sql.OrderTermOption) OrderOption
ByConnectionID orders the results by the connection_id field.
func ByConsumerID ¶
func ByConsumerID(opts ...sql.OrderTermOption) OrderOption
ByConsumerID orders the results by the consumer_id field.
func ByConsumerKind ¶
func ByConsumerKind(opts ...sql.OrderTermOption) OrderOption
ByConsumerKind orders the results by the consumer_kind field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPurpose ¶
func ByPurpose(opts ...sql.OrderTermOption) OrderOption
ByPurpose orders the results by the purpose field.