chart

package
v0.0.0-...-16ed941 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for chart fields.

Functions

func And

func And(predicates ...predicate.Chart) predicate.Chart

And groups predicates with the AND operator between them.

func ChartID

func ChartID(v uint32) predicate.Chart

ChartID applies equality check predicate on the "chart_id" field. It's identical to ChartIDEQ.

func ChartIDEQ

func ChartIDEQ(v uint32) predicate.Chart

ChartIDEQ applies the EQ predicate on the "chart_id" field.

func ChartIDGT

func ChartIDGT(v uint32) predicate.Chart

ChartIDGT applies the GT predicate on the "chart_id" field.

func ChartIDGTE

func ChartIDGTE(v uint32) predicate.Chart

ChartIDGTE applies the GTE predicate on the "chart_id" field.

func ChartIDIn

func ChartIDIn(vs ...uint32) predicate.Chart

ChartIDIn applies the In predicate on the "chart_id" field.

func ChartIDIsNil

func ChartIDIsNil() predicate.Chart

ChartIDIsNil applies the IsNil predicate on the "chart_id" field.

func ChartIDLT

func ChartIDLT(v uint32) predicate.Chart

ChartIDLT applies the LT predicate on the "chart_id" field.

func ChartIDLTE

func ChartIDLTE(v uint32) predicate.Chart

ChartIDLTE applies the LTE predicate on the "chart_id" field.

func ChartIDNEQ

func ChartIDNEQ(v uint32) predicate.Chart

ChartIDNEQ applies the NEQ predicate on the "chart_id" field.

func ChartIDNotIn

func ChartIDNotIn(vs ...uint32) predicate.Chart

ChartIDNotIn applies the NotIn predicate on the "chart_id" field.

func ChartIDNotNil

func ChartIDNotNil() predicate.Chart

ChartIDNotNil applies the NotNil predicate on the "chart_id" field.

func ClientID

func ClientID(v string) predicate.Chart

ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.

func ClientIDContains

func ClientIDContains(v string) predicate.Chart

ClientIDContains applies the Contains predicate on the "client_id" field.

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.Chart

ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.

func ClientIDEQ

func ClientIDEQ(v string) predicate.Chart

ClientIDEQ applies the EQ predicate on the "client_id" field.

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.Chart

ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.

func ClientIDGT

func ClientIDGT(v string) predicate.Chart

ClientIDGT applies the GT predicate on the "client_id" field.

func ClientIDGTE

func ClientIDGTE(v string) predicate.Chart

ClientIDGTE applies the GTE predicate on the "client_id" field.

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.Chart

ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.Chart

ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.

func ClientIDIn

func ClientIDIn(vs ...string) predicate.Chart

ClientIDIn applies the In predicate on the "client_id" field.

func ClientIDLT

func ClientIDLT(v string) predicate.Chart

ClientIDLT applies the LT predicate on the "client_id" field.

func ClientIDLTE

func ClientIDLTE(v string) predicate.Chart

ClientIDLTE applies the LTE predicate on the "client_id" field.

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.Chart

ClientIDNEQ applies the NEQ predicate on the "client_id" field.

func ClientIDNotIn

func ClientIDNotIn(vs ...string) predicate.Chart

ClientIDNotIn applies the NotIn predicate on the "client_id" field.

func Content

func Content(v string) predicate.Chart

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.Chart

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.Chart

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.Chart

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.Chart

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.Chart

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.Chart

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.Chart

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.Chart

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.Chart

ContentIn applies the In predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.Chart

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.Chart

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.Chart

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.Chart

ContentNotIn applies the NotIn predicate on the "content" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Chart

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Chart

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Chart

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Chart

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Chart

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Chart

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Chart

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Chart

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Chart

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ID

func ID(id uuid.UUID) predicate.Chart

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Chart

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Chart

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Chart

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Chart

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Chart

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Chart

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Chart

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Chart

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Chart

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Chart

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Chart

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Chart

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Chart

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Chart

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Chart

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Chart

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Chart

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Chart

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Chart

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Chart

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Chart

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Chart

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Chart) predicate.Chart

Or groups predicates with the OR operator between them.

func Resolution

func Resolution(v string) predicate.Chart

Resolution applies equality check predicate on the "resolution" field. It's identical to ResolutionEQ.

func ResolutionContains

func ResolutionContains(v string) predicate.Chart

ResolutionContains applies the Contains predicate on the "resolution" field.

func ResolutionContainsFold

func ResolutionContainsFold(v string) predicate.Chart

ResolutionContainsFold applies the ContainsFold predicate on the "resolution" field.

func ResolutionEQ

func ResolutionEQ(v string) predicate.Chart

ResolutionEQ applies the EQ predicate on the "resolution" field.

func ResolutionEqualFold

func ResolutionEqualFold(v string) predicate.Chart

ResolutionEqualFold applies the EqualFold predicate on the "resolution" field.

func ResolutionGT

func ResolutionGT(v string) predicate.Chart

ResolutionGT applies the GT predicate on the "resolution" field.

func ResolutionGTE

func ResolutionGTE(v string) predicate.Chart

ResolutionGTE applies the GTE predicate on the "resolution" field.

func ResolutionHasPrefix

func ResolutionHasPrefix(v string) predicate.Chart

ResolutionHasPrefix applies the HasPrefix predicate on the "resolution" field.

func ResolutionHasSuffix

