Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Onboarding) predicate.Onboarding
- func CompanyDetailsIsNil() predicate.Onboarding
- func CompanyDetailsNotNil() predicate.Onboarding
- func CompanyName(v string) predicate.Onboarding
- func CompanyNameContains(v string) predicate.Onboarding
- func CompanyNameContainsFold(v string) predicate.Onboarding
- func CompanyNameEQ(v string) predicate.Onboarding
- func CompanyNameEqualFold(v string) predicate.Onboarding
- func CompanyNameGT(v string) predicate.Onboarding
- func CompanyNameGTE(v string) predicate.Onboarding
- func CompanyNameHasPrefix(v string) predicate.Onboarding
- func CompanyNameHasSuffix(v string) predicate.Onboarding
- func CompanyNameIn(vs ...string) predicate.Onboarding
- func CompanyNameLT(v string) predicate.Onboarding
- func CompanyNameLTE(v string) predicate.Onboarding
- func CompanyNameNEQ(v string) predicate.Onboarding
- func CompanyNameNotIn(vs ...string) predicate.Onboarding
- func ComplianceIsNil() predicate.Onboarding
- func ComplianceNotNil() predicate.Onboarding
- func DeletedAt(v time.Time) predicate.Onboarding
- func DeletedAtEQ(v time.Time) predicate.Onboarding
- func DeletedAtGT(v time.Time) predicate.Onboarding
- func DeletedAtGTE(v time.Time) predicate.Onboarding
- func DeletedAtIn(vs ...time.Time) predicate.Onboarding
- func DeletedAtIsNil() predicate.Onboarding
- func DeletedAtLT(v time.Time) predicate.Onboarding
- func DeletedAtLTE(v time.Time) predicate.Onboarding
- func DeletedAtNEQ(v time.Time) predicate.Onboarding
- func DeletedAtNotIn(vs ...time.Time) predicate.Onboarding
- func DeletedAtNotNil() predicate.Onboarding
- func DeletedBy(v string) predicate.Onboarding
- func DeletedByContains(v string) predicate.Onboarding
- func DeletedByContainsFold(v string) predicate.Onboarding
- func DeletedByEQ(v string) predicate.Onboarding
- func DeletedByEqualFold(v string) predicate.Onboarding
- func DeletedByGT(v string) predicate.Onboarding
- func DeletedByGTE(v string) predicate.Onboarding
- func DeletedByHasPrefix(v string) predicate.Onboarding
- func DeletedByHasSuffix(v string) predicate.Onboarding
- func DeletedByIn(vs ...string) predicate.Onboarding
- func DeletedByIsNil() predicate.Onboarding
- func DeletedByLT(v string) predicate.Onboarding
- func DeletedByLTE(v string) predicate.Onboarding
- func DeletedByNEQ(v string) predicate.Onboarding
- func DeletedByNotIn(vs ...string) predicate.Onboarding
- func DeletedByNotNil() predicate.Onboarding
- func DomainsIsNil() predicate.Onboarding
- func DomainsNotNil() predicate.Onboarding
- func HasOrganization() predicate.Onboarding
- func HasOrganizationWith(preds ...predicate.Organization) predicate.Onboarding
- func ID(id string) predicate.Onboarding
- func IDContainsFold(id string) predicate.Onboarding
- func IDEQ(id string) predicate.Onboarding
- func IDEqualFold(id string) predicate.Onboarding
- func IDGT(id string) predicate.Onboarding
- func IDGTE(id string) predicate.Onboarding
- func IDIn(ids ...string) predicate.Onboarding
- func IDLT(id string) predicate.Onboarding
- func IDLTE(id string) predicate.Onboarding
- func IDNEQ(id string) predicate.Onboarding
- func IDNotIn(ids ...string) predicate.Onboarding
- func Not(p predicate.Onboarding) predicate.Onboarding
- func Or(predicates ...predicate.Onboarding) predicate.Onboarding
- func OrganizationID(v string) predicate.Onboarding
- func OrganizationIDContains(v string) predicate.Onboarding
- func OrganizationIDContainsFold(v string) predicate.Onboarding
- func OrganizationIDEQ(v string) predicate.Onboarding
- func OrganizationIDEqualFold(v string) predicate.Onboarding
- func OrganizationIDGT(v string) predicate.Onboarding
- func OrganizationIDGTE(v string) predicate.Onboarding
- func OrganizationIDHasPrefix(v string) predicate.Onboarding
- func OrganizationIDHasSuffix(v string) predicate.Onboarding
- func OrganizationIDIn(vs ...string) predicate.Onboarding
- func OrganizationIDIsNil() predicate.Onboarding
- func OrganizationIDLT(v string) predicate.Onboarding
- func OrganizationIDLTE(v string) predicate.Onboarding
- func OrganizationIDNEQ(v string) predicate.Onboarding
- func OrganizationIDNotIn(vs ...string) predicate.Onboarding
- func OrganizationIDNotNil() predicate.Onboarding
- func UserDetailsIsNil() predicate.Onboarding
- func UserDetailsNotNil() predicate.Onboarding
- func ValidColumn(column string) bool
- type OrderOption
- func ByCompanyName(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the onboarding type in the database. Label = "onboarding" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldCompanyName holds the string denoting the company_name field in the database. FieldCompanyName = "company_name" // FieldDomains holds the string denoting the domains field in the database. FieldDomains = "domains" // FieldCompanyDetails holds the string denoting the company_details field in the database. FieldCompanyDetails = "company_details" // FieldUserDetails holds the string denoting the user_details field in the database. FieldUserDetails = "user_details" // FieldCompliance holds the string denoting the compliance field in the database. FieldCompliance = "compliance" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // Table holds the table name of the onboarding in the database. Table = "onboardings" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "onboardings" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" )
Variables ¶
var ( Hooks [3]ent.Hook Interceptors [1]ent.Interceptor Policy ent.Policy // OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save. OrganizationIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldDeletedBy, FieldOrganizationID, FieldCompanyName, FieldDomains, FieldCompanyDetails, FieldUserDetails, FieldCompliance, }
Columns holds all SQL columns for onboarding fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Onboarding) predicate.Onboarding
And groups predicates with the AND operator between them.
func CompanyDetailsIsNil ¶
func CompanyDetailsIsNil() predicate.Onboarding
CompanyDetailsIsNil applies the IsNil predicate on the "company_details" field.
func CompanyDetailsNotNil ¶
func CompanyDetailsNotNil() predicate.Onboarding
CompanyDetailsNotNil applies the NotNil predicate on the "company_details" field.
func CompanyName ¶
func CompanyName(v string) predicate.Onboarding
CompanyName applies equality check predicate on the "company_name" field. It's identical to CompanyNameEQ.
func CompanyNameContains ¶
func CompanyNameContains(v string) predicate.Onboarding
CompanyNameContains applies the Contains predicate on the "company_name" field.
func CompanyNameContainsFold ¶
func CompanyNameContainsFold(v string) predicate.Onboarding
CompanyNameContainsFold applies the ContainsFold predicate on the "company_name" field.
func CompanyNameEQ ¶
func CompanyNameEQ(v string) predicate.Onboarding
CompanyNameEQ applies the EQ predicate on the "company_name" field.
func CompanyNameEqualFold ¶
func CompanyNameEqualFold(v string) predicate.Onboarding
CompanyNameEqualFold applies the EqualFold predicate on the "company_name" field.
func CompanyNameGT ¶
func CompanyNameGT(v string) predicate.Onboarding
CompanyNameGT applies the GT predicate on the "company_name" field.
func CompanyNameGTE ¶
func CompanyNameGTE(v string) predicate.Onboarding
CompanyNameGTE applies the GTE predicate on the "company_name" field.
func CompanyNameHasPrefix ¶
func CompanyNameHasPrefix(v string) predicate.Onboarding
CompanyNameHasPrefix applies the HasPrefix predicate on the "company_name" field.
func CompanyNameHasSuffix ¶
func CompanyNameHasSuffix(v string) predicate.Onboarding
CompanyNameHasSuffix applies the HasSuffix predicate on the "company_name" field.
func CompanyNameIn ¶
func CompanyNameIn(vs ...string) predicate.Onboarding
CompanyNameIn applies the In predicate on the "company_name" field.
func CompanyNameLT ¶
func CompanyNameLT(v string) predicate.Onboarding
CompanyNameLT applies the LT predicate on the "company_name" field.
func CompanyNameLTE ¶
func CompanyNameLTE(v string) predicate.Onboarding
CompanyNameLTE applies the LTE predicate on the "company_name" field.
func CompanyNameNEQ ¶
func CompanyNameNEQ(v string) predicate.Onboarding
CompanyNameNEQ applies the NEQ predicate on the "company_name" field.
func CompanyNameNotIn ¶
func CompanyNameNotIn(vs ...string) predicate.Onboarding
CompanyNameNotIn applies the NotIn predicate on the "company_name" field.
func ComplianceIsNil ¶
func ComplianceIsNil() predicate.Onboarding
ComplianceIsNil applies the IsNil predicate on the "compliance" field.
func ComplianceNotNil ¶
func ComplianceNotNil() predicate.Onboarding
ComplianceNotNil applies the NotNil predicate on the "compliance" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.Onboarding
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.Onboarding
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.Onboarding
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.Onboarding
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.Onboarding
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.Onboarding
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.Onboarding
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.Onboarding
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.Onboarding
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.Onboarding
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.Onboarding
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.Onboarding
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.Onboarding
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.Onboarding
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.Onboarding
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.Onboarding
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.Onboarding
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.Onboarding
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.Onboarding
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.Onboarding
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.Onboarding
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.Onboarding
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.Onboarding
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.Onboarding
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.Onboarding
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.Onboarding
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.Onboarding
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func DomainsIsNil ¶
func DomainsIsNil() predicate.Onboarding
DomainsIsNil applies the IsNil predicate on the "domains" field.
func DomainsNotNil ¶
func DomainsNotNil() predicate.Onboarding
DomainsNotNil applies the NotNil predicate on the "domains" field.
func HasOrganization ¶
func HasOrganization() predicate.Onboarding
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.Onboarding
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.Onboarding
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.Onboarding
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.Onboarding
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.Onboarding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.Onboarding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.Onboarding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.Onboarding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.Onboarding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.Onboarding
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.Onboarding
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Onboarding) predicate.Onboarding
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Onboarding) predicate.Onboarding
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v string) predicate.Onboarding
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDContains ¶
func OrganizationIDContains(v string) predicate.Onboarding
OrganizationIDContains applies the Contains predicate on the "organization_id" field.
func OrganizationIDContainsFold ¶
func OrganizationIDContainsFold(v string) predicate.Onboarding
OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v string) predicate.Onboarding
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDEqualFold ¶
func OrganizationIDEqualFold(v string) predicate.Onboarding
OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.
func OrganizationIDGT ¶
func OrganizationIDGT(v string) predicate.Onboarding
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
func OrganizationIDGTE(v string) predicate.Onboarding
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDHasPrefix ¶
func OrganizationIDHasPrefix(v string) predicate.Onboarding
OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.
func OrganizationIDHasSuffix ¶
func OrganizationIDHasSuffix(v string) predicate.Onboarding
OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...string) predicate.Onboarding
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDIsNil ¶
func OrganizationIDIsNil() predicate.Onboarding
OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
func OrganizationIDLT ¶
func OrganizationIDLT(v string) predicate.Onboarding
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
func OrganizationIDLTE(v string) predicate.Onboarding
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v string) predicate.Onboarding
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...string) predicate.Onboarding
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func OrganizationIDNotNil ¶
func OrganizationIDNotNil() predicate.Onboarding
OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
func UserDetailsIsNil ¶
func UserDetailsIsNil() predicate.Onboarding
UserDetailsIsNil applies the IsNil predicate on the "user_details" field.
func UserDetailsNotNil ¶
func UserDetailsNotNil() predicate.Onboarding
UserDetailsNotNil applies the NotNil predicate on the "user_details" 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 Onboarding queries.
func ByCompanyName ¶
func ByCompanyName(opts ...sql.OrderTermOption) OrderOption
ByCompanyName orders the results by the company_name field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.