workflowsettings

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the workflowsettings type in the database.
	Label = "workflow_settings"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldContentTypes holds the string denoting the content_types field in the database.
	FieldContentTypes = "content_types"
	// FieldLockMinutes holds the string denoting the lock_minutes field in the database.
	FieldLockMinutes = "lock_minutes"
	// Table holds the table name of the workflowsettings in the database.
	Table = "workflow_settings"
)

Variables

Columns holds all SQL columns for workflowsettings fields.

View Source
var (
	// DefaultLockMinutes holds the default value on creation for the "lock_minutes" field.
	DefaultLockMinutes int
)

Functions

func And

And groups predicates with the AND operator between them.

func ContentTypesIsNil

func ContentTypesIsNil() predicate.WorkflowSettings

ContentTypesIsNil applies the IsNil predicate on the "content_types" field.

func ContentTypesNotNil

func ContentTypesNotNil() predicate.WorkflowSettings

ContentTypesNotNil applies the NotNil predicate on the "content_types" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.WorkflowSettings

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.WorkflowSettings

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.WorkflowSettings

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.WorkflowSettings

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.WorkflowSettings

IDNotIn applies the NotIn predicate on the ID field.

func LockMinutes

func LockMinutes(v int) predicate.WorkflowSettings

LockMinutes applies equality check predicate on the "lock_minutes" field. It's identical to LockMinutesEQ.

func LockMinutesEQ

func LockMinutesEQ(v int) predicate.WorkflowSettings

LockMinutesEQ applies the EQ predicate on the "lock_minutes" field.

func LockMinutesGT

func LockMinutesGT(v int) predicate.WorkflowSettings

LockMinutesGT applies the GT predicate on the "lock_minutes" field.

func LockMinutesGTE

func LockMinutesGTE(v int) predicate.WorkflowSettings

LockMinutesGTE applies the GTE predicate on the "lock_minutes" field.

func LockMinutesIn

func LockMinutesIn(vs ...int) predicate.WorkflowSettings

LockMinutesIn applies the In predicate on the "lock_minutes" field.

func LockMinutesLT

func LockMinutesLT(v int) predicate.WorkflowSettings

LockMinutesLT applies the LT predicate on the "lock_minutes" field.

func LockMinutesLTE

func LockMinutesLTE(v int) predicate.WorkflowSettings

LockMinutesLTE applies the LTE predicate on the "lock_minutes" field.

func LockMinutesNEQ

func LockMinutesNEQ(v int) predicate.WorkflowSettings

LockMinutesNEQ applies the NEQ predicate on the "lock_minutes" field.

func LockMinutesNotIn

func LockMinutesNotIn(vs ...int) predicate.WorkflowSettings

LockMinutesNotIn applies the NotIn predicate on the "lock_minutes" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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

func ByID

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

ByID orders the results by the id field.

func ByLockMinutes

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

ByLockMinutes orders the results by the lock_minutes field.

Jump to

Keyboard shortcuts

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