feedbackchathistoriesrecapsreactions

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the feedbackchathistoriesrecapsreactions type in the database.
	Label = "feedback_chat_histories_recaps_reactions"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldChatID holds the string denoting the chat_id field in the database.
	FieldChatID = "chat_id"
	// FieldLogID holds the string denoting the log_id field in the database.
	FieldLogID = "log_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// 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 feedbackchathistoriesrecapsreactions in the database.
	Table = "feedback_chat_histories_recaps_reactions"
)
View Source
const DefaultType = TypeNone

TypeNone is the default value of the Type enum.

Variables

View Source
var (
	// DefaultChatID holds the default value on creation for the "chat_id" field.
	DefaultChatID int64
	// DefaultLogID holds the default value on creation for the "log_id" field.
	DefaultLogID func() uuid.UUID
	// DefaultUserID holds the default value on creation for the "user_id" field.
	DefaultUserID int64
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() int64
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() int64
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for feedbackchathistoriesrecapsreactions fields.

Functions

func And

And groups predicates with the AND operator between them.

func ChatID

ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.

func ChatIDEQ

ChatIDEQ applies the EQ predicate on the "chat_id" field.

func ChatIDGT

ChatIDGT applies the GT predicate on the "chat_id" field.

func ChatIDGTE

ChatIDGTE applies the GTE predicate on the "chat_id" field.

func ChatIDIn

ChatIDIn applies the In predicate on the "chat_id" field.

func ChatIDLT

ChatIDLT applies the LT predicate on the "chat_id" field.

func ChatIDLTE

ChatIDLTE applies the LTE predicate on the "chat_id" field.

func ChatIDNEQ

ChatIDNEQ applies the NEQ predicate on the "chat_id" field.

func ChatIDNotIn

ChatIDNotIn applies the NotIn predicate on the "chat_id" 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 ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func LogID

LogID applies equality check predicate on the "log_id" field. It's identical to LogIDEQ.

func LogIDEQ

LogIDEQ applies the EQ predicate on the "log_id" field.

func LogIDGT

LogIDGT applies the GT predicate on the "log_id" field.

func LogIDGTE

LogIDGTE applies the GTE predicate on the "log_id" field.

func LogIDIn

LogIDIn applies the In predicate on the "log_id" field.

func LogIDLT

LogIDLT applies the LT predicate on the "log_id" field.

func LogIDLTE

LogIDLTE applies the LTE predicate on the "log_id" field.

func LogIDNEQ

LogIDNEQ applies the NEQ predicate on the "log_id" field.

func LogIDNotIn

LogIDNotIn applies the NotIn predicate on the "log_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

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 UserID

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FeedbackChatHistoriesRecapsReactions queries.

func ByChatID

func ByChatID(opts ...sql.OrderTermOption) OrderOption

ByChatID orders the results by the chat_id field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLogID

func ByLogID(opts ...sql.OrderTermOption) OrderOption

ByLogID orders the results by the log_id field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserID

func ByUserID(opts ...sql.OrderTermOption) OrderOption

ByUserID orders the results by the user_id field.

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeNone     Type = "none"
	TypeUpVote   Type = "up_vote"
	TypeDownVote Type = "down_vote"
	TypeLmao     Type = "lmao"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL