Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OrgApp) predicate.OrgApp
- func AppID(v int) predicate.OrgApp
- func AppIDEQ(v int) predicate.OrgApp
- func AppIDGT(v int) predicate.OrgApp
- func AppIDGTE(v int) predicate.OrgApp
- func AppIDIn(vs ...int) predicate.OrgApp
- func AppIDLT(v int) predicate.OrgApp
- func AppIDLTE(v int) predicate.OrgApp
- func AppIDNEQ(v int) predicate.OrgApp
- func AppIDNotIn(vs ...int) predicate.OrgApp
- func ID(id int) predicate.OrgApp
- func IDEQ(id int) predicate.OrgApp
- func IDGT(id int) predicate.OrgApp
- func IDGTE(id int) predicate.OrgApp
- func IDIn(ids ...int) predicate.OrgApp
- func IDLT(id int) predicate.OrgApp
- func IDLTE(id int) predicate.OrgApp
- func IDNEQ(id int) predicate.OrgApp
- func IDNotIn(ids ...int) predicate.OrgApp
- func Not(p predicate.OrgApp) predicate.OrgApp
- func Or(predicates ...predicate.OrgApp) predicate.OrgApp
- func OrgID(v int) predicate.OrgApp
- func OrgIDEQ(v int) predicate.OrgApp
- func OrgIDGT(v int) predicate.OrgApp
- func OrgIDGTE(v int) predicate.OrgApp
- func OrgIDIn(vs ...int) predicate.OrgApp
- func OrgIDLT(v int) predicate.OrgApp
- func OrgIDLTE(v int) predicate.OrgApp
- func OrgIDNEQ(v int) predicate.OrgApp
- func OrgIDNotIn(vs ...int) predicate.OrgApp
- func ValidColumn(column string) bool
- type OrderOption
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 ¶
View Source
var Columns = []string{ FieldID, FieldOrgID, FieldAppID, }
Columns holds all SQL columns for orgapp fields.
Functions ¶
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func OrgID ¶
OrgID applies equality check predicate on the "org_id" field. It's identical to OrgIDEQ.
func OrgIDNotIn ¶
OrgIDNotIn applies the NotIn predicate on the "org_id" 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 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.
Click to show internal directories.
Click to hide internal directories.