function

package
v0.0.0-...-166cf9e Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the function type in the database.
	Label = "function"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldRuntimeID holds the string denoting the runtime_id field in the database.
	FieldRuntimeID = "runtime_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldHandler holds the string denoting the handler field in the database.
	FieldHandler = "handler"
	// FieldCodePath holds the string denoting the code_path field in the database.
	FieldCodePath = "code_path"
	// FieldCodeType holds the string denoting the code_type field in the database.
	FieldCodeType = "code_type"
	// FieldCodeHash holds the string denoting the code_hash field in the database.
	FieldCodeHash = "code_hash"
	// FieldTimeout holds the string denoting the timeout field in the database.
	FieldTimeout = "timeout"
	// FieldMemory holds the string denoting the memory field in the database.
	FieldMemory = "memory"
	// FieldEnvironment holds the string denoting the environment field in the database.
	FieldEnvironment = "environment"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// EdgeTenant holds the string denoting the tenant edge name in mutations.
	EdgeTenant = "tenant"
	// EdgeLangRuntime holds the string denoting the lang_runtime edge name in mutations.
	EdgeLangRuntime = "lang_runtime"
	// EdgeExecutions holds the string denoting the executions edge name in mutations.
	EdgeExecutions = "executions"
	// Table holds the table name of the function in the database.
	Table = "functions"
	// TenantTable is the table that holds the tenant relation/edge.
	TenantTable = "functions"
	// TenantInverseTable is the table name for the Tenant entity.
	// It exists in this package in order to avoid circular dependency with the "tenant" package.
	TenantInverseTable = "tenants"
	// TenantColumn is the table column denoting the tenant relation/edge.
	TenantColumn = "tenant_id"
	// LangRuntimeTable is the table that holds the lang_runtime relation/edge.
	LangRuntimeTable = "functions"
	// LangRuntimeInverseTable is the table name for the LangRuntime entity.
	// It exists in this package in order to avoid circular dependency with the "langruntime" package.
	LangRuntimeInverseTable = "lang_runtimes"
	// LangRuntimeColumn is the table column denoting the lang_runtime relation/edge.
	LangRuntimeColumn = "runtime_id"
	// ExecutionsTable is the table that holds the executions relation/edge.
	ExecutionsTable = "executions"
	// ExecutionsInverseTable is the table name for the Execution entity.
	// It exists in this package in order to avoid circular dependency with the "execution" package.
	ExecutionsInverseTable = "executions"
	// ExecutionsColumn is the table column denoting the executions relation/edge.
	ExecutionsColumn = "function_id"
)

Variables