func ResolutionHasSuffix(v string) predicate.Chart

ResolutionHasSuffix applies the HasSuffix predicate on the "resolution" field.

func ResolutionIn

func ResolutionIn(vs ...string) predicate.Chart

ResolutionIn applies the In predicate on the "resolution" field.

func ResolutionLT

func ResolutionLT(v string) predicate.Chart

ResolutionLT applies the LT predicate on the "resolution" field.

func ResolutionLTE

func ResolutionLTE(v string) predicate.Chart

ResolutionLTE applies the LTE predicate on the "resolution" field.

func ResolutionNEQ

func ResolutionNEQ(v string) predicate.Chart

ResolutionNEQ applies the NEQ predicate on the "resolution" field.

func ResolutionNotIn

func ResolutionNotIn(vs ...string) predicate.Chart

ResolutionNotIn applies the NotIn predicate on the "resolution" field.

func Symbol

func Symbol(v string) predicate.Chart

Symbol applies equality check predicate on the "symbol" field. It's identical to SymbolEQ.

func SymbolContains

func SymbolContains(v string) predicate.Chart

SymbolContains applies the Contains predicate on the "symbol" field.

func SymbolContainsFold

func SymbolContainsFold(v string) predicate.Chart

SymbolContainsFold applies the ContainsFold predicate on the "symbol" field.

func SymbolEQ

func SymbolEQ(v string) predicate.Chart

SymbolEQ applies the EQ predicate on the "symbol" field.

func SymbolEqualFold

func SymbolEqualFold(v string) predicate.Chart

SymbolEqualFold applies the EqualFold predicate on the "symbol" field.

func SymbolGT

func SymbolGT(v string) predicate.Chart

SymbolGT applies the GT predicate on the "symbol" field.

func SymbolGTE

func SymbolGTE(v string) predicate.Chart

SymbolGTE applies the GTE predicate on the "symbol" field.

func SymbolHasPrefix

func SymbolHasPrefix(v string) predicate.Chart

SymbolHasPrefix applies the HasPrefix predicate on the "symbol" field.

func SymbolHasSuffix

func SymbolHasSuffix(v string) predicate.Chart

SymbolHasSuffix applies the HasSuffix predicate on the "symbol" field.

func SymbolIn

func SymbolIn(vs ...string) predicate.Chart

SymbolIn applies the In predicate on the "symbol" field.

func SymbolLT

func SymbolLT(v string) predicate.Chart

SymbolLT applies the LT predicate on the "symbol" field.

func SymbolLTE

func SymbolLTE(v string) predicate.Chart

SymbolLTE applies the LTE predicate on the "symbol" field.

func SymbolNEQ

func SymbolNEQ(v string) predicate.Chart

SymbolNEQ applies the NEQ predicate on the "symbol" field.

func SymbolNotIn

func SymbolNotIn(vs ...string) predicate.Chart

SymbolNotIn applies the NotIn predicate on the "symbol" field.

func TemplateID

func TemplateID(v string) predicate.Chart

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDContains

func TemplateIDContains(v string) predicate.Chart

TemplateIDContains applies the Contains predicate on the "template_id" field.

func TemplateIDContainsFold

func TemplateIDContainsFold(v string) predicate.Chart

TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.

func TemplateIDEQ

func TemplateIDEQ(v string) predicate.Chart

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDEqualFold

func TemplateIDEqualFold(v string) predicate.Chart

TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.

func TemplateIDGT

func TemplateIDGT(v string) predicate.Chart

TemplateIDGT applies the GT predicate on the "template_id" field.

func TemplateIDGTE

func TemplateIDGTE(v string) predicate.Chart

TemplateIDGTE applies the GTE predicate on the "template_id" field.

func TemplateIDHasPrefix

func TemplateIDHasPrefix(v string) predicate.Chart

TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.

func TemplateIDHasSuffix

func TemplateIDHasSuffix(v string) predicate.Chart

TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...string) predicate.Chart

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDLT

func TemplateIDLT(v string) predicate.Chart

TemplateIDLT applies the LT predicate on the "template_id" field.

func TemplateIDLTE

func TemplateIDLTE(v string) predicate.Chart

TemplateIDLTE applies the LTE predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v string) predicate.Chart

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...string) predicate.Chart

TemplateIDNotIn applies the NotIn predicate on the "template_id" field.

func Type

func Type(v string) predicate.Chart

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Chart

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Chart

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Chart

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

func TypeEqualFold

func TypeEqualFold(v string) predicate.Chart

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Chart

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Chart

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Chart

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Chart

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Chart

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

func TypeLT

func TypeLT(v string) predicate.Chart

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Chart

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Chart

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

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Chart

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Chart

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Chart

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Chart

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Chart

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Chart

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Chart

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Chart

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Chart

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Chart

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserID

func UserID(v string) predicate.Chart

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

func UserIDContains

func UserIDContains(v string) predicate.Chart

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.Chart

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.Chart

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

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.Chart

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.Chart

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

func UserIDGTE

func UserIDGTE(v string) predicate.Chart

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

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.Chart

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.Chart

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.Chart

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

func UserIDLT

func UserIDLT(v string) predicate.Chart

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

func UserIDLTE

func UserIDLTE(v string) predicate.Chart

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

func UserIDNEQ

func UserIDNEQ(v string) predicate.Chart

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

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.Chart

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 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.

Jump to

Keyboard shortcuts

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