orgapp

package
v0.0.0-...-738d89c Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the orgapp type in the database.
	Label = "org_app"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldOrgID holds the string denoting the org_id field in the database.
	FieldOrgID = "org_id"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// Table holds the table name of the orgapp in the database.
	Table = "org_app"
)

Variables

Columns holds all SQL columns for orgapp fields.

Functions

func And

func And(predicates ...predicate.OrgApp) predicate.OrgApp

And groups predicates with the AND operator between them.

func AppID

func AppID(v int) predicate.OrgApp

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v int) predicate.OrgApp

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v int) predicate.OrgApp

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v int) predicate.OrgApp

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...int) predicate.OrgApp

AppIDIn applies the In predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v int) predicate.OrgApp

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v int) predicate.OrgApp

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v int) predicate.OrgApp

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...int) predicate.OrgApp

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func ID

func ID(id int) predicate.OrgApp

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.OrgApp

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OrgApp

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OrgApp

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OrgApp

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OrgApp

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OrgApp

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.OrgApp) predicate.OrgApp

Or groups predicates with the OR operator between them.

func OrgID

func OrgID(v int) predicate.OrgApp

OrgID applies equality check predicate on the "org_id" field. It's identical to OrgIDEQ.

func OrgIDEQ

func OrgIDEQ(v int) predicate.OrgApp

OrgIDEQ applies the EQ predicate on the "org_id" field.

func OrgIDGT

func OrgIDGT(v int) predicate.OrgApp

OrgIDGT applies the GT predicate on the "org_id" field.

func OrgIDGTE

func OrgIDGTE(v int) predicate.OrgApp

OrgIDGTE applies the GTE predicate on the "org_id" field.

func OrgIDIn

func OrgIDIn(vs ...int) predicate.OrgApp

OrgIDIn applies the In predicate on the "org_id" field.

func OrgIDLT

func OrgIDLT(v int) predicate.OrgApp

OrgIDLT applies the LT predicate on the "org_id" field.

func OrgIDLTE

func OrgIDLTE(v int) predicate.OrgApp

OrgIDLTE applies the LTE predicate on the "org_id" field.

func OrgIDNEQ

func OrgIDNEQ(v int) predicate.OrgApp

OrgIDNEQ applies the NEQ predicate on the "org_id" field.

func OrgIDNotIn

func OrgIDNotIn(vs ...int) predicate.OrgApp

OrgIDNotIn applies the NotIn predicate on the "org_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 OrgApp queries.

func ByAppID

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

ByAppID orders the results by the app_id field.

func ByID

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

ByID orders the results by the id field.

func ByOrgID

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

ByOrgID orders the results by the org_id field.

Jump to

Keyboard shortcuts

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