View Source
var (
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// HandlerValidator is a validator for the "handler" field. It is called by the builders before save.
	HandlerValidator func(string) error
	// CodeTypeValidator is a validator for the "code_type" field. It is called by the builders before save.
	CodeTypeValidator func(string) error
	// DefaultTimeout holds the default value on creation for the "timeout" field.
	DefaultTimeout int
	// TimeoutValidator is a validator for the "timeout" field. It is called by the builders before save.
	TimeoutValidator func(int) error
	// DefaultMemory holds the default value on creation for the "memory" field.
	DefaultMemory int
	// MemoryValidator is a validator for the "memory" field. It is called by the builders before save.
	MemoryValidator func(int) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for function fields.

Functions

func And

func And(predicates ...predicate.Function) predicate.Function

And groups predicates with the AND operator between them.

func CodeHash

func CodeHash(v string) predicate.Function

CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.

func CodeHashContains

func CodeHashContains(v string) predicate.Function

CodeHashContains applies the Contains predicate on the "code_hash" field.

func CodeHashContainsFold

func CodeHashContainsFold(v string) predicate.Function

CodeHashContainsFold applies the ContainsFold predicate on the "code_hash" field.

func CodeHashEQ

func CodeHashEQ(v string) predicate.Function

CodeHashEQ applies the EQ predicate on the "code_hash" field.

func CodeHashEqualFold

func CodeHashEqualFold(v string) predicate.Function

CodeHashEqualFold applies the EqualFold predicate on the "code_hash" field.

func CodeHashGT

func CodeHashGT(v string) predicate.Function

CodeHashGT applies the GT predicate on the "code_hash" field.

func CodeHashGTE

func CodeHashGTE(v string) predicate.Function

CodeHashGTE applies the GTE predicate on the "code_hash" field.

func CodeHashHasPrefix

func CodeHashHasPrefix(v string) predicate.Function

CodeHashHasPrefix applies the HasPrefix predicate on the "code_hash" field.

func CodeHashHasSuffix

func CodeHashHasSuffix(v string) predicate.Function

CodeHashHasSuffix applies the HasSuffix predicate on the "code_hash" field.

func CodeHashIn

func CodeHashIn(vs ...string) predicate.Function

CodeHashIn applies the In predicate on the "code_hash" field.

func CodeHashIsNil

func CodeHashIsNil() predicate.Function

CodeHashIsNil applies the IsNil predicate on the "code_hash" field.

func CodeHashLT

func CodeHashLT(v string) predicate.Function

CodeHashLT applies the LT predicate on the "code_hash" field.

func CodeHashLTE

func CodeHashLTE(v string) predicate.Function

CodeHashLTE applies the LTE predicate on the "code_hash" field.

func CodeHashNEQ

func CodeHashNEQ(v string) predicate.Function

CodeHashNEQ applies the NEQ predicate on the "code_hash" field.

func CodeHashNotIn

func CodeHashNotIn(vs ...string) predicate.Function

CodeHashNotIn applies the NotIn predicate on the "code_hash" field.

func CodeHashNotNil

func CodeHashNotNil() predicate.Function

CodeHashNotNil applies the NotNil predicate on the "code_hash" field.

func CodePath

func CodePath(v string) predicate.Function

CodePath applies equality check predicate on the "code_path" field. It's identical to CodePathEQ.

func CodePathContains

func CodePathContains(v string) predicate.Function

CodePathContains applies the Contains predicate on the "code_path" field.

func CodePathContainsFold

func CodePathContainsFold(v string) predicate.Function

CodePathContainsFold applies the ContainsFold predicate on the "code_path" field.

func CodePathEQ

func CodePathEQ(v string) predicate.Function

CodePathEQ applies the EQ predicate on the "code_path" field.

func CodePathEqualFold

func CodePathEqualFold(v string) predicate.Function

CodePathEqualFold applies the EqualFold predicate on the "code_path" field.

func CodePathGT

func CodePathGT(v string) predicate.Function

CodePathGT applies the GT predicate on the "code_path" field.

func CodePathGTE

func CodePathGTE(v string) predicate.Function

CodePathGTE applies the GTE predicate on the "code_path" field.

func CodePathHasPrefix

func CodePathHasPrefix(v string) predicate.Function

CodePathHasPrefix applies the HasPrefix predicate on the "code_path" field.

func CodePathHasSuffix

func CodePathHasSuffix(v string) predicate.Function

CodePathHasSuffix applies the HasSuffix predicate on the "code_path" field.

func CodePathIn

func CodePathIn(vs ...string) predicate.Function

CodePathIn applies the In predicate on the "code_path" field.

func CodePathIsNil

func CodePathIsNil() predicate.Function

CodePathIsNil applies the IsNil predicate on the "code_path" field.

func CodePathLT

func CodePathLT(v string) predicate.Function

CodePathLT applies the LT predicate on the "code_path" field.

func CodePathLTE

func CodePathLTE(v string) predicate.Function

CodePathLTE applies the LTE predicate on the "code_path" field.

func CodePathNEQ

func CodePathNEQ(v string) predicate.Function

CodePathNEQ applies the NEQ predicate on the "code_path" field.

func CodePathNotIn

func CodePathNotIn(vs ...string) predicate.Function

CodePathNotIn applies the NotIn predicate on the "code_path" field.

func CodePathNotNil

func CodePathNotNil() predicate.Function

CodePathNotNil applies the NotNil predicate on the "code_path" field.

func CodeType

func CodeType(v string) predicate.Function

CodeType applies equality check predicate on the "code_type" field. It's identical to CodeTypeEQ.

func CodeTypeContains

func CodeTypeContains(v string) predicate.Function

CodeTypeContains applies the Contains predicate on the "code_type" field.

func CodeTypeContainsFold

func CodeTypeContainsFold(v string) predicate.Function

CodeTypeContainsFold applies the ContainsFold predicate on the "code_type" field.

func CodeTypeEQ

func CodeTypeEQ(v string) predicate.Function

CodeTypeEQ applies the EQ predicate on the "code_type" field.

func CodeTypeEqualFold

func CodeTypeEqualFold(v string) predicate.Function

CodeTypeEqualFold applies the EqualFold predicate on the "code_type" field.

func CodeTypeGT

func CodeTypeGT(v string) predicate.Function

CodeTypeGT applies the GT predicate on the "code_type" field.

func CodeTypeGTE

func CodeTypeGTE(v string) predicate.Function

CodeTypeGTE applies the GTE predicate on the "code_type" field.

func CodeTypeHasPrefix

func CodeTypeHasPrefix(v string) predicate.Function

CodeTypeHasPrefix applies the HasPrefix predicate on the "code_type" field.

func CodeTypeHasSuffix

func CodeTypeHasSuffix(v string) predicate.Function

CodeTypeHasSuffix applies the HasSuffix predicate on the "code_type" field.

func CodeTypeIn

func CodeTypeIn(vs ...string) predicate.Function

CodeTypeIn applies the In predicate on the "code_type" field.

func CodeTypeLT

func CodeTypeLT(v string) predicate.Function

CodeTypeLT applies the LT predicate on the "code_type" field.

func CodeTypeLTE

func CodeTypeLTE(v string) predicate.Function

CodeTypeLTE applies the LTE predicate on the "code_type" field.

func CodeTypeNEQ

func CodeTypeNEQ(v string) predicate.Function

CodeTypeNEQ applies the NEQ predicate on the "code_type" field.

func CodeTypeNotIn

func CodeTypeNotIn(vs ...string) predicate.Function

CodeTypeNotIn applies the NotIn predicate on the "code_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Function

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Function

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Function

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Function

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Function

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Function

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Function

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

func CreatedAtNotIn

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

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

func EnvironmentIsNil

func EnvironmentIsNil() predicate.Function

EnvironmentIsNil applies the IsNil predicate on the "environment" field.

func EnvironmentNotNil

func EnvironmentNotNil() predicate.Function

EnvironmentNotNil applies the NotNil predicate on the "environment" field.

func Handler

func Handler(v string) predicate.Function

Handler applies equality check predicate on the "handler" field. It's identical to HandlerEQ.

func HandlerContains

func HandlerContains(v string) predicate.Function

HandlerContains applies the Contains predicate on the "handler" field.

func HandlerContainsFold

func HandlerContainsFold(v string) predicate.Function

HandlerContainsFold applies the ContainsFold predicate on the "handler" field.

func HandlerEQ

func HandlerEQ(v string) predicate.Function

HandlerEQ applies the EQ predicate on the "handler" field.

func HandlerEqualFold

func HandlerEqualFold(v string) predicate.Function

HandlerEqualFold applies the EqualFold predicate on the "handler" field.

func HandlerGT

func HandlerGT(v string) predicate.Function

HandlerGT applies the GT predicate on the "handler" field.

func HandlerGTE

func HandlerGTE(v string) predicate.Function

HandlerGTE applies the GTE predicate on the "handler" field.

func HandlerHasPrefix

func HandlerHasPrefix(v string) predicate.Function

HandlerHasPrefix applies the HasPrefix predicate on the "handler" field.

func HandlerHasSuffix

func HandlerHasSuffix(v string) predicate.Function

HandlerHasSuffix applies the HasSuffix predicate on the "handler" field.

func HandlerIn

func HandlerIn(vs ...string) predicate.Function

HandlerIn applies the In predicate on the "handler" field.

func HandlerLT

func HandlerLT(v string) predicate.Function

HandlerLT applies the LT predicate on the "handler" field.

func HandlerLTE

func HandlerLTE(v string) predicate.Function

HandlerLTE applies the LTE predicate on the "handler" field.

func HandlerNEQ

func HandlerNEQ(v string) predicate.Function

HandlerNEQ applies the NEQ predicate on the "handler" field.

func HandlerNotIn

func HandlerNotIn(vs ...string) predicate.Function

HandlerNotIn applies the NotIn predicate on the "handler" field.

func HasExecutions

func HasExecutions() predicate.Function

HasExecutions applies the HasEdge predicate on the "executions" edge.

func HasExecutionsWith

func HasExecutionsWith(preds ...predicate.Execution) predicate.Function

HasExecutionsWith applies the HasEdge predicate on the "executions" edge with a given conditions (other predicates).

func HasLangRuntime

func HasLangRuntime() predicate.Function

HasLangRuntime applies the HasEdge predicate on the "lang_runtime" edge.

func HasLangRuntimeWith

func HasLangRuntimeWith(preds ...predicate.LangRuntime) predicate.Function

HasLangRuntimeWith applies the HasEdge predicate on the "lang_runtime" edge with a given conditions (other predicates).

func HasTenant

func HasTenant() predicate.Function

HasTenant applies the HasEdge predicate on the "tenant" edge.

func HasTenantWith

func HasTenantWith(preds ...predicate.Tenant) predicate.Function

HasTenantWith applies the HasEdge predicate on the "tenant" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Function

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Function

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Function

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Function

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Function

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Function

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Function

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Memory

func Memory(v int) predicate.Function

Memory applies equality check predicate on the "memory" field. It's identical to MemoryEQ.

func MemoryEQ

func MemoryEQ(v int) predicate.Function

MemoryEQ applies the EQ predicate on the "memory" field.

func MemoryGT

func MemoryGT(v int) predicate.Function

MemoryGT applies the GT predicate on the "memory" field.

func MemoryGTE

func MemoryGTE(v int) predicate.Function

MemoryGTE applies the GTE predicate on the "memory" field.

func MemoryIn

func MemoryIn(vs ...int) predicate.Function

MemoryIn applies the In predicate on the "memory" field.

func MemoryLT

func MemoryLT(v int) predicate.Function

MemoryLT applies the LT predicate on the "memory" field.

func MemoryLTE

func MemoryLTE(v int) predicate.Function

MemoryLTE applies the LTE predicate on the "memory" field.

func MemoryNEQ

func MemoryNEQ(v int) predicate.Function

MemoryNEQ applies the NEQ predicate on the "memory" field.

func MemoryNotIn

func MemoryNotIn(vs ...int) predicate.Function

MemoryNotIn applies the NotIn predicate on the "memory" field.

func Name

func Name(v string) predicate.Function

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

func NameContains

func NameContains(v string) predicate.Function

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

func NameContainsFold

func NameContainsFold(v string) predicate.Function

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

func NameEQ

func NameEQ(v string) predicate.Function

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

func NameEqualFold

func NameEqualFold(v string) predicate.Function

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

func NameGT

func NameGT(v string) predicate.Function

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

func NameGTE

func NameGTE(v string) predicate.Function

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Function

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Function

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Function

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

func NameLTE

func NameLTE(v string) predicate.Function

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

func NameNEQ

func NameNEQ(v string) predicate.Function

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

func NameNotIn

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

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.Function) predicate.Function

