Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Group) predicate.Group
- func CreatedAt(v time.Time) predicate.Group
- func CreatedAtEQ(v time.Time) predicate.Group
- func CreatedAtGT(v time.Time) predicate.Group
- func CreatedAtGTE(v time.Time) predicate.Group
- func CreatedAtIn(vs ...time.Time) predicate.Group
- func CreatedAtIsNil() predicate.Group
- func CreatedAtLT(v time.Time) predicate.Group
- func CreatedAtLTE(v time.Time) predicate.Group
- func CreatedAtNEQ(v time.Time) predicate.Group
- func CreatedAtNotIn(vs ...time.Time) predicate.Group
- func CreatedAtNotNil() predicate.Group
- func CreatedBy(v string) predicate.Group
- func CreatedByContains(v string) predicate.Group
- func CreatedByContainsFold(v string) predicate.Group
- func CreatedByEQ(v string) predicate.Group
- func CreatedByEqualFold(v string) predicate.Group
- func CreatedByGT(v string) predicate.Group
- func CreatedByGTE(v string) predicate.Group
- func CreatedByHasPrefix(v string) predicate.Group
- func CreatedByHasSuffix(v string) predicate.Group
- func CreatedByIn(vs ...string) predicate.Group
- func CreatedByIsNil() predicate.Group
- func CreatedByLT(v string) predicate.Group
- func CreatedByLTE(v string) predicate.Group
- func CreatedByNEQ(v string) predicate.Group
- func CreatedByNotIn(vs ...string) predicate.Group
- func CreatedByNotNil() predicate.Group
- func DeletedAt(v time.Time) predicate.Group
- func DeletedAtEQ(v time.Time) predicate.Group
- func DeletedAtGT(v time.Time) predicate.Group
- func DeletedAtGTE(v time.Time) predicate.Group
- func DeletedAtIn(vs ...time.Time) predicate.Group
- func DeletedAtIsNil() predicate.Group
- func DeletedAtLT(v time.Time) predicate.Group
- func DeletedAtLTE(v time.Time) predicate.Group
- func DeletedAtNEQ(v time.Time) predicate.Group
- func DeletedAtNotIn(vs ...time.Time) predicate.Group
- func DeletedAtNotNil() predicate.Group
- func DeletedBy(v string) predicate.Group
- func DeletedByContains(v string) predicate.Group
- func DeletedByContainsFold(v string) predicate.Group
- func DeletedByEQ(v string) predicate.Group
- func DeletedByEqualFold(v string) predicate.Group
- func DeletedByGT(v string) predicate.Group
- func DeletedByGTE(v string) predicate.Group
- func DeletedByHasPrefix(v string) predicate.Group
- func DeletedByHasSuffix(v string) predicate.Group
- func DeletedByIn(vs ...string) predicate.Group
- func DeletedByIsNil() predicate.Group
- func DeletedByLT(v string) predicate.Group
- func DeletedByLTE(v string) predicate.Group
- func DeletedByNEQ(v string) predicate.Group
- func DeletedByNotIn(vs ...string) predicate.Group
- func DeletedByNotNil() predicate.Group
- func Description(v string) predicate.Group
- func DescriptionContains(v string) predicate.Group
- func DescriptionContainsFold(v string) predicate.Group
- func DescriptionEQ(v string) predicate.Group
- func DescriptionEqualFold(v string) predicate.Group
- func DescriptionGT(v string) predicate.Group
- func DescriptionGTE(v string) predicate.Group
- func DescriptionHasPrefix(v string) predicate.Group
- func DescriptionHasSuffix(v string) predicate.Group
- func DescriptionIn(vs ...string) predicate.Group
- func DescriptionIsNil() predicate.Group
- func DescriptionLT(v string) predicate.Group
- func DescriptionLTE(v string) predicate.Group
- func DescriptionNEQ(v string) predicate.Group
- func DescriptionNotIn(vs ...string) predicate.Group
- func DescriptionNotNil() predicate.Group
- func HasDatabases() predicate.Group
- func HasDatabasesWith(preds ...predicate.Database) predicate.Group
- func ID(id string) predicate.Group
- func IDContainsFold(id string) predicate.Group
- func IDEQ(id string) predicate.Group
- func IDEqualFold(id string) predicate.Group
- func IDGT(id string) predicate.Group
- func IDGTE(id string) predicate.Group
- func IDIn(ids ...string) predicate.Group
- func IDLT(id string) predicate.Group
- func IDLTE(id string) predicate.Group
- func IDNEQ(id string) predicate.Group
- func IDNotIn(ids ...string) predicate.Group
- func LocationsIsNil() predicate.Group
- func LocationsNotNil() predicate.Group
- func Name(v string) predicate.Group
- func NameContains(v string) predicate.Group
- func NameContainsFold(v string) predicate.Group
- func NameEQ(v string) predicate.Group
- func NameEqualFold(v string) predicate.Group
- func NameGT(v string) predicate.Group
- func NameGTE(v string) predicate.Group
- func NameHasPrefix(v string) predicate.Group
- func NameHasSuffix(v string) predicate.Group
- func NameIn(vs ...string) predicate.Group
- func NameLT(v string) predicate.Group
- func NameLTE(v string) predicate.Group
- func NameNEQ(v string) predicate.Group
- func NameNotIn(vs ...string) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func PrimaryLocation(v string) predicate.Group
- func PrimaryLocationContains(v string) predicate.Group
- func PrimaryLocationContainsFold(v string) predicate.Group
- func PrimaryLocationEQ(v string) predicate.Group
- func PrimaryLocationEqualFold(v string) predicate.Group
- func PrimaryLocationGT(v string) predicate.Group
- func PrimaryLocationGTE(v string) predicate.Group
- func PrimaryLocationHasPrefix(v string) predicate.Group
- func PrimaryLocationHasSuffix(v string) predicate.Group
- func PrimaryLocationIn(vs ...string) predicate.Group
- func PrimaryLocationLT(v string) predicate.Group
- func PrimaryLocationLTE(v string) predicate.Group
- func PrimaryLocationNEQ(v string) predicate.Group
- func PrimaryLocationNotIn(vs ...string) predicate.Group
- func RegionEQ(v enums.Region) predicate.Group
- func RegionIn(vs ...enums.Region) predicate.Group
- func RegionNEQ(v enums.Region) predicate.Group
- func RegionNotIn(vs ...enums.Region) predicate.Group
- func RegionValidator(r enums.Region) error
- func Token(v string) predicate.Group
- func TokenContains(v string) predicate.Group
- func TokenContainsFold(v string) predicate.Group
- func TokenEQ(v string) predicate.Group
- func TokenEqualFold(v string) predicate.Group
- func TokenGT(v string) predicate.Group
- func TokenGTE(v string) predicate.Group
- func TokenHasPrefix(v string) predicate.Group
- func TokenHasSuffix(v string) predicate.Group
- func TokenIn(vs ...string) predicate.Group
- func TokenIsNil() predicate.Group
- func TokenLT(v string) predicate.Group
- func TokenLTE(v string) predicate.Group
- func TokenNEQ(v string) predicate.Group
- func TokenNotIn(vs ...string) predicate.Group
- func TokenNotNil() predicate.Group
- func UpdatedAt(v time.Time) predicate.Group
- func UpdatedAtEQ(v time.Time) predicate.Group
- func UpdatedAtGT(v time.Time) predicate.Group
- func UpdatedAtGTE(v time.Time) predicate.Group
- func UpdatedAtIn(vs ...time.Time) predicate.Group
- func UpdatedAtIsNil() predicate.Group
- func UpdatedAtLT(v time.Time) predicate.Group
- func UpdatedAtLTE(v time.Time) predicate.Group
- func UpdatedAtNEQ(v time.Time) predicate.Group
- func UpdatedAtNotIn(vs ...time.Time) predicate.Group
- func UpdatedAtNotNil() predicate.Group
- func UpdatedBy(v string) predicate.Group
- func UpdatedByContains(v string) predicate.Group
- func UpdatedByContainsFold(v string) predicate.Group
- func UpdatedByEQ(v string) predicate.Group
- func UpdatedByEqualFold(v string) predicate.Group
- func UpdatedByGT(v string) predicate.Group
- func UpdatedByGTE(v string) predicate.Group
- func UpdatedByHasPrefix(v string) predicate.Group
- func UpdatedByHasSuffix(v string) predicate.Group
- func UpdatedByIn(vs ...string) predicate.Group
- func UpdatedByIsNil() predicate.Group
- func UpdatedByLT(v string) predicate.Group
- func UpdatedByLTE(v string) predicate.Group
- func UpdatedByNEQ(v string) predicate.Group
- func UpdatedByNotIn(vs ...string) predicate.Group
- func UpdatedByNotNil() predicate.Group
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDatabases(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDatabasesCount(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPrimaryLocation(opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func ByToken(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 group type in the database. Label = "group" // 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" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldPrimaryLocation holds the string denoting the primary_location field in the database. FieldPrimaryLocation = "primary_location" // FieldLocations holds the string denoting the locations field in the database. FieldLocations = "locations" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // EdgeDatabases holds the string denoting the databases edge name in mutations. EdgeDatabases = "databases" // Table holds the table name of the group in the database. Table = "groups" // DatabasesTable is the table that holds the databases relation/edge. DatabasesTable = "databases" // DatabasesInverseTable is the table name for the Database entity. // It exists in this package in order to avoid circular dependency with the "database" package. DatabasesInverseTable = "databases" // DatabasesColumn is the table column denoting the databases relation/edge. DatabasesColumn = "group_id" )
const DefaultRegion enums.Region = "AMER"
Variables ¶
var ( Hooks [4]ent.Hook // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // PrimaryLocationValidator is a validator for the "primary_location" field. It is called by the builders before save. PrimaryLocationValidator 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/khulnasoft/go-template/geodetic/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldName, FieldDescription, FieldPrimaryLocation, FieldLocations, FieldToken, FieldRegion, }
Columns holds all SQL columns for group fields.
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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasDatabases ¶
HasDatabases applies the HasEdge predicate on the "databases" edge.
func HasDatabasesWith ¶
HasDatabasesWith applies the HasEdge predicate on the "databases" 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 LocationsIsNil ¶
LocationsIsNil applies the IsNil predicate on the "locations" field.
func LocationsNotNil ¶
LocationsNotNil applies the NotNil predicate on the "locations" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PrimaryLocation ¶
PrimaryLocation applies equality check predicate on the "primary_location" field. It's identical to PrimaryLocationEQ.
func PrimaryLocationContains ¶
PrimaryLocationContains applies the Contains predicate on the "primary_location" field.
func PrimaryLocationContainsFold ¶
PrimaryLocationContainsFold applies the ContainsFold predicate on the "primary_location" field.
func PrimaryLocationEQ ¶
PrimaryLocationEQ applies the EQ predicate on the "primary_location" field.
func PrimaryLocationEqualFold ¶
PrimaryLocationEqualFold applies the EqualFold predicate on the "primary_location" field.
func PrimaryLocationGT ¶
PrimaryLocationGT applies the GT predicate on the "primary_location" field.
func PrimaryLocationGTE ¶
PrimaryLocationGTE applies the GTE predicate on the "primary_location" field.
func PrimaryLocationHasPrefix ¶
PrimaryLocationHasPrefix applies the HasPrefix predicate on the "primary_location" field.
func PrimaryLocationHasSuffix ¶
PrimaryLocationHasSuffix applies the HasSuffix predicate on the "primary_location" field.
func PrimaryLocationIn ¶
PrimaryLocationIn applies the In predicate on the "primary_location" field.
func PrimaryLocationLT ¶
PrimaryLocationLT applies the LT predicate on the "primary_location" field.
func PrimaryLocationLTE ¶
PrimaryLocationLTE applies the LTE predicate on the "primary_location" field.
func PrimaryLocationNEQ ¶
PrimaryLocationNEQ applies the NEQ predicate on the "primary_location" field.
func PrimaryLocationNotIn ¶
PrimaryLocationNotIn applies the NotIn predicate on the "primary_location" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "region" field.
func RegionValidator ¶
RegionValidator is a validator for the "region" field enum values. It is called by the builders before save.
func Token ¶
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEqualFold ¶
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenHasPrefix ¶
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIsNil ¶
TokenIsNil applies the IsNil predicate on the "token" field.
func TokenNotIn ¶
TokenNotIn applies the NotIn predicate on the "token" field.
func TokenNotNil ¶
TokenNotNil applies the NotNil predicate on the "token" 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 Group 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 ByDatabases ¶
func ByDatabases(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDatabases orders the results by databases terms.
func ByDatabasesCount ¶
func ByDatabasesCount(opts ...sql.OrderTermOption) OrderOption
ByDatabasesCount orders the results by databases count.
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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPrimaryLocation ¶
func ByPrimaryLocation(opts ...sql.OrderTermOption) OrderOption
ByPrimaryLocation orders the results by the primary_location field.
func ByRegion ¶
func ByRegion(opts ...sql.OrderTermOption) OrderOption
ByRegion orders the results by the region field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token 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.