user

package
v0.1.5-0...-40e571d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID      = "id"     // FieldURL holds the string denoting the url vertex property in the database.
	FieldURL     = "url"    // FieldRaw holds the string denoting the raw vertex property in the database.
	FieldRaw     = "raw"    // FieldDirs holds the string denoting the dirs vertex property in the database.
	FieldDirs    = "dirs"   // FieldInts holds the string denoting the ints vertex property in the database.
	FieldInts    = "ints"   // FieldFloats holds the string denoting the floats vertex property in the database.
	FieldFloats  = "floats" // FieldStrings holds the string denoting the strings vertex property in the database.
	FieldStrings = "strings"

	// Table holds the table name of the user in the database.
	Table = "users"
)

Variables

Columns holds all SQL columns for user fields.

Functions

func And

func And(predicates ...predicate.User) predicate.User

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

func DirsIsNil

func DirsIsNil() predicate.User

DirsIsNil applies the IsNil predicate on the "dirs" field.

func DirsNotNil

func DirsNotNil() predicate.User

DirsNotNil applies the NotNil predicate on the "dirs" field.

func FloatsIsNil

func FloatsIsNil() predicate.User

FloatsIsNil applies the IsNil predicate on the "floats" field.

func FloatsNotNil

func FloatsNotNil() predicate.User

FloatsNotNil applies the NotNil predicate on the "floats" field.

func ID

func ID(id int) predicate.User

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IntsIsNil

func IntsIsNil() predicate.User

IntsIsNil applies the IsNil predicate on the "ints" field.

func IntsNotNil

func IntsNotNil() predicate.User

IntsNotNil applies the NotNil predicate on the "ints" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.User) predicate.User

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

func RawIsNil

func RawIsNil() predicate.User

RawIsNil applies the IsNil predicate on the "raw" field.

func RawNotNil

func RawNotNil() predicate.User

RawNotNil applies the NotNil predicate on the "raw" field.

func StringsIsNil

func StringsIsNil() predicate.User

StringsIsNil applies the IsNil predicate on the "strings" field.

func StringsNotNil

func StringsNotNil() predicate.User

StringsNotNil applies the NotNil predicate on the "strings" field.

func URLIsNil

func URLIsNil() predicate.User

URLIsNil applies the IsNil predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.User

URLNotNil applies the NotNil predicate on the "url" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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