Or groups predicates with the OR operator between them.

func RuntimeID

func RuntimeID(v uuid.UUID) predicate.Function

RuntimeID applies equality check predicate on the "runtime_id" field. It's identical to RuntimeIDEQ.

func RuntimeIDEQ

func RuntimeIDEQ(v uuid.UUID) predicate.Function

RuntimeIDEQ applies the EQ predicate on the "runtime_id" field.

func RuntimeIDIn

func RuntimeIDIn(vs ...uuid.UUID) predicate.Function

RuntimeIDIn applies the In predicate on the "runtime_id" field.

func RuntimeIDNEQ

func RuntimeIDNEQ(v uuid.UUID) predicate.Function

RuntimeIDNEQ applies the NEQ predicate on the "runtime_id" field.

func RuntimeIDNotIn

func RuntimeIDNotIn(vs ...uuid.UUID) predicate.Function

RuntimeIDNotIn applies the NotIn predicate on the "runtime_id" field.

func Status

func Status(v string) predicate.Function

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Function

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Function

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Function

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Function

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Function

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Function

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Function

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Function

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Function

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Function

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Function

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Function

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Function

StatusNotIn applies the NotIn predicate on the "status" field.

func TenantID

func TenantID(v uuid.UUID) predicate.Function

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v uuid.UUID) predicate.Function

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...uuid.UUID) predicate.Function

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v uuid.UUID) predicate.Function

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...uuid.UUID) predicate.Function

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func Timeout

