Documentation
¶
Index ¶
- Constants
- Variables
- func Alias(v string) predicate.Model
- func AliasContains(v string) predicate.Model
- func AliasContainsFold(v string) predicate.Model
- func AliasEQ(v string) predicate.Model
- func AliasEqualFold(v string) predicate.Model
- func AliasGT(v string) predicate.Model
- func AliasGTE(v string) predicate.Model
- func AliasHasPrefix(v string) predicate.Model
- func AliasHasSuffix(v string) predicate.Model
- func AliasIn(vs ...string) predicate.Model
- func AliasIsNil() predicate.Model
- func AliasLT(v string) predicate.Model
- func AliasLTE(v string) predicate.Model
- func AliasNEQ(v string) predicate.Model
- func AliasNotIn(vs ...string) predicate.Model
- func AliasNotNil() predicate.Model
- func And(predicates ...predicate.Model) predicate.Model
- func CacheReadCost(v float64) predicate.Model
- func CacheReadCostEQ(v float64) predicate.Model
- func CacheReadCostGT(v float64) predicate.Model
- func CacheReadCostGTE(v float64) predicate.Model
- func CacheReadCostIn(vs ...float64) predicate.Model
- func CacheReadCostLT(v float64) predicate.Model
- func CacheReadCostLTE(v float64) predicate.Model
- func CacheReadCostNEQ(v float64) predicate.Model
- func CacheReadCostNotIn(vs ...float64) predicate.Model
- func CacheWriteCost(v float64) predicate.Model
- func CacheWriteCostEQ(v float64) predicate.Model
- func CacheWriteCostGT(v float64) predicate.Model
- func CacheWriteCostGTE(v float64) predicate.Model
- func CacheWriteCostIn(vs ...float64) predicate.Model
- func CacheWriteCostLT(v float64) predicate.Model
- func CacheWriteCostLTE(v float64) predicate.Model
- func CacheWriteCostNEQ(v float64) predicate.Model
- func CacheWriteCostNotIn(vs ...float64) predicate.Model
- func CapabilitiesIsNil() predicate.Model
- func CapabilitiesNotNil() predicate.Model
- func ContextWindow(v int64) predicate.Model
- func ContextWindowEQ(v int64) predicate.Model
- func ContextWindowGT(v int64) predicate.Model
- func ContextWindowGTE(v int64) predicate.Model
- func ContextWindowIn(vs ...int64) predicate.Model
- func ContextWindowLT(v int64) predicate.Model
- func ContextWindowLTE(v int64) predicate.Model
- func ContextWindowNEQ(v int64) predicate.Model
- func ContextWindowNotIn(vs ...int64) predicate.Model
- func CreateTime(v time.Time) predicate.Model
- func CreateTimeEQ(v time.Time) predicate.Model
- func CreateTimeGT(v time.Time) predicate.Model
- func CreateTimeGTE(v time.Time) predicate.Model
- func CreateTimeIn(vs ...time.Time) predicate.Model
- func CreateTimeLT(v time.Time) predicate.Model
- func CreateTimeLTE(v time.Time) predicate.Model
- func CreateTimeNEQ(v time.Time) predicate.Model
- func CreateTimeNotIn(vs ...time.Time) predicate.Model
- func Enabled(v bool) predicate.Model
- func EnabledEQ(v bool) predicate.Model
- func EnabledNEQ(v bool) predicate.Model
- func HasAgents() predicate.Model
- func HasAgentsWith(preds ...predicate.Agent) predicate.Model
- func HasMessages() predicate.Model
- func HasMessagesWith(preds ...predicate.Message) predicate.Model
- func HasModelProvider() predicate.Model
- func HasModelProviderWith(preds ...predicate.ModelProvider) predicate.Model
- func ID(id uuid.UUID) predicate.Model
- func IDEQ(id uuid.UUID) predicate.Model
- func IDGT(id uuid.UUID) predicate.Model
- func IDGTE(id uuid.UUID) predicate.Model
- func IDIn(ids ...uuid.UUID) predicate.Model
- func IDLT(id uuid.UUID) predicate.Model
- func IDLTE(id uuid.UUID) predicate.Model
- func IDNEQ(id uuid.UUID) predicate.Model
- func IDNotIn(ids ...uuid.UUID) predicate.Model
- func InputCost(v float64) predicate.Model
- func InputCostEQ(v float64) predicate.Model
- func InputCostGT(v float64) predicate.Model
- func InputCostGTE(v float64) predicate.Model
- func InputCostIn(vs ...float64) predicate.Model
- func InputCostLT(v float64) predicate.Model
- func InputCostLTE(v float64) predicate.Model
- func InputCostNEQ(v float64) predicate.Model
- func InputCostNotIn(vs ...float64) predicate.Model
- func ModelProviderID(v uuid.UUID) predicate.Model
- func ModelProviderIDEQ(v uuid.UUID) predicate.Model
- func ModelProviderIDIn(vs ...uuid.UUID) predicate.Model
- func ModelProviderIDNEQ(v uuid.UUID) predicate.Model
- func ModelProviderIDNotIn(vs ...uuid.UUID) predicate.Model
- func Name(v string) predicate.Model
- func NameContains(v string) predicate.Model
- func NameContainsFold(v string) predicate.Model
- func NameEQ(v string) predicate.Model
- func NameEqualFold(v string) predicate.Model
- func NameGT(v string) predicate.Model
- func NameGTE(v string) predicate.Model
- func NameHasPrefix(v string) predicate.Model
- func NameHasSuffix(v string) predicate.Model
- func NameIn(vs ...string) predicate.Model
- func NameLT(v string) predicate.Model
- func NameLTE(v string) predicate.Model
- func NameNEQ(v string) predicate.Model
- func NameNotIn(vs ...string) predicate.Model
- func Not(p predicate.Model) predicate.Model
- func Or(predicates ...predicate.Model) predicate.Model
- func OutputCost(v float64) predicate.Model
- func OutputCostEQ(v float64) predicate.Model
- func OutputCostGT(v float64) predicate.Model
- func OutputCostGTE(v float64) predicate.Model
- func OutputCostIn(vs ...float64) predicate.Model
- func OutputCostLT(v float64) predicate.Model
- func OutputCostLTE(v float64) predicate.Model
- func OutputCostNEQ(v float64) predicate.Model
- func OutputCostNotIn(vs ...float64) predicate.Model
- func UpdateTime(v time.Time) predicate.Model
- func UpdateTimeEQ(v time.Time) predicate.Model
- func UpdateTimeGT(v time.Time) predicate.Model
- func UpdateTimeGTE(v time.Time) predicate.Model
- func UpdateTimeIn(vs ...time.Time) predicate.Model
- func UpdateTimeLT(v time.Time) predicate.Model
- func UpdateTimeLTE(v time.Time) predicate.Model
- func UpdateTimeNEQ(v time.Time) predicate.Model
- func UpdateTimeNotIn(vs ...time.Time) predicate.Model
- func ValidColumn(column string) bool
- type OrderOption
- func ByAgents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAgentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAlias(opts ...sql.OrderTermOption) OrderOption
- func ByCacheReadCost(opts ...sql.OrderTermOption) OrderOption
- func ByCacheWriteCost(opts ...sql.OrderTermOption) OrderOption
- func ByContextWindow(opts ...sql.OrderTermOption) OrderOption
- func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInputCost(opts ...sql.OrderTermOption) OrderOption
- func ByMessages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMessagesCount(opts ...sql.OrderTermOption) OrderOption
- func ByModelProviderField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByModelProviderID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOutputCost(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the model type in the database. Label = "model" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldContextWindow holds the string denoting the context_window field in the database. FieldContextWindow = "context_window" // FieldCapabilities holds the string denoting the capabilities field in the database. FieldCapabilities = "capabilities" // FieldInputCost holds the string denoting the input_cost field in the database. FieldInputCost = "input_cost" // FieldOutputCost holds the string denoting the output_cost field in the database. FieldOutputCost = "output_cost" // FieldCacheWriteCost holds the string denoting the cache_write_cost field in the database. FieldCacheWriteCost = "cache_write_cost" // FieldCacheReadCost holds the string denoting the cache_read_cost field in the database. FieldCacheReadCost = "cache_read_cost" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldAlias holds the string denoting the alias field in the database. FieldAlias = "alias" // FieldModelProviderID holds the string denoting the model_provider_id field in the database. FieldModelProviderID = "model_provider_id" // EdgeAgents holds the string denoting the agents edge name in mutations. EdgeAgents = "agents" // EdgeModelProvider holds the string denoting the model_provider edge name in mutations. EdgeModelProvider = "model_provider" // EdgeMessages holds the string denoting the messages edge name in mutations. EdgeMessages = "messages" // Table holds the table name of the model in the database. Table = "models" // AgentsTable is the table that holds the agents relation/edge. AgentsTable = "agents" // AgentsInverseTable is the table name for the Agent entity. // It exists in this package in order to avoid circular dependency with the "agent" package. AgentsInverseTable = "agents" // AgentsColumn is the table column denoting the agents relation/edge. AgentsColumn = "model_id" // ModelProviderTable is the table that holds the model_provider relation/edge. ModelProviderTable = "models" // ModelProviderInverseTable is the table name for the ModelProvider entity. // It exists in this package in order to avoid circular dependency with the "modelprovider" package. ModelProviderInverseTable = "model_providers" // ModelProviderColumn is the table column denoting the model_provider relation/edge. ModelProviderColumn = "model_provider_id" // MessagesTable is the table that holds the messages relation/edge. MessagesTable = "messages" // MessagesInverseTable is the table name for the Message entity. // It exists in this package in order to avoid circular dependency with the "message" package. MessagesInverseTable = "messages" // MessagesColumn is the table column denoting the messages relation/edge. MessagesColumn = "model_id" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // DefaultInputCost holds the default value on creation for the "input_cost" field. DefaultInputCost float64 // InputCostValidator is a validator for the "input_cost" field. It is called by the builders before save. InputCostValidator func(float64) error // DefaultOutputCost holds the default value on creation for the "output_cost" field. DefaultOutputCost float64 // OutputCostValidator is a validator for the "output_cost" field. It is called by the builders before save. OutputCostValidator func(float64) error // DefaultCacheWriteCost holds the default value on creation for the "cache_write_cost" field. DefaultCacheWriteCost float64 // CacheWriteCostValidator is a validator for the "cache_write_cost" field. It is called by the builders before save. CacheWriteCostValidator func(float64) error // DefaultCacheReadCost holds the default value on creation for the "cache_read_cost" field. DefaultCacheReadCost float64 // CacheReadCostValidator is a validator for the "cache_read_cost" field. It is called by the builders before save. CacheReadCostValidator func(float64) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldName, FieldContextWindow, FieldCapabilities, FieldInputCost, FieldOutputCost, FieldCacheWriteCost, FieldCacheReadCost, FieldEnabled, FieldAlias, FieldModelProviderID, }
Columns holds all SQL columns for model fields.
Functions ¶
func Alias ¶
Alias applies equality check predicate on the "alias" field. It's identical to AliasEQ.
func AliasContains ¶
AliasContains applies the Contains predicate on the "alias" field.
func AliasContainsFold ¶
AliasContainsFold applies the ContainsFold predicate on the "alias" field.
func AliasEqualFold ¶
AliasEqualFold applies the EqualFold predicate on the "alias" field.
func AliasHasPrefix ¶
AliasHasPrefix applies the HasPrefix predicate on the "alias" field.
func AliasHasSuffix ¶
AliasHasSuffix applies the HasSuffix predicate on the "alias" field.
func AliasIsNil ¶
AliasIsNil applies the IsNil predicate on the "alias" field.
func AliasNotIn ¶
AliasNotIn applies the NotIn predicate on the "alias" field.
func AliasNotNil ¶
AliasNotNil applies the NotNil predicate on the "alias" field.
func CacheReadCost ¶
CacheReadCost applies equality check predicate on the "cache_read_cost" field. It's identical to CacheReadCostEQ.
func CacheReadCostEQ ¶
CacheReadCostEQ applies the EQ predicate on the "cache_read_cost" field.
func CacheReadCostGT ¶
CacheReadCostGT applies the GT predicate on the "cache_read_cost" field.
func CacheReadCostGTE ¶
CacheReadCostGTE applies the GTE predicate on the "cache_read_cost" field.
func CacheReadCostIn ¶
CacheReadCostIn applies the In predicate on the "cache_read_cost" field.
func CacheReadCostLT ¶
CacheReadCostLT applies the LT predicate on the "cache_read_cost" field.
func CacheReadCostLTE ¶
CacheReadCostLTE applies the LTE predicate on the "cache_read_cost" field.
func CacheReadCostNEQ ¶
CacheReadCostNEQ applies the NEQ predicate on the "cache_read_cost" field.
func CacheReadCostNotIn ¶
CacheReadCostNotIn applies the NotIn predicate on the "cache_read_cost" field.
func CacheWriteCost ¶
CacheWriteCost applies equality check predicate on the "cache_write_cost" field. It's identical to CacheWriteCostEQ.
func CacheWriteCostEQ ¶
CacheWriteCostEQ applies the EQ predicate on the "cache_write_cost" field.
func CacheWriteCostGT ¶
CacheWriteCostGT applies the GT predicate on the "cache_write_cost" field.
func CacheWriteCostGTE ¶
CacheWriteCostGTE applies the GTE predicate on the "cache_write_cost" field.
func CacheWriteCostIn ¶
CacheWriteCostIn applies the In predicate on the "cache_write_cost" field.
func CacheWriteCostLT ¶
CacheWriteCostLT applies the LT predicate on the "cache_write_cost" field.
func CacheWriteCostLTE ¶
CacheWriteCostLTE applies the LTE predicate on the "cache_write_cost" field.
func CacheWriteCostNEQ ¶
CacheWriteCostNEQ applies the NEQ predicate on the "cache_write_cost" field.
func CacheWriteCostNotIn ¶
CacheWriteCostNotIn applies the NotIn predicate on the "cache_write_cost" field.
func CapabilitiesIsNil ¶
CapabilitiesIsNil applies the IsNil predicate on the "capabilities" field.
func CapabilitiesNotNil ¶
CapabilitiesNotNil applies the NotNil predicate on the "capabilities" field.
func ContextWindow ¶
ContextWindow applies equality check predicate on the "context_window" field. It's identical to ContextWindowEQ.
func ContextWindowEQ ¶
ContextWindowEQ applies the EQ predicate on the "context_window" field.
func ContextWindowGT ¶
ContextWindowGT applies the GT predicate on the "context_window" field.
func ContextWindowGTE ¶
ContextWindowGTE applies the GTE predicate on the "context_window" field.
func ContextWindowIn ¶
ContextWindowIn applies the In predicate on the "context_window" field.
func ContextWindowLT ¶
ContextWindowLT applies the LT predicate on the "context_window" field.
func ContextWindowLTE ¶
ContextWindowLTE applies the LTE predicate on the "context_window" field.
func ContextWindowNEQ ¶
ContextWindowNEQ applies the NEQ predicate on the "context_window" field.
func ContextWindowNotIn ¶
ContextWindowNotIn applies the NotIn predicate on the "context_window" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasAgentsWith ¶
HasAgentsWith applies the HasEdge predicate on the "agents" edge with a given conditions (other predicates).
func HasMessages ¶
HasMessages applies the HasEdge predicate on the "messages" edge.
func HasMessagesWith ¶
HasMessagesWith applies the HasEdge predicate on the "messages" edge with a given conditions (other predicates).
func HasModelProvider ¶
HasModelProvider applies the HasEdge predicate on the "model_provider" edge.
func HasModelProviderWith ¶
func HasModelProviderWith(preds ...predicate.ModelProvider) predicate.Model
HasModelProviderWith applies the HasEdge predicate on the "model_provider" edge with a given conditions (other predicates).
func InputCost ¶
InputCost applies equality check predicate on the "input_cost" field. It's identical to InputCostEQ.
func InputCostEQ ¶
InputCostEQ applies the EQ predicate on the "input_cost" field.
func InputCostGT ¶
InputCostGT applies the GT predicate on the "input_cost" field.
func InputCostGTE ¶
InputCostGTE applies the GTE predicate on the "input_cost" field.
func InputCostIn ¶
InputCostIn applies the In predicate on the "input_cost" field.
func InputCostLT ¶
InputCostLT applies the LT predicate on the "input_cost" field.
func InputCostLTE ¶
InputCostLTE applies the LTE predicate on the "input_cost" field.
func InputCostNEQ ¶
InputCostNEQ applies the NEQ predicate on the "input_cost" field.
func InputCostNotIn ¶
InputCostNotIn applies the NotIn predicate on the "input_cost" field.
func ModelProviderID ¶
ModelProviderID applies equality check predicate on the "model_provider_id" field. It's identical to ModelProviderIDEQ.
func ModelProviderIDEQ ¶
ModelProviderIDEQ applies the EQ predicate on the "model_provider_id" field.
func ModelProviderIDIn ¶
ModelProviderIDIn applies the In predicate on the "model_provider_id" field.
func ModelProviderIDNEQ ¶
ModelProviderIDNEQ applies the NEQ predicate on the "model_provider_id" field.
func ModelProviderIDNotIn ¶
ModelProviderIDNotIn applies the NotIn predicate on the "model_provider_id" 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 OutputCost ¶
OutputCost applies equality check predicate on the "output_cost" field. It's identical to OutputCostEQ.
func OutputCostEQ ¶
OutputCostEQ applies the EQ predicate on the "output_cost" field.
func OutputCostGT ¶
OutputCostGT applies the GT predicate on the "output_cost" field.
func OutputCostGTE ¶
OutputCostGTE applies the GTE predicate on the "output_cost" field.
func OutputCostIn ¶
OutputCostIn applies the In predicate on the "output_cost" field.
func OutputCostLT ¶
OutputCostLT applies the LT predicate on the "output_cost" field.
func OutputCostLTE ¶
OutputCostLTE applies the LTE predicate on the "output_cost" field.
func OutputCostNEQ ¶
OutputCostNEQ applies the NEQ predicate on the "output_cost" field.
func OutputCostNotIn ¶
OutputCostNotIn applies the NotIn predicate on the "output_cost" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" 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 Model queries.
func ByAgents ¶
func ByAgents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAgents orders the results by agents terms.
func ByAgentsCount ¶
func ByAgentsCount(opts ...sql.OrderTermOption) OrderOption
ByAgentsCount orders the results by agents count.
func ByAlias ¶
func ByAlias(opts ...sql.OrderTermOption) OrderOption
ByAlias orders the results by the alias field.
func ByCacheReadCost ¶
func ByCacheReadCost(opts ...sql.OrderTermOption) OrderOption
ByCacheReadCost orders the results by the cache_read_cost field.
func ByCacheWriteCost ¶
func ByCacheWriteCost(opts ...sql.OrderTermOption) OrderOption
ByCacheWriteCost orders the results by the cache_write_cost field.
func ByContextWindow ¶
func ByContextWindow(opts ...sql.OrderTermOption) OrderOption
ByContextWindow orders the results by the context_window field.
func ByCreateTime ¶
func ByCreateTime(opts ...sql.OrderTermOption) OrderOption
ByCreateTime orders the results by the create_time field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInputCost ¶
func ByInputCost(opts ...sql.OrderTermOption) OrderOption
ByInputCost orders the results by the input_cost field.
func ByMessages ¶
func ByMessages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMessages orders the results by messages terms.
func ByMessagesCount ¶
func ByMessagesCount(opts ...sql.OrderTermOption) OrderOption
ByMessagesCount orders the results by messages count.
func ByModelProviderField ¶
func ByModelProviderField(field string, opts ...sql.OrderTermOption) OrderOption
ByModelProviderField orders the results by model_provider field.
func ByModelProviderID ¶
func ByModelProviderID(opts ...sql.OrderTermOption) OrderOption
ByModelProviderID orders the results by the model_provider_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOutputCost ¶
func ByOutputCost(opts ...sql.OrderTermOption) OrderOption
ByOutputCost orders the results by the output_cost field.
func ByUpdateTime ¶
func ByUpdateTime(opts ...sql.OrderTermOption) OrderOption
ByUpdateTime orders the results by the update_time field.