Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Comment) predicate.Comment
- func Client(v string) predicate.Comment
- func ClientContains(v string) predicate.Comment
- func ClientContainsFold(v string) predicate.Comment
- func ClientEQ(v string) predicate.Comment
- func ClientEqualFold(v string) predicate.Comment
- func ClientGT(v string) predicate.Comment
- func ClientGTE(v string) predicate.Comment
- func ClientHasPrefix(v string) predicate.Comment
- func ClientHasSuffix(v string) predicate.Comment
- func ClientIn(vs ...string) predicate.Comment
- func ClientIsNil() predicate.Comment
- func ClientLT(v string) predicate.Comment
- func ClientLTE(v string) predicate.Comment
- func ClientNEQ(v string) predicate.Comment
- func ClientNotIn(vs ...string) predicate.Comment
- func ClientNotNil() predicate.Comment
- func DirIsNil() predicate.Comment
- func DirNotNil() 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 TableContains(v string) predicate.Comment
- func TableContainsFold(v string) predicate.Comment
- func TableEQ(v string) predicate.Comment
- func TableEqualFold(v string) predicate.Comment
- func TableGT(v string) predicate.Comment
- func TableGTE(v string) predicate.Comment
- func TableHasPrefix(v string) predicate.Comment
- func TableHasSuffix(v string) predicate.Comment
- func TableIn(vs ...string) predicate.Comment
- func TableIsNil() predicate.Comment
- func TableLT(v string) predicate.Comment
- func TableLTE(v string) predicate.Comment
- func TableNEQ(v string) predicate.Comment
- func TableNotIn(vs ...string) predicate.Comment
- func TableNotNil() 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" // FieldTable holds the string denoting the table field in the database. FieldTable = "table" // FieldDir holds the string denoting the dir field in the database. FieldDir = "dir" // FieldClient holds the string denoting the client field in the database. FieldClient = "client" // Table holds the table name of the comment in the database. Table = "comments" )
Variables ¶
var Columns = []string{ FieldID, FieldUniqueInt, FieldUniqueFloat, FieldNillableInt, FieldTable, FieldDir, FieldClient, }
Columns holds all SQL columns for comment fields.
Functions ¶
func Client ¶ added in v0.11.3
Client applies equality check predicate on the "client" field. It's identical to ClientEQ.
func ClientContains ¶ added in v0.11.3
ClientContains applies the Contains predicate on the "client" field.
func ClientContainsFold ¶ added in v0.11.3
ClientContainsFold applies the ContainsFold predicate on the "client" field.
func ClientEqualFold ¶ added in v0.11.3
ClientEqualFold applies the EqualFold predicate on the "client" field.
func ClientHasPrefix ¶ added in v0.11.3
ClientHasPrefix applies the HasPrefix predicate on the "client" field.
func ClientHasSuffix ¶ added in v0.11.3
ClientHasSuffix applies the HasSuffix predicate on the "client" field.
func ClientIsNil ¶ added in v0.11.3
ClientIsNil applies the IsNil predicate on the "client" field.
func ClientNotIn ¶ added in v0.11.3
ClientNotIn applies the NotIn predicate on the "client" field.
func ClientNotNil ¶ added in v0.11.3
ClientNotNil applies the NotNil predicate on the "client" field.
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 TableContains ¶ added in v0.11.0
TableContains applies the Contains predicate on the "table" field.
func TableContainsFold ¶ added in v0.11.0
TableContainsFold applies the ContainsFold predicate on the "table" field.
func TableEqualFold ¶ added in v0.11.0
TableEqualFold applies the EqualFold predicate on the "table" field.
func TableHasPrefix ¶ added in v0.11.0
TableHasPrefix applies the HasPrefix predicate on the "table" field.
func TableHasSuffix ¶ added in v0.11.0
TableHasSuffix applies the HasSuffix predicate on the "table" field.
func TableIsNil ¶ added in v0.11.0
TableIsNil applies the IsNil predicate on the "table" field.
func TableNotIn ¶ added in v0.11.0
TableNotIn applies the NotIn predicate on the "table" field.
func TableNotNil ¶ added in v0.11.0
TableNotNil applies the NotNil predicate on the "table" 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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.