func Timeout(v int) predicate.Function

Timeout applies equality check predicate on the "timeout" field. It's identical to TimeoutEQ.

func TimeoutEQ

func TimeoutEQ(v int) predicate.Function

TimeoutEQ applies the EQ predicate on the "timeout" field.

func TimeoutGT

func TimeoutGT(v int) predicate.Function

TimeoutGT applies the GT predicate on the "timeout" field.

func TimeoutGTE

func TimeoutGTE(v int) predicate.Function

TimeoutGTE applies the GTE predicate on the "timeout" field.

func TimeoutIn

func TimeoutIn(vs ...int) predicate.Function

TimeoutIn applies the In predicate on the "timeout" field.

func TimeoutLT

func TimeoutLT(v int) predicate.Function

TimeoutLT applies the LT predicate on the "timeout" field.

func TimeoutLTE

func TimeoutLTE(v int) predicate.Function

TimeoutLTE applies the LTE predicate on the "timeout" field.

func TimeoutNEQ

func TimeoutNEQ(v int) predicate.Function

TimeoutNEQ applies the NEQ predicate on the "timeout" field.

func TimeoutNotIn

func TimeoutNotIn(vs ...int) predicate.Function

TimeoutNotIn applies the NotIn predicate on the "timeout" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Function

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Function

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Function

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Function

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Function

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Function

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Function

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 Function queries.

func ByCodeHash

func ByCodeHash(opts ...sql.OrderTermOption) OrderOption

ByCodeHash orders the results by the code_hash field.

func ByCodePath

func ByCodePath(opts ...sql.OrderTermOption) OrderOption

ByCodePath orders the results by the code_path field.

func ByCodeType

func ByCodeType(opts ...sql.OrderTermOption) OrderOption

ByCodeType orders the results by the code_type field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByExecutions

func ByExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByExecutions orders the results by executions terms.

func ByExecutionsCount

func ByExecutionsCount(opts ...sql.OrderTermOption) OrderOption

ByExecutionsCount orders the results by executions count.

func ByHandler

func ByHandler(opts ...sql.OrderTermOption) OrderOption

ByHandler orders the results by the handler field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLangRuntimeField

func ByLangRuntimeField(field string, opts ...sql.OrderTermOption) OrderOption

ByLangRuntimeField orders the results by lang_runtime field.

func ByMemory

func ByMemory(opts ...sql.OrderTermOption) OrderOption

ByMemory orders the results by the memory field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByRuntimeID

func ByRuntimeID(opts ...sql.OrderTermOption) OrderOption

ByRuntimeID orders the results by the runtime_id field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTenantField

func ByTenantField(field string, opts ...sql.OrderTermOption) OrderOption

ByTenantField orders the results by tenant field.

func ByTenantID

func ByTenantID(opts ...sql.OrderTermOption) OrderOption

ByTenantID orders the results by the tenant_id field.

func ByTimeout

func ByTimeout(opts ...sql.OrderTermOption) OrderOption

ByTimeout orders the results by the timeout field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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