package setup
import "git.dotya.ml/mirre-mt/pcmt/ent/setup"
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Setup) predicate.Setup
- func ID(id uuid.UUID) predicate.Setup
- func IDEQ(id uuid.UUID) predicate.Setup
- func IDGT(id uuid.UUID) predicate.Setup
- func IDGTE(id uuid.UUID) predicate.Setup
- func IDIn(ids ...uuid.UUID) predicate.Setup
- func IDLT(id uuid.UUID) predicate.Setup
- func IDLTE(id uuid.UUID) predicate.Setup
- func IDNEQ(id uuid.UUID) predicate.Setup
- func IDNotIn(ids ...uuid.UUID) predicate.Setup
- func Not(p predicate.Setup) predicate.Setup
- func Or(predicates ...predicate.Setup) predicate.Setup
- func SetUpAt(v time.Time) predicate.Setup
- func SetUpAtEQ(v time.Time) predicate.Setup
- func SetUpAtGT(v time.Time) predicate.Setup
- func SetUpAtGTE(v time.Time) predicate.Setup
- func SetUpAtIn(vs ...time.Time) predicate.Setup
- func SetUpAtLT(v time.Time) predicate.Setup
- func SetUpAtLTE(v time.Time) predicate.Setup
- func SetUpAtNEQ(v time.Time) predicate.Setup
- func SetUpAtNotIn(vs ...time.Time) predicate.Setup
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the setup type in the database. Label = "setup" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSetUpAt holds the string denoting the set_up_at field in the database. FieldSetUpAt = "set_up_at" // Table holds the table name of the setup in the database. Table = "setups" )
Variables ¶
var ( // DefaultSetUpAt holds the default value on creation for the "set_up_at" field. DefaultSetUpAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSetUpAt, }
Columns holds all SQL columns for setup fields.
Functions ¶
func And ¶
And groups predicates with the AND operator between them.
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 ¶
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
IDIn applies the In predicate on the ID field.
func IDLT ¶
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
Not applies the not operator on the given predicate.
func Or ¶
Or groups predicates with the OR operator between them.
func SetUpAt ¶
SetUpAt applies equality check predicate on the "set_up_at" field. It's identical to SetUpAtEQ.
func SetUpAtEQ ¶
SetUpAtEQ applies the EQ predicate on the "set_up_at" field.
func SetUpAtGT ¶
SetUpAtGT applies the GT predicate on the "set_up_at" field.
func SetUpAtGTE ¶
SetUpAtGTE applies the GTE predicate on the "set_up_at" field.
func SetUpAtIn ¶
SetUpAtIn applies the In predicate on the "set_up_at" field.
func SetUpAtLT ¶
SetUpAtLT applies the LT predicate on the "set_up_at" field.
func SetUpAtLTE ¶
SetUpAtLTE applies the LTE predicate on the "set_up_at" field.
func SetUpAtNEQ ¶
SetUpAtNEQ applies the NEQ predicate on the "set_up_at" field.
func SetUpAtNotIn ¶
SetUpAtNotIn applies the NotIn predicate on the "set_up_at" 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 Setup queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySetUpAt ¶
func BySetUpAt(opts ...sql.OrderTermOption) OrderOption
BySetUpAt orders the results by the set_up_at field.
Source Files ¶
setup.go where.go
- Version
- v0.0.0-20230910121657-4d10510f5ba4 (latest)
- Published
- Sep 10, 2023
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 month ago –
Tools for package owners.