Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func FloatsIsNil() predicate.User
- func FloatsNotNil() predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func IntsIsNil() predicate.User
- func IntsNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func RawIsNil() predicate.User
- func RawNotNil() predicate.User
- func StringsIsNil() predicate.User
- func StringsNotNil() predicate.User
- func TIsNil() predicate.User
- func TNotNil() predicate.User
- func URLIsNil() predicate.User
- func URLNotNil() predicate.User
- func ValidColumn(column string) bool
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" // 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 ¶
View Source
var ( // DefaultDirs holds the default value on creation for the "dirs" field. DefaultDirs func() []http.Dir // DefaultInts holds the default value on creation for the "ints" field. DefaultInts []int )
View Source
var Columns = []string{ FieldID, FieldT, FieldURL, FieldRaw, FieldDirs, FieldInts, FieldFloats, FieldStrings, }
Columns holds all SQL columns for user fields.
Functions ¶
func FloatsIsNil ¶
FloatsIsNil applies the IsNil predicate on the "floats" field.
func FloatsNotNil ¶
FloatsNotNil applies the NotNil predicate on the "floats" field.
func IntsNotNil ¶
IntsNotNil applies the NotNil predicate on the "ints" field.
func StringsIsNil ¶
StringsIsNil applies the IsNil predicate on the "strings" field.
func StringsNotNil ¶
StringsNotNil applies the NotNil predicate on the "strings" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.