package
0.0.0-20240513023348-5feaf8d2ad78
Repository: https://github.com/go-faster/bot.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByGptMsg orders the results by the gpt_msg field.
ByGptMsgID orders the results by the gpt_msg_id field.
ByID orders the results by the id field.
ByPeerID orders the results by the peer_id field.
ByPromptMsg orders the results by the prompt_msg field.
ByPromptMsgID orders the results by the prompt_msg_id field.
ByThreadTopMsgID orders the results by the thread_top_msg_id field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
GptMsg applies equality check predicate on the "gpt_msg" field.
GptMsgContains applies the Contains predicate on the "gpt_msg" field.
GptMsgContainsFold applies the ContainsFold predicate on the "gpt_msg" field.
GptMsgEQ applies the EQ predicate on the "gpt_msg" field.
GptMsgEqualFold applies the EqualFold predicate on the "gpt_msg" field.
GptMsgGT applies the GT predicate on the "gpt_msg" field.
GptMsgGTE applies the GTE predicate on the "gpt_msg" field.
GptMsgHasPrefix applies the HasPrefix predicate on the "gpt_msg" field.
GptMsgHasSuffix applies the HasSuffix predicate on the "gpt_msg" field.
GptMsgID applies equality check predicate on the "gpt_msg_id" field.
GptMsgIDEQ applies the EQ predicate on the "gpt_msg_id" field.
GptMsgIDGT applies the GT predicate on the "gpt_msg_id" field.
GptMsgIDGTE applies the GTE predicate on the "gpt_msg_id" field.
GptMsgIDIn applies the In predicate on the "gpt_msg_id" field.
GptMsgIDLT applies the LT predicate on the "gpt_msg_id" field.
GptMsgIDLTE applies the LTE predicate on the "gpt_msg_id" field.
GptMsgIDNEQ applies the NEQ predicate on the "gpt_msg_id" field.
GptMsgIDNotIn applies the NotIn predicate on the "gpt_msg_id" field.
GptMsgIn applies the In predicate on the "gpt_msg" field.
GptMsgLT applies the LT predicate on the "gpt_msg" field.
GptMsgLTE applies the LTE predicate on the "gpt_msg" field.
GptMsgNEQ applies the NEQ predicate on the "gpt_msg" field.
GptMsgNotIn applies the NotIn predicate on the "gpt_msg" field.
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
PeerID applies equality check predicate on the "peer_id" field.
PeerIDContains applies the Contains predicate on the "peer_id" field.
PeerIDContainsFold applies the ContainsFold predicate on the "peer_id" field.
PeerIDEQ applies the EQ predicate on the "peer_id" field.
PeerIDEqualFold applies the EqualFold predicate on the "peer_id" field.
PeerIDGT applies the GT predicate on the "peer_id" field.
PeerIDGTE applies the GTE predicate on the "peer_id" field.
PeerIDHasPrefix applies the HasPrefix predicate on the "peer_id" field.
PeerIDHasSuffix applies the HasSuffix predicate on the "peer_id" field.
PeerIDIn applies the In predicate on the "peer_id" field.
PeerIDLT applies the LT predicate on the "peer_id" field.
PeerIDLTE applies the LTE predicate on the "peer_id" field.
PeerIDNEQ applies the NEQ predicate on the "peer_id" field.
PeerIDNotIn applies the NotIn predicate on the "peer_id" field.
PromptMsg applies equality check predicate on the "prompt_msg" field.
PromptMsgContains applies the Contains predicate on the "prompt_msg" field.
PromptMsgContainsFold applies the ContainsFold predicate on the "prompt_msg" field.
PromptMsgEQ applies the EQ predicate on the "prompt_msg" field.
PromptMsgEqualFold applies the EqualFold predicate on the "prompt_msg" field.
PromptMsgGT applies the GT predicate on the "prompt_msg" field.
PromptMsgGTE applies the GTE predicate on the "prompt_msg" field.
PromptMsgHasPrefix applies the HasPrefix predicate on the "prompt_msg" field.
PromptMsgHasSuffix applies the HasSuffix predicate on the "prompt_msg" field.
PromptMsgID applies equality check predicate on the "prompt_msg_id" field.
PromptMsgIDEQ applies the EQ predicate on the "prompt_msg_id" field.
PromptMsgIDGT applies the GT predicate on the "prompt_msg_id" field.
PromptMsgIDGTE applies the GTE predicate on the "prompt_msg_id" field.
PromptMsgIDIn applies the In predicate on the "prompt_msg_id" field.
PromptMsgIDLT applies the LT predicate on the "prompt_msg_id" field.
PromptMsgIDLTE applies the LTE predicate on the "prompt_msg_id" field.
PromptMsgIDNEQ applies the NEQ predicate on the "prompt_msg_id" field.
PromptMsgIDNotIn applies the NotIn predicate on the "prompt_msg_id" field.
PromptMsgIn applies the In predicate on the "prompt_msg" field.
PromptMsgLT applies the LT predicate on the "prompt_msg" field.
PromptMsgLTE applies the LTE predicate on the "prompt_msg" field.
PromptMsgNEQ applies the NEQ predicate on the "prompt_msg" field.
PromptMsgNotIn applies the NotIn predicate on the "prompt_msg" field.
ThreadTopMsgID applies equality check predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDEQ applies the EQ predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDGT applies the GT predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDGTE applies the GTE predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDIn applies the In predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDIsNil applies the IsNil predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDLT applies the LT predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDLTE applies the LTE predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDNEQ applies the NEQ predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDNotIn applies the NotIn predicate on the "thread_top_msg_id" field.
ThreadTopMsgIDNotNil applies the NotNil predicate on the "thread_top_msg_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldCreatedAt holds the string denoting the created_at field in the database.
FieldGptMsg holds the string denoting the gpt_msg field in the database.
FieldGptMsgID holds the string denoting the gpt_msg_id field in the database.
FieldID holds the string denoting the id field in the database.
FieldPeerID holds the string denoting the peer_id field in the database.
FieldPromptMsg holds the string denoting the prompt_msg field in the database.
FieldPromptMsgID holds the string denoting the prompt_msg_id field in the database.
FieldThreadTopMsgID holds the string denoting the thread_top_msg_id field in the database.
Label holds the string label denoting the gptdialog type in the database.
Table holds the table name of the gptdialog in the database.

# Variables

Columns holds all SQL columns for gptdialog fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.

# Type aliases

OrderOption defines the ordering options for the GPTDialog queries.