Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Conversation) predicate.Conversation
- func ID(id string) predicate.Conversation
- func IDContainsFold(id string) predicate.Conversation
- func IDEQ(id string) predicate.Conversation
- func IDEqualFold(id string) predicate.Conversation
- func IDGT(id string) predicate.Conversation
- func IDGTE(id string) predicate.Conversation
- func IDIn(ids ...string) predicate.Conversation
- func IDLT(id string) predicate.Conversation
- func IDLTE(id string) predicate.Conversation
- func IDNEQ(id string) predicate.Conversation
- func IDNotIn(ids ...string) predicate.Conversation
- func Not(p predicate.Conversation) predicate.Conversation
- func Or(predicates ...predicate.Conversation) predicate.Conversation
- func PageURL(v string) predicate.Conversation
- func PageURLContains(v string) predicate.Conversation
- func PageURLContainsFold(v string) predicate.Conversation
- func PageURLEQ(v string) predicate.Conversation
- func PageURLEqualFold(v string) predicate.Conversation
- func PageURLGT(v string) predicate.Conversation
- func PageURLGTE(v string) predicate.Conversation
- func PageURLHasPrefix(v string) predicate.Conversation
- func PageURLHasSuffix(v string) predicate.Conversation
- func PageURLIn(vs ...string) predicate.Conversation
- func PageURLLT(v string) predicate.Conversation
- func PageURLLTE(v string) predicate.Conversation
- func PageURLNEQ(v string) predicate.Conversation
- func PageURLNotIn(vs ...string) predicate.Conversation
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the conversation type in the database. Label = "conversation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPageURL holds the string denoting the page_url field in the database. FieldPageURL = "page_url" // Table holds the table name of the conversation in the database. Table = "conversations" )
Variables ¶
var ( // PageURLValidator is a validator for the "page_url" field. It is called by the builders before save. PageURLValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldPageURL, }
Columns holds all SQL columns for conversation fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Conversation) predicate.Conversation
And groups predicates with the AND operator between them.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Conversation
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Conversation
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Conversation
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Conversation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Conversation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Conversation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Conversation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Conversation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Conversation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Conversation
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Conversation) predicate.Conversation
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Conversation) predicate.Conversation
Or groups predicates with the OR operator between them.
func PageURL ¶
func PageURL(v string) predicate.Conversation
PageURL applies equality check predicate on the "page_url" field. It's identical to PageURLEQ.
func PageURLContains ¶
func PageURLContains(v string) predicate.Conversation
PageURLContains applies the Contains predicate on the "page_url" field.
func PageURLContainsFold ¶
func PageURLContainsFold(v string) predicate.Conversation
PageURLContainsFold applies the ContainsFold predicate on the "page_url" field.
func PageURLEQ ¶
func PageURLEQ(v string) predicate.Conversation
PageURLEQ applies the EQ predicate on the "page_url" field.
func PageURLEqualFold ¶
func PageURLEqualFold(v string) predicate.Conversation
PageURLEqualFold applies the EqualFold predicate on the "page_url" field.
func PageURLGT ¶
func PageURLGT(v string) predicate.Conversation
PageURLGT applies the GT predicate on the "page_url" field.
func PageURLGTE ¶
func PageURLGTE(v string) predicate.Conversation
PageURLGTE applies the GTE predicate on the "page_url" field.
func PageURLHasPrefix ¶
func PageURLHasPrefix(v string) predicate.Conversation
PageURLHasPrefix applies the HasPrefix predicate on the "page_url" field.
func PageURLHasSuffix ¶
func PageURLHasSuffix(v string) predicate.Conversation
PageURLHasSuffix applies the HasSuffix predicate on the "page_url" field.
func PageURLIn ¶
func PageURLIn(vs ...string) predicate.Conversation
PageURLIn applies the In predicate on the "page_url" field.
func PageURLLT ¶
func PageURLLT(v string) predicate.Conversation
PageURLLT applies the LT predicate on the "page_url" field.
func PageURLLTE ¶
func PageURLLTE(v string) predicate.Conversation
PageURLLTE applies the LTE predicate on the "page_url" field.
func PageURLNEQ ¶
func PageURLNEQ(v string) predicate.Conversation
PageURLNEQ applies the NEQ predicate on the "page_url" field.
func PageURLNotIn ¶
func PageURLNotIn(vs ...string) predicate.Conversation
PageURLNotIn applies the NotIn predicate on the "page_url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Conversation queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPageURL ¶
func ByPageURL(opts ...sql.OrderTermOption) OrderOption
ByPageURL orders the results by the page_url field.