Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Words) predicate.Words
- func CreatedAt(v time.Time) predicate.Words
- func CreatedAtEQ(v time.Time) predicate.Words
- func CreatedAtGT(v time.Time) predicate.Words
- func CreatedAtGTE(v time.Time) predicate.Words
- func CreatedAtIn(vs ...time.Time) predicate.Words
- func CreatedAtLT(v time.Time) predicate.Words
- func CreatedAtLTE(v time.Time) predicate.Words
- func CreatedAtNEQ(v time.Time) predicate.Words
- func CreatedAtNotIn(vs ...time.Time) predicate.Words
- func Group(v string) predicate.Words
- func GroupContains(v string) predicate.Words
- func GroupContainsFold(v string) predicate.Words
- func GroupEQ(v string) predicate.Words
- func GroupEqualFold(v string) predicate.Words
- func GroupGT(v string) predicate.Words
- func GroupGTE(v string) predicate.Words
- func GroupHasPrefix(v string) predicate.Words
- func GroupHasSuffix(v string) predicate.Words
- func GroupIn(vs ...string) predicate.Words
- func GroupLT(v string) predicate.Words
- func GroupLTE(v string) predicate.Words
- func GroupNEQ(v string) predicate.Words
- func GroupNotIn(vs ...string) predicate.Words
- func ID(id int64) predicate.Words
- func IDEQ(id int64) predicate.Words
- func IDGT(id int64) predicate.Words
- func IDGTE(id int64) predicate.Words
- func IDIn(ids ...int64) predicate.Words
- func IDLT(id int64) predicate.Words
- func IDLTE(id int64) predicate.Words
- func IDNEQ(id int64) predicate.Words
- func IDNotIn(ids ...int64) predicate.Words
- func Not(p predicate.Words) predicate.Words
- func Or(predicates ...predicate.Words) predicate.Words
- func UpdatedAt(v time.Time) predicate.Words
- func UpdatedAtEQ(v time.Time) predicate.Words
- func UpdatedAtGT(v time.Time) predicate.Words
- func UpdatedAtGTE(v time.Time) predicate.Words
- func UpdatedAtIn(vs ...time.Time) predicate.Words
- func UpdatedAtLT(v time.Time) predicate.Words
- func UpdatedAtLTE(v time.Time) predicate.Words
- func UpdatedAtNEQ(v time.Time) predicate.Words
- func UpdatedAtNotIn(vs ...time.Time) predicate.Words
- func ValidColumn(column string) bool
- func Word(v string) predicate.Words
- func WordContains(v string) predicate.Words
- func WordContainsFold(v string) predicate.Words
- func WordEQ(v string) predicate.Words
- func WordEqualFold(v string) predicate.Words
- func WordGT(v string) predicate.Words
- func WordGTE(v string) predicate.Words
- func WordHasPrefix(v string) predicate.Words
- func WordHasSuffix(v string) predicate.Words
- func WordIn(vs ...string) predicate.Words
- func WordLT(v string) predicate.Words
- func WordLTE(v string) predicate.Words
- func WordNEQ(v string) predicate.Words
- func WordNotIn(vs ...string) predicate.Words
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the words type in the database. Label = "words" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldGroup holds the string denoting the group field in the database. FieldGroup = "group" // FieldWord holds the string denoting the word field in the database. FieldWord = "word" // 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 words in the database. Table = "words" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt time.Time )
var Columns = []string{ FieldID, FieldGroup, FieldWord, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for words fields.
Functions ¶
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 Group ¶
Group applies equality check predicate on the "group" field. It's identical to GroupEQ.
func GroupContains ¶
GroupContains applies the Contains predicate on the "group" field.
func GroupContainsFold ¶
GroupContainsFold applies the ContainsFold predicate on the "group" field.
func GroupEqualFold ¶
GroupEqualFold applies the EqualFold predicate on the "group" field.
func GroupHasPrefix ¶
GroupHasPrefix applies the HasPrefix predicate on the "group" field.
func GroupHasSuffix ¶
GroupHasSuffix applies the HasSuffix predicate on the "group" field.
func GroupNotIn ¶
GroupNotIn applies the NotIn predicate on the "group" 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).
func WordContains ¶
WordContains applies the Contains predicate on the "word" field.
func WordContainsFold ¶
WordContainsFold applies the ContainsFold predicate on the "word" field.
func WordEqualFold ¶
WordEqualFold applies the EqualFold predicate on the "word" field.
func WordHasPrefix ¶
WordHasPrefix applies the HasPrefix predicate on the "word" field.
func WordHasSuffix ¶
WordHasSuffix applies the HasSuffix predicate on the "word" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Words queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByGroup ¶
func ByGroup(opts ...sql.OrderTermOption) OrderOption
ByGroup orders the results by the group field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWord ¶
func ByWord(opts ...sql.OrderTermOption) OrderOption
ByWord orders the results by the word field.