blob

package
v0.0.0-...-89602ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns are blob fields.

View Source
var (

	// DefaultVersion holds the default value on creation for the version field.
	DefaultVersion = descVersion.Default.(uint64)
)
View Source
var Table = "states"

Table holds the table name of the blob in the database.

Functions

func And

func And(predicates ...predicate.Blob) predicate.Blob

And groups list of predicates with the AND operator between them.

func ID

func ID(id int) predicate.Blob

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.Blob

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Blob

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Blob

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Blob

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Blob

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Blob

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Blob

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Blob

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.Blob

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.Blob

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.Blob

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.Blob

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.Blob

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.Blob

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.Blob

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.Blob

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.Blob

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.Blob

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.Blob

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.Blob

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.Blob

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.Blob

KeyNotIn applies the NotIn predicate on the "key" field.

func NetworkID

func NetworkID(v string) predicate.Blob

NetworkID applies equality check predicate on the "network_id" field. It's identical to NetworkIDEQ.

func NetworkIDContains

func NetworkIDContains(v string) predicate.Blob

NetworkIDContains applies the Contains predicate on the "network_id" field.

func NetworkIDContainsFold

func NetworkIDContainsFold(v string) predicate.Blob

NetworkIDContainsFold applies the ContainsFold predicate on the "network_id" field.

func NetworkIDEQ

func NetworkIDEQ(v string) predicate.Blob

NetworkIDEQ applies the EQ predicate on the "network_id" field.

func NetworkIDEqualFold

func NetworkIDEqualFold(v string) predicate.Blob

NetworkIDEqualFold applies the EqualFold predicate on the "network_id" field.

func NetworkIDGT

func NetworkIDGT(v string) predicate.Blob

NetworkIDGT applies the GT predicate on the "network_id" field.

func NetworkIDGTE

func NetworkIDGTE(v string) predicate.Blob

NetworkIDGTE applies the GTE predicate on the "network_id" field.

func NetworkIDHasPrefix

func NetworkIDHasPrefix(v string) predicate.Blob

NetworkIDHasPrefix applies the HasPrefix predicate on the "network_id" field.

func NetworkIDHasSuffix

func NetworkIDHasSuffix(v string) predicate.Blob

NetworkIDHasSuffix applies the HasSuffix predicate on the "network_id" field.

func NetworkIDIn

func NetworkIDIn(vs ...string) predicate.Blob

NetworkIDIn applies the In predicate on the "network_id" field.

func NetworkIDLT

func NetworkIDLT(v string) predicate.Blob

NetworkIDLT applies the LT predicate on the "network_id" field.

func NetworkIDLTE

func NetworkIDLTE(v string) predicate.Blob

NetworkIDLTE applies the LTE predicate on the "network_id" field.

func NetworkIDNEQ

func NetworkIDNEQ(v string) predicate.Blob

NetworkIDNEQ applies the NEQ predicate on the "network_id" field.

func NetworkIDNotIn

func NetworkIDNotIn(vs ...string) predicate.Blob

NetworkIDNotIn applies the NotIn predicate on the "network_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Blob) predicate.Blob

Or groups list of predicates with the OR operator between them.

func Type

func Type(v string) predicate.Blob

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Blob

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Blob

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Blob

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Blob

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Blob

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Blob

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Blob

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Blob

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Blob

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Blob

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Blob

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Blob

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Blob

TypeNotIn applies the NotIn predicate on the "type" field.

func Value

func Value(v []byte) predicate.Blob

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v []byte) predicate.Blob

ValueEQ applies the EQ predicate on the "value" field.

func ValueGT

func ValueGT(v []byte) predicate.Blob

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v []byte) predicate.Blob

ValueGTE applies the GTE predicate on the "value" field.

func ValueIn

func ValueIn(vs ...[]byte) predicate.Blob

ValueIn applies the In predicate on the "value" field.

func ValueIsNil

func ValueIsNil() predicate.Blob

ValueIsNil applies the IsNil predicate on the "value" field.

func ValueLT

func ValueLT(v []byte) predicate.Blob

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v []byte) predicate.Blob

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v []byte) predicate.Blob

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...[]byte) predicate.Blob

ValueNotIn applies the NotIn predicate on the "value" field.

func ValueNotNil

func ValueNotNil() predicate.Blob

ValueNotNil applies the NotNil predicate on the "value" field.

func Version

func Version(v uint64) predicate.Blob

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v uint64) predicate.Blob

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v uint64) predicate.Blob

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v uint64) predicate.Blob

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...uint64) predicate.Blob

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v uint64) predicate.Blob

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v uint64) predicate.Blob

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v uint64) predicate.Blob

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...uint64) predicate.Blob

VersionNotIn applies the NotIn predicate on the "version" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL