Documentation

Index

Constants

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"
	// FieldT holds the string denoting the t field in the database.
	FieldT = "t"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldRaw holds the string denoting the raw field in the database.
	FieldRaw = "raw"
	// FieldDirs holds the string denoting the dirs field in the database.
	FieldDirs = "dirs"
	// FieldInts holds the string denoting the ints field in the database.
	FieldInts = "ints"
	// FieldFloats holds the string denoting the floats field in the database.
	FieldFloats = "floats"
	// FieldStrings holds the string denoting the strings field in the database.
	FieldStrings = "strings"

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

Variables

var Columns = []string{
	FieldID,
	FieldT,
	FieldURL,
	FieldRaw,
	FieldDirs,
	FieldInts,
	FieldFloats,
	FieldStrings,
}

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

func Not(p predicate.User) predicate.User

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 TIsNil

func TIsNil() predicate.User

TIsNil applies the IsNil predicate on the "t" field.

func TNotNil

func TNotNil() predicate.User

TNotNil applies the NotNil predicate on the "t" 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.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Source Files