Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Comment) predicate.Comment
- func ID(id int) predicate.Comment
- func IDEQ(id int) predicate.Comment
- func IDGT(id int) predicate.Comment
- func IDGTE(id int) predicate.Comment
- func IDIn(ids ...int) predicate.Comment
- func IDLT(id int) predicate.Comment
- func IDLTE(id int) predicate.Comment
- func IDNEQ(id int) predicate.Comment
- func IDNotIn(ids ...int) predicate.Comment
- func NillableInt(v int) predicate.Comment
- func NillableIntEQ(v int) predicate.Comment
- func NillableIntGT(v int) predicate.Comment
- func NillableIntGTE(v int) predicate.Comment
- func NillableIntIn(vs ...int) predicate.Comment
- func NillableIntIsNil() predicate.Comment
- func NillableIntLT(v int) predicate.Comment
- func NillableIntLTE(v int) predicate.Comment
- func NillableIntNEQ(v int) predicate.Comment
- func NillableIntNotIn(vs ...int) predicate.Comment
- func NillableIntNotNil() predicate.Comment
- func Not(p predicate.Comment) predicate.Comment
- func Or(predicates ...predicate.Comment) predicate.Comment
- func UniqueFloat(v float64) predicate.Comment
- func UniqueFloatEQ(v float64) predicate.Comment
- func UniqueFloatGT(v float64) predicate.Comment
- func UniqueFloatGTE(v float64) predicate.Comment
- func UniqueFloatIn(vs ...float64) predicate.Comment
- func UniqueFloatLT(v float64) predicate.Comment
- func UniqueFloatLTE(v float64) predicate.Comment
- func UniqueFloatNEQ(v float64) predicate.Comment
- func UniqueFloatNotIn(vs ...float64) predicate.Comment
- func UniqueInt(v int) predicate.Comment
- func UniqueIntEQ(v int) predicate.Comment
- func UniqueIntGT(v int) predicate.Comment
- func UniqueIntGTE(v int) predicate.Comment
- func UniqueIntIn(vs ...int) predicate.Comment
- func UniqueIntLT(v int) predicate.Comment
- func UniqueIntLTE(v int) predicate.Comment
- func UniqueIntNEQ(v int) predicate.Comment
- func UniqueIntNotIn(vs ...int) predicate.Comment
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the comment type in the database. Label = "comment" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUniqueInt holds the string denoting the unique_int field in the database. FieldUniqueInt = "unique_int" // FieldUniqueFloat holds the string denoting the unique_float field in the database. FieldUniqueFloat = "unique_float" // FieldNillableInt holds the string denoting the nillable_int field in the database. FieldNillableInt = "nillable_int" // Table holds the table name of the comment in the database. Table = "comments" )
Variables ¶
var Columns = []string{ FieldID, FieldUniqueInt, FieldUniqueFloat, FieldNillableInt, }
Columns holds all SQL columns for comment fields.
Functions ¶
func NillableInt ¶
NillableInt applies equality check predicate on the "nillable_int" field. It's identical to NillableIntEQ.
func NillableIntEQ ¶
NillableIntEQ applies the EQ predicate on the "nillable_int" field.
func NillableIntGT ¶
NillableIntGT applies the GT predicate on the "nillable_int" field.
func NillableIntGTE ¶
NillableIntGTE applies the GTE predicate on the "nillable_int" field.
func NillableIntIn ¶
NillableIntIn applies the In predicate on the "nillable_int" field.
func NillableIntIsNil ¶
NillableIntIsNil applies the IsNil predicate on the "nillable_int" field.
func NillableIntLT ¶
NillableIntLT applies the LT predicate on the "nillable_int" field.
func NillableIntLTE ¶
NillableIntLTE applies the LTE predicate on the "nillable_int" field.
func NillableIntNEQ ¶
NillableIntNEQ applies the NEQ predicate on the "nillable_int" field.
func NillableIntNotIn ¶
NillableIntNotIn applies the NotIn predicate on the "nillable_int" field.
func NillableIntNotNil ¶
NillableIntNotNil applies the NotNil predicate on the "nillable_int" field.
func UniqueFloat ¶
UniqueFloat applies equality check predicate on the "unique_float" field. It's identical to UniqueFloatEQ.
func UniqueFloatEQ ¶
UniqueFloatEQ applies the EQ predicate on the "unique_float" field.
func UniqueFloatGT ¶
UniqueFloatGT applies the GT predicate on the "unique_float" field.
func UniqueFloatGTE ¶
UniqueFloatGTE applies the GTE predicate on the "unique_float" field.
func UniqueFloatIn ¶
UniqueFloatIn applies the In predicate on the "unique_float" field.
func UniqueFloatLT ¶
UniqueFloatLT applies the LT predicate on the "unique_float" field.
func UniqueFloatLTE ¶
UniqueFloatLTE applies the LTE predicate on the "unique_float" field.
func UniqueFloatNEQ ¶
UniqueFloatNEQ applies the NEQ predicate on the "unique_float" field.
func UniqueFloatNotIn ¶
UniqueFloatNotIn applies the NotIn predicate on the "unique_float" field.
func UniqueInt ¶
UniqueInt applies equality check predicate on the "unique_int" field. It's identical to UniqueIntEQ.
func UniqueIntEQ ¶
UniqueIntEQ applies the EQ predicate on the "unique_int" field.
func UniqueIntGT ¶
UniqueIntGT applies the GT predicate on the "unique_int" field.
func UniqueIntGTE ¶
UniqueIntGTE applies the GTE predicate on the "unique_int" field.
func UniqueIntIn ¶
UniqueIntIn applies the In predicate on the "unique_int" field.
func UniqueIntLT ¶
UniqueIntLT applies the LT predicate on the "unique_int" field.
func UniqueIntLTE ¶
UniqueIntLTE applies the LTE predicate on the "unique_int" field.
func UniqueIntNEQ ¶
UniqueIntNEQ applies the NEQ predicate on the "unique_int" field.
func UniqueIntNotIn ¶
UniqueIntNotIn applies the NotIn predicate on the "unique_int" field.
func ValidColumn ¶ added in v0.4.3
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.