package
0.0.0-20240208091048-5afa497535de
Repository: https://github.com/axenos-dev/sse-openai-server.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByID orders the results by the id field.
ByMessage orders the results by the message field.
ByResponse orders the results by the response field.
ByStatus orders the results by the status field.
ByTimestamp orders the results by the timestamp field.
ByTopic orders the results by the topic 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.
Message applies equality check predicate on the "message" field.
MessageContains applies the Contains predicate on the "message" field.
MessageContainsFold applies the ContainsFold predicate on the "message" field.
MessageEQ applies the EQ predicate on the "message" field.
MessageEqualFold applies the EqualFold predicate on the "message" field.
MessageGT applies the GT predicate on the "message" field.
MessageGTE applies the GTE predicate on the "message" field.
MessageHasPrefix applies the HasPrefix predicate on the "message" field.
MessageHasSuffix applies the HasSuffix predicate on the "message" field.
MessageIn applies the In predicate on the "message" field.
MessageLT applies the LT predicate on the "message" field.
MessageLTE applies the LTE predicate on the "message" field.
MessageNEQ applies the NEQ predicate on the "message" field.
MessageNotIn applies the NotIn predicate on the "message" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Response applies equality check predicate on the "response" field.
ResponseContains applies the Contains predicate on the "response" field.
ResponseContainsFold applies the ContainsFold predicate on the "response" field.
ResponseEQ applies the EQ predicate on the "response" field.
ResponseEqualFold applies the EqualFold predicate on the "response" field.
ResponseGT applies the GT predicate on the "response" field.
ResponseGTE applies the GTE predicate on the "response" field.
ResponseHasPrefix applies the HasPrefix predicate on the "response" field.
ResponseHasSuffix applies the HasSuffix predicate on the "response" field.
ResponseIn applies the In predicate on the "response" field.
ResponseLT applies the LT predicate on the "response" field.
ResponseLTE applies the LTE predicate on the "response" field.
ResponseNEQ applies the NEQ predicate on the "response" field.
ResponseNotIn applies the NotIn predicate on the "response" field.
Status applies equality check predicate on the "status" field.
StatusEQ applies the EQ predicate on the "status" field.
StatusGT applies the GT predicate on the "status" field.
StatusGTE applies the GTE predicate on the "status" field.
StatusIn applies the In predicate on the "status" field.
StatusLT applies the LT predicate on the "status" field.
StatusLTE applies the LTE predicate on the "status" field.
StatusNEQ applies the NEQ predicate on the "status" field.
StatusNotIn applies the NotIn predicate on the "status" field.
Timestamp applies equality check predicate on the "timestamp" field.
TimestampEQ applies the EQ predicate on the "timestamp" field.
TimestampGT applies the GT predicate on the "timestamp" field.
TimestampGTE applies the GTE predicate on the "timestamp" field.
TimestampIn applies the In predicate on the "timestamp" field.
TimestampLT applies the LT predicate on the "timestamp" field.
TimestampLTE applies the LTE predicate on the "timestamp" field.
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
Topic applies equality check predicate on the "topic" field.
TopicContains applies the Contains predicate on the "topic" field.
TopicContainsFold applies the ContainsFold predicate on the "topic" field.
TopicEQ applies the EQ predicate on the "topic" field.
TopicEqualFold applies the EqualFold predicate on the "topic" field.
TopicGT applies the GT predicate on the "topic" field.
TopicGTE applies the GTE predicate on the "topic" field.
TopicHasPrefix applies the HasPrefix predicate on the "topic" field.
TopicHasSuffix applies the HasSuffix predicate on the "topic" field.
TopicIn applies the In predicate on the "topic" field.
TopicLT applies the LT predicate on the "topic" field.
TopicLTE applies the LTE predicate on the "topic" field.
TopicNEQ applies the NEQ predicate on the "topic" field.
TopicNotIn applies the NotIn predicate on the "topic" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

FieldID holds the string denoting the id field in the database.
FieldMessage holds the string denoting the message field in the database.
FieldResponse holds the string denoting the response field in the database.
FieldStatus holds the string denoting the status field in the database.
FieldTimestamp holds the string denoting the timestamp field in the database.
FieldTopic holds the string denoting the topic field in the database.
Label holds the string label denoting the chatdb type in the database.
Table holds the table name of the chatdb in the database.

# Variables

Columns holds all SQL columns for chatdb fields.
DefaultTimestamp holds the default value on creation for the "timestamp" field.
StatusValidator is a validator for the "status" field.

# Type aliases

OrderOption defines the ordering options for the ChatDB queries.