Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Note) predicate.Note
- func CreatedAt(v time.Time) predicate.Note
- func CreatedAtEQ(v time.Time) predicate.Note
- func CreatedAtGT(v time.Time) predicate.Note
- func CreatedAtGTE(v time.Time) predicate.Note
- func CreatedAtIn(vs ...time.Time) predicate.Note
- func CreatedAtIsNil() predicate.Note
- func CreatedAtLT(v time.Time) predicate.Note
- func CreatedAtLTE(v time.Time) predicate.Note
- func CreatedAtNEQ(v time.Time) predicate.Note
- func CreatedAtNotIn(vs ...time.Time) predicate.Note
- func CreatedAtNotNil() predicate.Note
- func CreatedBy(v string) predicate.Note
- func CreatedByContains(v string) predicate.Note
- func CreatedByContainsFold(v string) predicate.Note
- func CreatedByEQ(v string) predicate.Note
- func CreatedByEqualFold(v string) predicate.Note
- func CreatedByGT(v string) predicate.Note
- func CreatedByGTE(v string) predicate.Note
- func CreatedByHasPrefix(v string) predicate.Note
- func CreatedByHasSuffix(v string) predicate.Note
- func CreatedByIn(vs ...string) predicate.Note
- func CreatedByIsNil() predicate.Note
- func CreatedByLT(v string) predicate.Note
- func CreatedByLTE(v string) predicate.Note
- func CreatedByNEQ(v string) predicate.Note
- func CreatedByNotIn(vs ...string) predicate.Note
- func CreatedByNotNil() predicate.Note
- func DeletedAt(v time.Time) predicate.Note
- func DeletedAtEQ(v time.Time) predicate.Note
- func DeletedAtGT(v time.Time) predicate.Note
- func DeletedAtGTE(v time.Time) predicate.Note
- func DeletedAtIn(vs ...time.Time) predicate.Note
- func DeletedAtIsNil() predicate.Note
- func DeletedAtLT(v time.Time) predicate.Note
- func DeletedAtLTE(v time.Time) predicate.Note
- func DeletedAtNEQ(v time.Time) predicate.Note
- func DeletedAtNotIn(vs ...time.Time) predicate.Note
- func DeletedAtNotNil() predicate.Note
- func DeletedBy(v string) predicate.Note
- func DeletedByContains(v string) predicate.Note
- func DeletedByContainsFold(v string) predicate.Note
- func DeletedByEQ(v string) predicate.Note
- func DeletedByEqualFold(v string) predicate.Note
- func DeletedByGT(v string) predicate.Note
- func DeletedByGTE(v string) predicate.Note
- func DeletedByHasPrefix(v string) predicate.Note
- func DeletedByHasSuffix(v string) predicate.Note
- func DeletedByIn(vs ...string) predicate.Note
- func DeletedByIsNil() predicate.Note
- func DeletedByLT(v string) predicate.Note
- func DeletedByLTE(v string) predicate.Note
- func DeletedByNEQ(v string) predicate.Note
- func DeletedByNotIn(vs ...string) predicate.Note
- func DeletedByNotNil() predicate.Note
- func HasEntity() predicate.Note
- func HasEntityWith(preds ...predicate.Entity) predicate.Note
- func HasOwner() predicate.Note
- func HasOwnerWith(preds ...predicate.Organization) predicate.Note
- func HasProgram() predicate.Note
- func HasProgramWith(preds ...predicate.Program) predicate.Note
- func HasSubcontrols() predicate.Note
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Note
- func ID(id string) predicate.Note
- func IDContainsFold(id string) predicate.Note
- func IDEQ(id string) predicate.Note
- func IDEqualFold(id string) predicate.Note
- func IDGT(id string) predicate.Note
- func IDGTE(id string) predicate.Note
- func IDIn(ids ...string) predicate.Note
- func IDLT(id string) predicate.Note
- func IDLTE(id string) predicate.Note
- func IDNEQ(id string) predicate.Note
- func IDNotIn(ids ...string) predicate.Note
- func MappingID(v string) predicate.Note
- func MappingIDContains(v string) predicate.Note
- func MappingIDContainsFold(v string) predicate.Note
- func MappingIDEQ(v string) predicate.Note
- func MappingIDEqualFold(v string) predicate.Note
- func MappingIDGT(v string) predicate.Note
- func MappingIDGTE(v string) predicate.Note
- func MappingIDHasPrefix(v string) predicate.Note
- func MappingIDHasSuffix(v string) predicate.Note
- func MappingIDIn(vs ...string) predicate.Note
- func MappingIDLT(v string) predicate.Note
- func MappingIDLTE(v string) predicate.Note
- func MappingIDNEQ(v string) predicate.Note
- func MappingIDNotIn(vs ...string) predicate.Note
- func Not(p predicate.Note) predicate.Note
- func Or(predicates ...predicate.Note) predicate.Note
- func OwnerID(v string) predicate.Note
- func OwnerIDContains(v string) predicate.Note
- func OwnerIDContainsFold(v string) predicate.Note
- func OwnerIDEQ(v string) predicate.Note
- func OwnerIDEqualFold(v string) predicate.Note
- func OwnerIDGT(v string) predicate.Note
- func OwnerIDGTE(v string) predicate.Note
- func OwnerIDHasPrefix(v string) predicate.Note
- func OwnerIDHasSuffix(v string) predicate.Note
- func OwnerIDIn(vs ...string) predicate.Note
- func OwnerIDIsNil() predicate.Note
- func OwnerIDLT(v string) predicate.Note
- func OwnerIDLTE(v string) predicate.Note
- func OwnerIDNEQ(v string) predicate.Note
- func OwnerIDNotIn(vs ...string) predicate.Note
- func OwnerIDNotNil() predicate.Note
- func TagsIsNil() predicate.Note
- func TagsNotNil() predicate.Note
- func Text(v string) predicate.Note
- func TextContains(v string) predicate.Note
- func TextContainsFold(v string) predicate.Note
- func TextEQ(v string) predicate.Note
- func TextEqualFold(v string) predicate.Note
- func TextGT(v string) predicate.Note
- func TextGTE(v string) predicate.Note
- func TextHasPrefix(v string) predicate.Note
- func TextHasSuffix(v string) predicate.Note
- func TextIn(vs ...string) predicate.Note
- func TextLT(v string) predicate.Note
- func TextLTE(v string) predicate.Note
- func TextNEQ(v string) predicate.Note
- func TextNotIn(vs ...string) predicate.Note
- func UpdatedAt(v time.Time) predicate.Note
- func UpdatedAtEQ(v time.Time) predicate.Note
- func UpdatedAtGT(v time.Time) predicate.Note
- func UpdatedAtGTE(v time.Time) predicate.Note
- func UpdatedAtIn(vs ...time.Time) predicate.Note
- func UpdatedAtIsNil() predicate.Note
- func UpdatedAtLT(v time.Time) predicate.Note
- func UpdatedAtLTE(v time.Time) predicate.Note
- func UpdatedAtNEQ(v time.Time) predicate.Note
- func UpdatedAtNotIn(vs ...time.Time) predicate.Note
- func UpdatedAtNotNil() predicate.Note
- func UpdatedBy(v string) predicate.Note
- func UpdatedByContains(v string) predicate.Note
- func UpdatedByContainsFold(v string) predicate.Note
- func UpdatedByEQ(v string) predicate.Note
- func UpdatedByEqualFold(v string) predicate.Note
- func UpdatedByGT(v string) predicate.Note
- func UpdatedByGTE(v string) predicate.Note
- func UpdatedByHasPrefix(v string) predicate.Note
- func UpdatedByHasSuffix(v string) predicate.Note
- func UpdatedByIn(vs ...string) predicate.Note
- func UpdatedByIsNil() predicate.Note
- func UpdatedByLT(v string) predicate.Note
- func UpdatedByLTE(v string) predicate.Note
- func UpdatedByNEQ(v string) predicate.Note
- func UpdatedByNotIn(vs ...string) predicate.Note
- func UpdatedByNotNil() predicate.Note
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEntityField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramCount(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func ByText(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the note type in the database. Label = "note" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldText holds the string denoting the text field in the database. FieldText = "text" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeEntity holds the string denoting the entity edge name in mutations. EdgeEntity = "entity" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeProgram holds the string denoting the program edge name in mutations. EdgeProgram = "program" // Table holds the table name of the note in the database. Table = "notes" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "notes" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // EntityTable is the table that holds the entity relation/edge. EntityTable = "notes" // EntityInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. EntityInverseTable = "entities" // EntityColumn is the table column denoting the entity relation/edge. EntityColumn = "entity_notes" // SubcontrolsTable is the table that holds the subcontrols relation/edge. SubcontrolsTable = "subcontrols" // SubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. SubcontrolsInverseTable = "subcontrols" // SubcontrolsColumn is the table column denoting the subcontrols relation/edge. SubcontrolsColumn = "note_subcontrols" // ProgramTable is the table that holds the program relation/edge. The primary key declared below. ProgramTable = "program_notes" // ProgramInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramInverseTable = "programs" )
Variables ¶
var ( Hooks [4]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // TextValidator is a validator for the "text" field. It is called by the builders before save. TextValidator 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, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldText, }
Columns holds all SQL columns for note fields.
var ForeignKeys = []string{
"entity_notes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "notes" table and are not defined as standalone fields in the schema.
var ( // ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the // primary key for the program relation (M2M). ProgramPrimaryKey = []string{"program_id", "note_id"} )
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func HasEntityWith ¶
HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Note
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProgram ¶ added in v0.3.5
HasProgram applies the HasEdge predicate on the "program" edge.
func HasProgramWith ¶ added in v0.3.5
HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).
func HasSubcontrols ¶ added in v0.3.3
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶ added in v0.3.3
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Note
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func TextContains ¶
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEqualFold ¶
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextHasPrefix ¶
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 Note queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by 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 ByEntityField ¶
func ByEntityField(field string, opts ...sql.OrderTermOption) OrderOption
ByEntityField orders the results by entity field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProgram ¶ added in v0.3.5
func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProgram orders the results by program terms.
func ByProgramCount ¶ added in v0.3.5
func ByProgramCount(opts ...sql.OrderTermOption) OrderOption
ByProgramCount orders the results by program count.
func BySubcontrols ¶ added in v0.3.3
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶ added in v0.3.3
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func ByText ¶
func ByText(opts ...sql.OrderTermOption) OrderOption
ByText orders the results by the text field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.