Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Chaincode) predicate.Chaincode
- func ChannelId(v string) predicate.Chaincode
- func ChannelIdContains(v string) predicate.Chaincode
- func ChannelIdContainsFold(v string) predicate.Chaincode
- func ChannelIdEQ(v string) predicate.Chaincode
- func ChannelIdEqualFold(v string) predicate.Chaincode
- func ChannelIdGT(v string) predicate.Chaincode
- func ChannelIdGTE(v string) predicate.Chaincode
- func ChannelIdHasPrefix(v string) predicate.Chaincode
- func ChannelIdHasSuffix(v string) predicate.Chaincode
- func ChannelIdIn(vs ...string) predicate.Chaincode
- func ChannelIdLT(v string) predicate.Chaincode
- func ChannelIdLTE(v string) predicate.Chaincode
- func ChannelIdNEQ(v string) predicate.Chaincode
- func ChannelIdNotIn(vs ...string) predicate.Chaincode
- func HasTenant() predicate.Chaincode
- func HasTenantWith(preds ...predicate.Tenant) predicate.Chaincode
- func ID(id int) predicate.Chaincode
- func IDEQ(id int) predicate.Chaincode
- func IDGT(id int) predicate.Chaincode
- func IDGTE(id int) predicate.Chaincode
- func IDIn(ids ...int) predicate.Chaincode
- func IDLT(id int) predicate.Chaincode
- func IDLTE(id int) predicate.Chaincode
- func IDNEQ(id int) predicate.Chaincode
- func IDNotIn(ids ...int) predicate.Chaincode
- func Not(p predicate.Chaincode) predicate.Chaincode
- func Or(predicates ...predicate.Chaincode) predicate.Chaincode
- func PackageId(v string) predicate.Chaincode
- func PackageIdContains(v string) predicate.Chaincode
- func PackageIdContainsFold(v string) predicate.Chaincode
- func PackageIdEQ(v string) predicate.Chaincode
- func PackageIdEqualFold(v string) predicate.Chaincode
- func PackageIdGT(v string) predicate.Chaincode
- func PackageIdGTE(v string) predicate.Chaincode
- func PackageIdHasPrefix(v string) predicate.Chaincode
- func PackageIdHasSuffix(v string) predicate.Chaincode
- func PackageIdIn(vs ...string) predicate.Chaincode
- func PackageIdLT(v string) predicate.Chaincode
- func PackageIdLTE(v string) predicate.Chaincode
- func PackageIdNEQ(v string) predicate.Chaincode
- func PackageIdNotIn(vs ...string) predicate.Chaincode
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the chaincode type in the database. Label = "chaincode" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPackageId holds the string denoting the packageid field in the database. FieldPackageId = "package_id" // FieldChannelId holds the string denoting the channelid field in the database. FieldChannelId = "channel_id" // EdgeTenant holds the string denoting the tenant edge name in mutations. EdgeTenant = "tenant" // Table holds the table name of the chaincode in the database. Table = "chaincodes" // TenantTable is the table that holds the tenant relation/edge. TenantTable = "chaincodes" // TenantInverseTable is the table name for the Tenant entity. // It exists in this package in order to avoid circular dependency with the "tenant" package. TenantInverseTable = "tenants" // TenantColumn is the table column denoting the tenant relation/edge. TenantColumn = "tenant_chaincodes" )
Variables ¶
var Columns = []string{ FieldID, FieldPackageId, FieldChannelId, }
Columns holds all SQL columns for chaincode fields.
var ForeignKeys = []string{
"tenant_chaincodes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "chaincodes" table and are not defined as standalone fields in the schema.
var ( // PackageIdValidator is a validator for the "packageId" field. It is called by the builders before save. PackageIdValidator func(string) error )
Functions ¶
func ChannelId ¶
ChannelId applies equality check predicate on the "channelId" field. It's identical to ChannelIdEQ.
func ChannelIdContains ¶
ChannelIdContains applies the Contains predicate on the "channelId" field.
func ChannelIdContainsFold ¶
ChannelIdContainsFold applies the ContainsFold predicate on the "channelId" field.
func ChannelIdEQ ¶
ChannelIdEQ applies the EQ predicate on the "channelId" field.
func ChannelIdEqualFold ¶
ChannelIdEqualFold applies the EqualFold predicate on the "channelId" field.
func ChannelIdGT ¶
ChannelIdGT applies the GT predicate on the "channelId" field.
func ChannelIdGTE ¶
ChannelIdGTE applies the GTE predicate on the "channelId" field.
func ChannelIdHasPrefix ¶
ChannelIdHasPrefix applies the HasPrefix predicate on the "channelId" field.
func ChannelIdHasSuffix ¶
ChannelIdHasSuffix applies the HasSuffix predicate on the "channelId" field.
func ChannelIdIn ¶
ChannelIdIn applies the In predicate on the "channelId" field.
func ChannelIdLT ¶
ChannelIdLT applies the LT predicate on the "channelId" field.
func ChannelIdLTE ¶
ChannelIdLTE applies the LTE predicate on the "channelId" field.
func ChannelIdNEQ ¶
ChannelIdNEQ applies the NEQ predicate on the "channelId" field.
func ChannelIdNotIn ¶
ChannelIdNotIn applies the NotIn predicate on the "channelId" field.
func HasTenantWith ¶
HasTenantWith applies the HasEdge predicate on the "tenant" edge with a given conditions (other predicates).
func PackageId ¶
PackageId applies equality check predicate on the "packageId" field. It's identical to PackageIdEQ.
func PackageIdContains ¶
PackageIdContains applies the Contains predicate on the "packageId" field.
func PackageIdContainsFold ¶
PackageIdContainsFold applies the ContainsFold predicate on the "packageId" field.
func PackageIdEQ ¶
PackageIdEQ applies the EQ predicate on the "packageId" field.
func PackageIdEqualFold ¶
PackageIdEqualFold applies the EqualFold predicate on the "packageId" field.
func PackageIdGT ¶
PackageIdGT applies the GT predicate on the "packageId" field.
func PackageIdGTE ¶
PackageIdGTE applies the GTE predicate on the "packageId" field.
func PackageIdHasPrefix ¶
PackageIdHasPrefix applies the HasPrefix predicate on the "packageId" field.
func PackageIdHasSuffix ¶
PackageIdHasSuffix applies the HasSuffix predicate on the "packageId" field.
func PackageIdIn ¶
PackageIdIn applies the In predicate on the "packageId" field.
func PackageIdLT ¶
PackageIdLT applies the LT predicate on the "packageId" field.
func PackageIdLTE ¶
PackageIdLTE applies the LTE predicate on the "packageId" field.
func PackageIdNEQ ¶
PackageIdNEQ applies the NEQ predicate on the "packageId" field.
func PackageIdNotIn ¶
PackageIdNotIn applies the NotIn predicate on the "packageId" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.