Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MapLayer) predicate.MapLayer
- func CreatedAt(v time.Time) predicate.MapLayer
- func CreatedAtEQ(v time.Time) predicate.MapLayer
- func CreatedAtGT(v time.Time) predicate.MapLayer
- func CreatedAtGTE(v time.Time) predicate.MapLayer
- func CreatedAtIn(vs ...time.Time) predicate.MapLayer
- func CreatedAtLT(v time.Time) predicate.MapLayer
- func CreatedAtLTE(v time.Time) predicate.MapLayer
- func CreatedAtNEQ(v time.Time) predicate.MapLayer
- func CreatedAtNotIn(vs ...time.Time) predicate.MapLayer
- func HasMapType() predicate.MapLayer
- func HasMapTypeWith(preds ...predicate.MapType) predicate.MapLayer
- func HasMetadata() predicate.MapLayer
- func HasMetadataWith(preds ...predicate.Metadata) predicate.MapLayer
- func ID(id int) predicate.MapLayer
- func IDEQ(id int) predicate.MapLayer
- func IDGT(id int) predicate.MapLayer
- func IDGTE(id int) predicate.MapLayer
- func IDIn(ids ...int) predicate.MapLayer
- func IDLT(id int) predicate.MapLayer
- func IDLTE(id int) predicate.MapLayer
- func IDNEQ(id int) predicate.MapLayer
- func IDNotIn(ids ...int) predicate.MapLayer
- func IsPublic(v bool) predicate.MapLayer
- func IsPublicEQ(v bool) predicate.MapLayer
- func IsPublicNEQ(v bool) predicate.MapLayer
- func Name(v string) predicate.MapLayer
- func NameContains(v string) predicate.MapLayer
- func NameContainsFold(v string) predicate.MapLayer
- func NameEQ(v string) predicate.MapLayer
- func NameEqualFold(v string) predicate.MapLayer
- func NameGT(v string) predicate.MapLayer
- func NameGTE(v string) predicate.MapLayer
- func NameHasPrefix(v string) predicate.MapLayer
- func NameHasSuffix(v string) predicate.MapLayer
- func NameIn(vs ...string) predicate.MapLayer
- func NameLT(v string) predicate.MapLayer
- func NameLTE(v string) predicate.MapLayer
- func NameNEQ(v string) predicate.MapLayer
- func NameNotIn(vs ...string) predicate.MapLayer
- func Not(p predicate.MapLayer) predicate.MapLayer
- func Or(predicates ...predicate.MapLayer) predicate.MapLayer
- func URLTemplate(v string) predicate.MapLayer
- func URLTemplateContains(v string) predicate.MapLayer
- func URLTemplateContainsFold(v string) predicate.MapLayer
- func URLTemplateEQ(v string) predicate.MapLayer
- func URLTemplateEqualFold(v string) predicate.MapLayer
- func URLTemplateGT(v string) predicate.MapLayer
- func URLTemplateGTE(v string) predicate.MapLayer
- func URLTemplateHasPrefix(v string) predicate.MapLayer
- func URLTemplateHasSuffix(v string) predicate.MapLayer
- func URLTemplateIn(vs ...string) predicate.MapLayer
- func URLTemplateLT(v string) predicate.MapLayer
- func URLTemplateLTE(v string) predicate.MapLayer
- func URLTemplateNEQ(v string) predicate.MapLayer
- func URLTemplateNotIn(vs ...string) predicate.MapLayer
- func UpdatedAt(v time.Time) predicate.MapLayer
- func UpdatedAtEQ(v time.Time) predicate.MapLayer
- func UpdatedAtGT(v time.Time) predicate.MapLayer
- func UpdatedAtGTE(v time.Time) predicate.MapLayer
- func UpdatedAtIn(vs ...time.Time) predicate.MapLayer
- func UpdatedAtLT(v time.Time) predicate.MapLayer
- func UpdatedAtLTE(v time.Time) predicate.MapLayer
- func UpdatedAtNEQ(v time.Time) predicate.MapLayer
- func UpdatedAtNotIn(vs ...time.Time) predicate.MapLayer
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the maplayer type in the database. Label = "map_layer" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldURLTemplate holds the string denoting the url_template field in the database. FieldURLTemplate = "url_template" // FieldIsPublic holds the string denoting the is_public field in the database. FieldIsPublic = "is_public" // EdgeMetadata holds the string denoting the metadata edge name in mutations. EdgeMetadata = "metadata" // EdgeMapType holds the string denoting the map_type edge name in mutations. EdgeMapType = "map_type" // Table holds the table name of the maplayer in the database. Table = "map_layers" // MetadataTable is the table the holds the metadata relation/edge. MetadataTable = "map_layers" // MetadataInverseTable is the table name for the Metadata entity. // It exists in this package in order to avoid circular dependency with the "metadata" package. MetadataInverseTable = "metadata" // MetadataColumn is the table column denoting the metadata relation/edge. MetadataColumn = "map_layer_metadata" // MapTypeTable is the table the holds the map_type relation/edge. MapTypeTable = "map_layers" // MapTypeInverseTable is the table name for the MapType entity. // It exists in this package in order to avoid circular dependency with the "maptype" package. MapTypeInverseTable = "map_types" // MapTypeColumn is the table column denoting the map_type relation/edge. MapTypeColumn = "map_layer_map_type" )
Variables ¶
var ( // 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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldURLTemplate, FieldIsPublic, }
Columns holds all SQL columns for maplayer fields.
var ForeignKeys = []string{
"map_layer_metadata",
"map_layer_map_type",
}
ForeignKeys holds the SQL foreign-keys that are owned by the MapLayer type.
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 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 HasMapType ¶
HasMapType applies the HasEdge predicate on the "map_type" edge.
func HasMapTypeWith ¶
HasMapTypeWith applies the HasEdge predicate on the "map_type" edge with a given conditions (other predicates).
func HasMetadata ¶
HasMetadata applies the HasEdge predicate on the "metadata" edge.
func HasMetadataWith ¶
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
func IsPublic ¶
IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.
func IsPublicEQ ¶
IsPublicEQ applies the EQ predicate on the "is_public" field.
func IsPublicNEQ ¶
IsPublicNEQ applies the NEQ predicate on the "is_public" 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 URLTemplate ¶
URLTemplate applies equality check predicate on the "url_template" field. It's identical to URLTemplateEQ.
func URLTemplateContains ¶
URLTemplateContains applies the Contains predicate on the "url_template" field.
func URLTemplateContainsFold ¶
URLTemplateContainsFold applies the ContainsFold predicate on the "url_template" field.
func URLTemplateEQ ¶
URLTemplateEQ applies the EQ predicate on the "url_template" field.
func URLTemplateEqualFold ¶
URLTemplateEqualFold applies the EqualFold predicate on the "url_template" field.
func URLTemplateGT ¶
URLTemplateGT applies the GT predicate on the "url_template" field.
func URLTemplateGTE ¶
URLTemplateGTE applies the GTE predicate on the "url_template" field.
func URLTemplateHasPrefix ¶
URLTemplateHasPrefix applies the HasPrefix predicate on the "url_template" field.
func URLTemplateHasSuffix ¶
URLTemplateHasSuffix applies the HasSuffix predicate on the "url_template" field.
func URLTemplateIn ¶
URLTemplateIn applies the In predicate on the "url_template" field.
func URLTemplateLT ¶
URLTemplateLT applies the LT predicate on the "url_template" field.
func URLTemplateLTE ¶
URLTemplateLTE applies the LTE predicate on the "url_template" field.
func URLTemplateNEQ ¶
URLTemplateNEQ applies the NEQ predicate on the "url_template" field.
func URLTemplateNotIn ¶
URLTemplateNotIn applies the NotIn predicate on the "url_template" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.