Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Chart) predicate.Chart
- func ChartID(v uint32) predicate.Chart
- func ChartIDEQ(v uint32) predicate.Chart
- func ChartIDGT(v uint32) predicate.Chart
- func ChartIDGTE(v uint32) predicate.Chart
- func ChartIDIn(vs ...uint32) predicate.Chart
- func ChartIDIsNil() predicate.Chart
- func ChartIDLT(v uint32) predicate.Chart
- func ChartIDLTE(v uint32) predicate.Chart
- func ChartIDNEQ(v uint32) predicate.Chart
- func ChartIDNotIn(vs ...uint32) predicate.Chart
- func ChartIDNotNil() predicate.Chart
- func ClientID(v string) predicate.Chart
- func ClientIDContains(v string) predicate.Chart
- func ClientIDContainsFold(v string) predicate.Chart
- func ClientIDEQ(v string) predicate.Chart
- func ClientIDEqualFold(v string) predicate.Chart
- func ClientIDGT(v string) predicate.Chart
- func ClientIDGTE(v string) predicate.Chart
- func ClientIDHasPrefix(v string) predicate.Chart
- func ClientIDHasSuffix(v string) predicate.Chart
- func ClientIDIn(vs ...string) predicate.Chart
- func ClientIDLT(v string) predicate.Chart
- func ClientIDLTE(v string) predicate.Chart
- func ClientIDNEQ(v string) predicate.Chart
- func ClientIDNotIn(vs ...string) predicate.Chart
- func Content(v string) predicate.Chart
- func ContentContains(v string) predicate.Chart
- func ContentContainsFold(v string) predicate.Chart
- func ContentEQ(v string) predicate.Chart
- func ContentEqualFold(v string) predicate.Chart
- func ContentGT(v string) predicate.Chart
- func ContentGTE(v string) predicate.Chart
- func ContentHasPrefix(v string) predicate.Chart
- func ContentHasSuffix(v string) predicate.Chart
- func ContentIn(vs ...string) predicate.Chart
- func ContentLT(v string) predicate.Chart
- func ContentLTE(v string) predicate.Chart
- func ContentNEQ(v string) predicate.Chart
- func ContentNotIn(vs ...string) predicate.Chart
- func CreatedAt(v time.Time) predicate.Chart
- func CreatedAtEQ(v time.Time) predicate.Chart
- func CreatedAtGT(v time.Time) predicate.Chart
- func CreatedAtGTE(v time.Time) predicate.Chart
- func CreatedAtIn(vs ...time.Time) predicate.Chart
- func CreatedAtLT(v time.Time) predicate.Chart
- func CreatedAtLTE(v time.Time) predicate.Chart
- func CreatedAtNEQ(v time.Time) predicate.Chart
- func CreatedAtNotIn(vs ...time.Time) predicate.Chart
- func ID(id uuid.UUID) predicate.Chart
- func IDEQ(id uuid.UUID) predicate.Chart
- func IDGT(id uuid.UUID) predicate.Chart
- func IDGTE(id uuid.UUID) predicate.Chart
- func IDIn(ids ...uuid.UUID) predicate.Chart
- func IDLT(id uuid.UUID) predicate.Chart
- func IDLTE(id uuid.UUID) predicate.Chart
- func IDNEQ(id uuid.UUID) predicate.Chart
- func IDNotIn(ids ...uuid.UUID) predicate.Chart
- func Name(v string) predicate.Chart
- func NameContains(v string) predicate.Chart
- func NameContainsFold(v string) predicate.Chart
- func NameEQ(v string) predicate.Chart
- func NameEqualFold(v string) predicate.Chart
- func NameGT(v string) predicate.Chart
- func NameGTE(v string) predicate.Chart
- func NameHasPrefix(v string) predicate.Chart
- func NameHasSuffix(v string) predicate.Chart
- func NameIn(vs ...string) predicate.Chart
- func NameLT(v string) predicate.Chart
- func NameLTE(v string) predicate.Chart
- func NameNEQ(v string) predicate.Chart
- func NameNotIn(vs ...string) predicate.Chart
- func Not(p predicate.Chart) predicate.Chart
- func Or(predicates ...predicate.Chart) predicate.Chart
- func Resolution(v string) predicate.Chart
- func ResolutionContains(v string) predicate.Chart
- func ResolutionContainsFold(v string) predicate.Chart
- func ResolutionEQ(v string) predicate.Chart
- func ResolutionEqualFold(v string) predicate.Chart
- func ResolutionGT(v string) predicate.Chart
- func ResolutionGTE(v string) predicate.Chart
- func ResolutionHasPrefix(v string) predicate.Chart
- func ResolutionHasSuffix(v string) predicate.Chart
- func ResolutionIn(vs ...string) predicate.Chart
- func ResolutionLT(v string) predicate.Chart
- func ResolutionLTE(v string) predicate.Chart
- func ResolutionNEQ(v string) predicate.Chart
- func ResolutionNotIn(vs ...string) predicate.Chart
- func Symbol(v string) predicate.Chart
- func SymbolContains(v string) predicate.Chart
- func SymbolContainsFold(v string) predicate.Chart
- func SymbolEQ(v string) predicate.Chart
- func SymbolEqualFold(v string) predicate.Chart
- func SymbolGT(v string) predicate.Chart
- func SymbolGTE(v string) predicate.Chart
- func SymbolHasPrefix(v string) predicate.Chart
- func SymbolHasSuffix(v string) predicate.Chart
- func SymbolIn(vs ...string) predicate.Chart
- func SymbolLT(v string) predicate.Chart
- func SymbolLTE(v string) predicate.Chart
- func SymbolNEQ(v string) predicate.Chart
- func SymbolNotIn(vs ...string) predicate.Chart
- func TemplateID(v string) predicate.Chart
- func TemplateIDContains(v string) predicate.Chart
- func TemplateIDContainsFold(v string) predicate.Chart
- func TemplateIDEQ(v string) predicate.Chart
- func TemplateIDEqualFold(v string) predicate.Chart
- func TemplateIDGT(v string) predicate.Chart
- func TemplateIDGTE(v string) predicate.Chart
- func TemplateIDHasPrefix(v string) predicate.Chart
- func TemplateIDHasSuffix(v string) predicate.Chart
- func TemplateIDIn(vs ...string) predicate.Chart
- func TemplateIDLT(v string) predicate.Chart
- func TemplateIDLTE(v string) predicate.Chart
- func TemplateIDNEQ(v string) predicate.Chart
- func TemplateIDNotIn(vs ...string) predicate.Chart
- func Type(v string) predicate.Chart
- func TypeContains(v string) predicate.Chart
- func TypeContainsFold(v string) predicate.Chart
- func TypeEQ(v string) predicate.Chart
- func TypeEqualFold(v string) predicate.Chart
- func TypeGT(v string) predicate.Chart
- func TypeGTE(v string) predicate.Chart
- func TypeHasPrefix(v string) predicate.Chart
- func TypeHasSuffix(v string) predicate.Chart
- func TypeIn(vs ...string) predicate.Chart
- func TypeLT(v string) predicate.Chart
- func TypeLTE(v string) predicate.Chart
- func TypeNEQ(v string) predicate.Chart
- func TypeNotIn(vs ...string) predicate.Chart
- func UpdatedAt(v time.Time) predicate.Chart
- func UpdatedAtEQ(v time.Time) predicate.Chart
- func UpdatedAtGT(v time.Time) predicate.Chart
- func UpdatedAtGTE(v time.Time) predicate.Chart
- func UpdatedAtIn(vs ...time.Time) predicate.Chart
- func UpdatedAtLT(v time.Time) predicate.Chart
- func UpdatedAtLTE(v time.Time) predicate.Chart
- func UpdatedAtNEQ(v time.Time) predicate.Chart
- func UpdatedAtNotIn(vs ...time.Time) predicate.Chart
- func UserID(v string) predicate.Chart
- func UserIDContains(v string) predicate.Chart
- func UserIDContainsFold(v string) predicate.Chart
- func UserIDEQ(v string) predicate.Chart
- func UserIDEqualFold(v string) predicate.Chart
- func UserIDGT(v string) predicate.Chart
- func UserIDGTE(v string) predicate.Chart
- func UserIDHasPrefix(v string) predicate.Chart
- func UserIDHasSuffix(v string) predicate.Chart
- func UserIDIn(vs ...string) predicate.Chart
- func UserIDLT(v string) predicate.Chart
- func UserIDLTE(v string) predicate.Chart
- func UserIDNEQ(v string) predicate.Chart
- func UserIDNotIn(vs ...string) predicate.Chart
- func ValidColumn(column string) bool
- type OrderOption
- func ByChartID(opts ...sql.OrderTermOption) OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByResolution(opts ...sql.OrderTermOption) OrderOption
- func BySymbol(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the chart type in the database. Label = "chart" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // 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" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldChartID holds the string denoting the chart_id field in the database. FieldChartID = "chart_id" // FieldTemplateID holds the string denoting the template_id field in the database. FieldTemplateID = "template_id" // FieldClientID holds the string denoting the client_id field in the database. FieldClientID = "client_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldSymbol holds the string denoting the symbol field in the database. FieldSymbol = "symbol" // FieldResolution holds the string denoting the resolution field in the database. FieldResolution = "resolution" // Table holds the table name of the chart in the database. Table = "charts" )
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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultUserID holds the default value on creation for the "user_id" field. DefaultUserID string // DefaultTemplateID holds the default value on creation for the "template_id" field. DefaultTemplateID string // DefaultClientID holds the default value on creation for the "client_id" field. DefaultClientID string // DefaultType holds the default value on creation for the "type" field. DefaultType string // DefaultName holds the default value on creation for the "name" field. DefaultName string // DefaultContent holds the default value on creation for the "content" field. DefaultContent string // DefaultSymbol holds the default value on creation for the "symbol" field. DefaultSymbol string // DefaultResolution holds the default value on creation for the "resolution" field. DefaultResolution string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldUserID, FieldChartID, FieldTemplateID, FieldClientID, FieldType, FieldName, FieldContent, FieldSymbol, FieldResolution, }
Columns holds all SQL columns for chart fields.
Functions ¶
func ChartID ¶
ChartID applies equality check predicate on the "chart_id" field. It's identical to ChartIDEQ.
func ChartIDGTE ¶
ChartIDGTE applies the GTE predicate on the "chart_id" field.
func ChartIDIsNil ¶
ChartIDIsNil applies the IsNil predicate on the "chart_id" field.
func ChartIDLTE ¶
ChartIDLTE applies the LTE predicate on the "chart_id" field.
func ChartIDNEQ ¶
ChartIDNEQ applies the NEQ predicate on the "chart_id" field.
func ChartIDNotIn ¶
ChartIDNotIn applies the NotIn predicate on the "chart_id" field.
func ChartIDNotNil ¶
ChartIDNotNil applies the NotNil predicate on the "chart_id" field.
func ClientID ¶
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
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 NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Resolution ¶
Resolution applies equality check predicate on the "resolution" field. It's identical to ResolutionEQ.
func ResolutionContains ¶
ResolutionContains applies the Contains predicate on the "resolution" field.
func ResolutionContainsFold ¶
ResolutionContainsFold applies the ContainsFold predicate on the "resolution" field.
func ResolutionEQ ¶
ResolutionEQ applies the EQ predicate on the "resolution" field.
func ResolutionEqualFold ¶
ResolutionEqualFold applies the EqualFold predicate on the "resolution" field.
func ResolutionGT ¶
ResolutionGT applies the GT predicate on the "resolution" field.
func ResolutionGTE ¶
ResolutionGTE applies the GTE predicate on the "resolution" field.
func ResolutionHasPrefix ¶
ResolutionHasPrefix applies the HasPrefix predicate on the "resolution" field.
func ResolutionHasSuffix ¶
ResolutionHasSuffix applies the HasSuffix predicate on the "resolution" field.
func ResolutionIn ¶
ResolutionIn applies the In predicate on the "resolution" field.
func ResolutionLT ¶
ResolutionLT applies the LT predicate on the "resolution" field.
func ResolutionLTE ¶
ResolutionLTE applies the LTE predicate on the "resolution" field.
func ResolutionNEQ ¶
ResolutionNEQ applies the NEQ predicate on the "resolution" field.
func ResolutionNotIn ¶
ResolutionNotIn applies the NotIn predicate on the "resolution" field.
func Symbol ¶
Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.
func SymbolContains ¶
SymbolContains applies the Contains predicate on the "symbol" field.
func SymbolContainsFold ¶
SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.
func SymbolEqualFold ¶
SymbolEqualFold applies the EqualFold predicate on the "symbol" field.
func SymbolHasPrefix ¶
SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.
func SymbolHasSuffix ¶
SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.
func SymbolNotIn ¶
SymbolNotIn applies the NotIn predicate on the "symbol" field.
func TemplateID ¶
TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.
func TemplateIDContains ¶
TemplateIDContains applies the Contains predicate on the "template_id" field.
func TemplateIDContainsFold ¶
TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.
func TemplateIDEQ ¶
TemplateIDEQ applies the EQ predicate on the "template_id" field.
func TemplateIDEqualFold ¶
TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.
func TemplateIDGT ¶
TemplateIDGT applies the GT predicate on the "template_id" field.
func TemplateIDGTE ¶
TemplateIDGTE applies the GTE predicate on the "template_id" field.
func TemplateIDHasPrefix ¶
TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.
func TemplateIDHasSuffix ¶
TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.
func TemplateIDIn ¶
TemplateIDIn applies the In predicate on the "template_id" field.
func TemplateIDLT ¶
TemplateIDLT applies the LT predicate on the "template_id" field.
func TemplateIDLTE ¶
TemplateIDLTE applies the LTE predicate on the "template_id" field.
func TemplateIDNEQ ¶
TemplateIDNEQ applies the NEQ predicate on the "template_id" field.
func TemplateIDNotIn ¶
TemplateIDNotIn applies the NotIn predicate on the "template_id" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Chart queries.
func ByChartID ¶
func ByChartID(opts ...sql.OrderTermOption) OrderOption
ByChartID orders the results by the chart_id field.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id field.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByResolution ¶
func ByResolution(opts ...sql.OrderTermOption) OrderOption
ByResolution orders the results by the resolution field.
func BySymbol ¶
func BySymbol(opts ...sql.OrderTermOption) OrderOption
BySymbol orders the results by the symbol field.
func ByTemplateID ¶
func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
ByTemplateID orders the results by the template_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.