Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Content) predicate.Content
- func Content(v string) predicate.Content
- func ContentContains(v string) predicate.Content
- func ContentContainsFold(v string) predicate.Content
- func ContentEQ(v string) predicate.Content
- func ContentEqualFold(v string) predicate.Content
- func ContentGT(v string) predicate.Content
- func ContentGTE(v string) predicate.Content
- func ContentHasPrefix(v string) predicate.Content
- func ContentHasSuffix(v string) predicate.Content
- func ContentIn(vs ...string) predicate.Content
- func ContentLT(v string) predicate.Content
- func ContentLTE(v string) predicate.Content
- func ContentNEQ(v string) predicate.Content
- func ContentNotIn(vs ...string) predicate.Content
- func CreatedAt(v time.Time) predicate.Content
- func CreatedAtEQ(v time.Time) predicate.Content
- func CreatedAtGT(v time.Time) predicate.Content
- func CreatedAtGTE(v time.Time) predicate.Content
- func CreatedAtIn(vs ...time.Time) predicate.Content
- func CreatedAtLT(v time.Time) predicate.Content
- func CreatedAtLTE(v time.Time) predicate.Content
- func CreatedAtNEQ(v time.Time) predicate.Content
- func CreatedAtNotIn(vs ...time.Time) predicate.Content
- func ID(id int32) predicate.Content
- func IDEQ(id int32) predicate.Content
- func IDGT(id int32) predicate.Content
- func IDGTE(id int32) predicate.Content
- func IDIn(ids ...int32) predicate.Content
- func IDLT(id int32) predicate.Content
- func IDLTE(id int32) predicate.Content
- func IDNEQ(id int32) predicate.Content
- func IDNotIn(ids ...int32) predicate.Content
- func Not(p predicate.Content) predicate.Content
- func Or(predicates ...predicate.Content) predicate.Content
- func UpdatedAt(v time.Time) predicate.Content
- func UpdatedAtEQ(v time.Time) predicate.Content
- func UpdatedAtGT(v time.Time) predicate.Content
- func UpdatedAtGTE(v time.Time) predicate.Content
- func UpdatedAtIn(vs ...time.Time) predicate.Content
- func UpdatedAtLT(v time.Time) predicate.Content
- func UpdatedAtLTE(v time.Time) predicate.Content
- func UpdatedAtNEQ(v time.Time) predicate.Content
- func UpdatedAtNotIn(vs ...time.Time) predicate.Content
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the content type in the database. Label = "content" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the content in the database. Table = "blog_content" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldContent, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for content fields.
Functions ¶
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.