Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Blob) predicate.Blob
- func ID(id int) predicate.Blob
- func IDEQ(id int) predicate.Blob
- func IDGT(id int) predicate.Blob
- func IDGTE(id int) predicate.Blob
- func IDIn(ids ...int) predicate.Blob
- func IDLT(id int) predicate.Blob
- func IDLTE(id int) predicate.Blob
- func IDNEQ(id int) predicate.Blob
- func IDNotIn(ids ...int) predicate.Blob
- func Key(v string) predicate.Blob
- func KeyContains(v string) predicate.Blob
- func KeyContainsFold(v string) predicate.Blob
- func KeyEQ(v string) predicate.Blob
- func KeyEqualFold(v string) predicate.Blob
- func KeyGT(v string) predicate.Blob
- func KeyGTE(v string) predicate.Blob
- func KeyHasPrefix(v string) predicate.Blob
- func KeyHasSuffix(v string) predicate.Blob
- func KeyIn(vs ...string) predicate.Blob
- func KeyLT(v string) predicate.Blob
- func KeyLTE(v string) predicate.Blob
- func KeyNEQ(v string) predicate.Blob
- func KeyNotIn(vs ...string) predicate.Blob
- func NetworkID(v string) predicate.Blob
- func NetworkIDContains(v string) predicate.Blob
- func NetworkIDContainsFold(v string) predicate.Blob
- func NetworkIDEQ(v string) predicate.Blob
- func NetworkIDEqualFold(v string) predicate.Blob
- func NetworkIDGT(v string) predicate.Blob
- func NetworkIDGTE(v string) predicate.Blob
- func NetworkIDHasPrefix(v string) predicate.Blob
- func NetworkIDHasSuffix(v string) predicate.Blob
- func NetworkIDIn(vs ...string) predicate.Blob
- func NetworkIDLT(v string) predicate.Blob
- func NetworkIDLTE(v string) predicate.Blob
- func NetworkIDNEQ(v string) predicate.Blob
- func NetworkIDNotIn(vs ...string) predicate.Blob
- func Not(p predicate.Blob) predicate.Blob
- func Or(predicates ...predicate.Blob) predicate.Blob
- func Type(v string) predicate.Blob
- func TypeContains(v string) predicate.Blob
- func TypeContainsFold(v string) predicate.Blob
- func TypeEQ(v string) predicate.Blob
- func TypeEqualFold(v string) predicate.Blob
- func TypeGT(v string) predicate.Blob
- func TypeGTE(v string) predicate.Blob
- func TypeHasPrefix(v string) predicate.Blob
- func TypeHasSuffix(v string) predicate.Blob
- func TypeIn(vs ...string) predicate.Blob
- func TypeLT(v string) predicate.Blob
- func TypeLTE(v string) predicate.Blob
- func TypeNEQ(v string) predicate.Blob
- func TypeNotIn(vs ...string) predicate.Blob
- func Value(v []byte) predicate.Blob
- func ValueEQ(v []byte) predicate.Blob
- func ValueGT(v []byte) predicate.Blob
- func ValueGTE(v []byte) predicate.Blob
- func ValueIn(vs ...[]byte) predicate.Blob
- func ValueIsNil() predicate.Blob
- func ValueLT(v []byte) predicate.Blob
- func ValueLTE(v []byte) predicate.Blob
- func ValueNEQ(v []byte) predicate.Blob
- func ValueNotIn(vs ...[]byte) predicate.Blob
- func ValueNotNil() predicate.Blob
- func Version(v uint64) predicate.Blob
- func VersionEQ(v uint64) predicate.Blob
- func VersionGT(v uint64) predicate.Blob
- func VersionGTE(v uint64) predicate.Blob
- func VersionIn(vs ...uint64) predicate.Blob
- func VersionLT(v uint64) predicate.Blob
- func VersionLTE(v uint64) predicate.Blob
- func VersionNEQ(v uint64) predicate.Blob
- func VersionNotIn(vs ...uint64) predicate.Blob
Constants ¶
const ( // Label holds the string label denoting the blob type in the database. Label = "blob" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNetworkID holds the string denoting the network_id vertex property in the database. FieldNetworkID = "network_id" // FieldType holds the string denoting the type vertex property in the database. FieldType = "type" // FieldKey holds the string denoting the key vertex property in the database. FieldKey = "key" // FieldValue holds the string denoting the value vertex property in the database. FieldValue = "value" // FieldVersion holds the string denoting the version vertex property in the database. FieldVersion = "version" )
Variables ¶
var Columns = []string{ FieldID, FieldNetworkID, FieldType, FieldKey, FieldValue, FieldVersion, }
Columns holds all SQL columns are blob fields.
var ( // DefaultVersion holds the default value on creation for the version field. DefaultVersion = descVersion.Default.(uint64) )
var Table = "states"
Table holds the table name of the blob in the database.
Functions ¶
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func NetworkID ¶
NetworkID applies equality check predicate on the "network_id" field. It's identical to NetworkIDEQ.
func NetworkIDContains ¶
NetworkIDContains applies the Contains predicate on the "network_id" field.
func NetworkIDContainsFold ¶
NetworkIDContainsFold applies the ContainsFold predicate on the "network_id" field.
func NetworkIDEQ ¶
NetworkIDEQ applies the EQ predicate on the "network_id" field.
func NetworkIDEqualFold ¶
NetworkIDEqualFold applies the EqualFold predicate on the "network_id" field.
func NetworkIDGT ¶
NetworkIDGT applies the GT predicate on the "network_id" field.
func NetworkIDGTE ¶
NetworkIDGTE applies the GTE predicate on the "network_id" field.
func NetworkIDHasPrefix ¶
NetworkIDHasPrefix applies the HasPrefix predicate on the "network_id" field.
func NetworkIDHasSuffix ¶
NetworkIDHasSuffix applies the HasSuffix predicate on the "network_id" field.
func NetworkIDIn ¶
NetworkIDIn applies the In predicate on the "network_id" field.
func NetworkIDLT ¶
NetworkIDLT applies the LT predicate on the "network_id" field.
func NetworkIDLTE ¶
NetworkIDLTE applies the LTE predicate on the "network_id" field.
func NetworkIDNEQ ¶
NetworkIDNEQ applies the NEQ predicate on the "network_id" field.
func NetworkIDNotIn ¶
NetworkIDNotIn applies the NotIn predicate on the "network_id" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueIsNil ¶
ValueIsNil applies the IsNil predicate on the "value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueNotNil ¶
ValueNotNil applies the NotNil predicate on the "value" field.
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
This section is empty.