Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MapType) predicate.MapType
- func CreatedAt(v time.Time) predicate.MapType
- func CreatedAtEQ(v time.Time) predicate.MapType
- func CreatedAtGT(v time.Time) predicate.MapType
- func CreatedAtGTE(v time.Time) predicate.MapType
- func CreatedAtIn(vs ...time.Time) predicate.MapType
- func CreatedAtLT(v time.Time) predicate.MapType
- func CreatedAtLTE(v time.Time) predicate.MapType
- func CreatedAtNEQ(v time.Time) predicate.MapType
- func CreatedAtNotIn(vs ...time.Time) predicate.MapType
- func HasMapLayers() predicate.MapType
- func HasMapLayersWith(preds ...predicate.MapLayer) predicate.MapType
- func HasMetadata() predicate.MapType
- func HasMetadataWith(preds ...predicate.Metadata) predicate.MapType
- func HasServers() predicate.MapType
- func HasServersWith(preds ...predicate.Server) predicate.MapType
- func ID(id int) predicate.MapType
- func IDEQ(id int) predicate.MapType
- func IDGT(id int) predicate.MapType
- func IDGTE(id int) predicate.MapType
- func IDIn(ids ...int) predicate.MapType
- func IDLT(id int) predicate.MapType
- func IDLTE(id int) predicate.MapType
- func IDNEQ(id int) predicate.MapType
- func IDNotIn(ids ...int) predicate.MapType
- func MaxX(v float64) predicate.MapType
- func MaxXEQ(v float64) predicate.MapType
- func MaxXGT(v float64) predicate.MapType
- func MaxXGTE(v float64) predicate.MapType
- func MaxXIn(vs ...float64) predicate.MapType
- func MaxXLT(v float64) predicate.MapType
- func MaxXLTE(v float64) predicate.MapType
- func MaxXNEQ(v float64) predicate.MapType
- func MaxXNotIn(vs ...float64) predicate.MapType
- func MaxY(v float64) predicate.MapType
- func MaxYEQ(v float64) predicate.MapType
- func MaxYGT(v float64) predicate.MapType
- func MaxYGTE(v float64) predicate.MapType
- func MaxYIn(vs ...float64) predicate.MapType
- func MaxYLT(v float64) predicate.MapType
- func MaxYLTE(v float64) predicate.MapType
- func MaxYNEQ(v float64) predicate.MapType
- func MaxYNotIn(vs ...float64) predicate.MapType
- func MaxZoom(v int) predicate.MapType
- func MaxZoomEQ(v int) predicate.MapType
- func MaxZoomGT(v int) predicate.MapType
- func MaxZoomGTE(v int) predicate.MapType
- func MaxZoomIn(vs ...int) predicate.MapType
- func MaxZoomLT(v int) predicate.MapType
- func MaxZoomLTE(v int) predicate.MapType
- func MaxZoomNEQ(v int) predicate.MapType
- func MaxZoomNotIn(vs ...int) predicate.MapType
- func MinX(v float64) predicate.MapType
- func MinXEQ(v float64) predicate.MapType
- func MinXGT(v float64) predicate.MapType
- func MinXGTE(v float64) predicate.MapType
- func MinXIn(vs ...float64) predicate.MapType
- func MinXLT(v float64) predicate.MapType
- func MinXLTE(v float64) predicate.MapType
- func MinXNEQ(v float64) predicate.MapType
- func MinXNotIn(vs ...float64) predicate.MapType
- func MinY(v float64) predicate.MapType
- func MinYEQ(v float64) predicate.MapType
- func MinYGT(v float64) predicate.MapType
- func MinYGTE(v float64) predicate.MapType
- func MinYIn(vs ...float64) predicate.MapType
- func MinYLT(v float64) predicate.MapType
- func MinYLTE(v float64) predicate.MapType
- func MinYNEQ(v float64) predicate.MapType
- func MinYNotIn(vs ...float64) predicate.MapType
- func MinZoom(v int) predicate.MapType
- func MinZoomEQ(v int) predicate.MapType
- func MinZoomGT(v int) predicate.MapType
- func MinZoomGTE(v int) predicate.MapType
- func MinZoomIn(vs ...int) predicate.MapType
- func MinZoomLT(v int) predicate.MapType
- func MinZoomLTE(v int) predicate.MapType
- func MinZoomNEQ(v int) predicate.MapType
- func MinZoomNotIn(vs ...int) predicate.MapType
- func Name(v string) predicate.MapType
- func NameContains(v string) predicate.MapType
- func NameContainsFold(v string) predicate.MapType
- func NameEQ(v string) predicate.MapType
- func NameEqualFold(v string) predicate.MapType
- func NameGT(v string) predicate.MapType
- func NameGTE(v string) predicate.MapType
- func NameHasPrefix(v string) predicate.MapType
- func NameHasSuffix(v string) predicate.MapType
- func NameIn(vs ...string) predicate.MapType
- func NameLT(v string) predicate.MapType
- func NameLTE(v string) predicate.MapType
- func NameNEQ(v string) predicate.MapType
- func NameNotIn(vs ...string) predicate.MapType
- func Not(p predicate.MapType) predicate.MapType
- func Or(predicates ...predicate.MapType) predicate.MapType
- func UpdatedAt(v time.Time) predicate.MapType
- func UpdatedAtEQ(v time.Time) predicate.MapType
- func UpdatedAtGT(v time.Time) predicate.MapType
- func UpdatedAtGTE(v time.Time) predicate.MapType
- func UpdatedAtIn(vs ...time.Time) predicate.MapType
- func UpdatedAtLT(v time.Time) predicate.MapType
- func UpdatedAtLTE(v time.Time) predicate.MapType
- func UpdatedAtNEQ(v time.Time) predicate.MapType
- func UpdatedAtNotIn(vs ...time.Time) predicate.MapType
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the maptype type in the database. Label = "map_type" // 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" // FieldMinZoom holds the string denoting the min_zoom field in the database. FieldMinZoom = "min_zoom" // FieldMaxZoom holds the string denoting the max_zoom field in the database. FieldMaxZoom = "max_zoom" // FieldMinX holds the string denoting the min_x field in the database. FieldMinX = "min_x" // FieldMinY holds the string denoting the min_y field in the database. FieldMinY = "min_y" // FieldMaxX holds the string denoting the max_x field in the database. FieldMaxX = "max_x" // FieldMaxY holds the string denoting the max_y field in the database. FieldMaxY = "max_y" // EdgeMetadata holds the string denoting the metadata edge name in mutations. EdgeMetadata = "metadata" // EdgeMapLayers holds the string denoting the map_layers edge name in mutations. EdgeMapLayers = "map_layers" // EdgeServers holds the string denoting the servers edge name in mutations. EdgeServers = "servers" // Table holds the table name of the maptype in the database. Table = "map_types" // MetadataTable is the table the holds the metadata relation/edge. MetadataTable = "metadata" // 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_type_metadata" // MapLayersTable is the table the holds the map_layers relation/edge. MapLayersTable = "map_layers" // MapLayersInverseTable is the table name for the MapLayer entity. // It exists in this package in order to avoid circular dependency with the "maplayer" package. MapLayersInverseTable = "map_layers" // MapLayersColumn is the table column denoting the map_layers relation/edge. MapLayersColumn = "map_layer_map_type" // ServersTable is the table the holds the servers relation/edge. ServersTable = "servers" // ServersInverseTable is the table name for the Server entity. // It exists in this package in order to avoid circular dependency with the "server" package. ServersInverseTable = "servers" // ServersColumn is the table column denoting the servers relation/edge. ServersColumn = "server_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, FieldMinZoom, FieldMaxZoom, FieldMinX, FieldMinY, FieldMaxX, FieldMaxY, }
Columns holds all SQL columns for maptype 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 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 HasMapLayers ¶
HasMapLayers applies the HasEdge predicate on the "map_layers" edge.
func HasMapLayersWith ¶
HasMapLayersWith applies the HasEdge predicate on the "map_layers" 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 HasServers ¶
HasServers applies the HasEdge predicate on the "servers" edge.
func HasServersWith ¶
HasServersWith applies the HasEdge predicate on the "servers" edge with a given conditions (other predicates).
func MaxZoom ¶
MaxZoom applies equality check predicate on the "max_zoom" field. It's identical to MaxZoomEQ.
func MaxZoomGTE ¶
MaxZoomGTE applies the GTE predicate on the "max_zoom" field.
func MaxZoomLTE ¶
MaxZoomLTE applies the LTE predicate on the "max_zoom" field.
func MaxZoomNEQ ¶
MaxZoomNEQ applies the NEQ predicate on the "max_zoom" field.
func MaxZoomNotIn ¶
MaxZoomNotIn applies the NotIn predicate on the "max_zoom" field.
func MinZoom ¶
MinZoom applies equality check predicate on the "min_zoom" field. It's identical to MinZoomEQ.
func MinZoomGTE ¶
MinZoomGTE applies the GTE predicate on the "min_zoom" field.
func MinZoomLTE ¶
MinZoomLTE applies the LTE predicate on the "min_zoom" field.
func MinZoomNEQ ¶
MinZoomNEQ applies the NEQ predicate on the "min_zoom" field.
func MinZoomNotIn ¶
MinZoomNotIn applies the NotIn predicate on the "min_zoom" 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 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.