maptype

package
v0.0.0-...-3c02646 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for maptype fields.

Functions

func And

func And(predicates ...predicate.MapType) predicate.MapType

And groups list of predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.MapType

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.MapType

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.MapType

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.MapType

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.MapType

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.MapType

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.MapType

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.MapType

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.MapType

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasMapLayers

func HasMapLayers() predicate.MapType

HasMapLayers applies the HasEdge predicate on the "map_layers" edge.

func HasMapLayersWith

func HasMapLayersWith(preds ...predicate.MapLayer) predicate.MapType

HasMapLayersWith applies the HasEdge predicate on the "map_layers" edge with a given conditions (other predicates).

func HasMetadata

func HasMetadata() predicate.MapType

HasMetadata applies the HasEdge predicate on the "metadata" edge.

func HasMetadataWith

func HasMetadataWith(preds ...predicate.Metadata) predicate.MapType

HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).

func HasServers

func HasServers() predicate.MapType

HasServers applies the HasEdge predicate on the "servers" edge.

func HasServersWith

func HasServersWith(preds ...predicate.Server) predicate.MapType

HasServersWith applies the HasEdge predicate on the "servers" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.MapType

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.MapType

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.MapType

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.MapType

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.MapType

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.MapType

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.MapType

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.MapType

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.MapType

IDNotIn applies the NotIn predicate on the ID field.

func MaxX

func MaxX(v float64) predicate.MapType

MaxX applies equality check predicate on the "max_x" field. It's identical to MaxXEQ.

func MaxXEQ

func MaxXEQ(v float64) predicate.MapType

MaxXEQ applies the EQ predicate on the "max_x" field.

func MaxXGT

func MaxXGT(v float64) predicate.MapType

MaxXGT applies the GT predicate on the "max_x" field.

func MaxXGTE

func MaxXGTE(v float64) predicate.MapType

MaxXGTE applies the GTE predicate on the "max_x" field.

func MaxXIn

func MaxXIn(vs ...float64) predicate.MapType

MaxXIn applies the In predicate on the "max_x" field.

func MaxXLT

func MaxXLT(v float64) predicate.MapType

MaxXLT applies the LT predicate on the "max_x" field.

func MaxXLTE

func MaxXLTE(v float64) predicate.MapType

MaxXLTE applies the LTE predicate on the "max_x" field.

func MaxXNEQ

func MaxXNEQ(v float64) predicate.MapType

MaxXNEQ applies the NEQ predicate on the "max_x" field.

func MaxXNotIn

func MaxXNotIn(vs ...float64) predicate.MapType

MaxXNotIn applies the NotIn predicate on the "max_x" field.

func MaxY

func MaxY(v float64) predicate.MapType

MaxY applies equality check predicate on the "max_y" field. It's identical to MaxYEQ.

func MaxYEQ

func MaxYEQ(v float64) predicate.MapType

MaxYEQ applies the EQ predicate on the "max_y" field.

func MaxYGT

func MaxYGT(v float64) predicate.MapType

MaxYGT applies the GT predicate on the "max_y" field.

func MaxYGTE

func MaxYGTE(v float64) predicate.MapType

MaxYGTE applies the GTE predicate on the "max_y" field.

func MaxYIn

func MaxYIn(vs ...float64) predicate.MapType

MaxYIn applies the In predicate on the "max_y" field.

func MaxYLT

func MaxYLT(v float64) predicate.MapType

MaxYLT applies the LT predicate on the "max_y" field.

func MaxYLTE

func MaxYLTE(v float64) predicate.MapType

MaxYLTE applies the LTE predicate on the "max_y" field.

func MaxYNEQ

func MaxYNEQ(v float64) predicate.MapType

MaxYNEQ applies the NEQ predicate on the "max_y" field.

func MaxYNotIn

func MaxYNotIn(vs ...float64) predicate.MapType

MaxYNotIn applies the NotIn predicate on the "max_y" field.

func MaxZoom

func MaxZoom(v int) predicate.MapType

MaxZoom applies equality check predicate on the "max_zoom" field. It's identical to MaxZoomEQ.

func MaxZoomEQ

func MaxZoomEQ(v int) predicate.MapType

MaxZoomEQ applies the EQ predicate on the "max_zoom" field.

func MaxZoomGT

func MaxZoomGT(v int) predicate.MapType

MaxZoomGT applies the GT predicate on the "max_zoom" field.

func MaxZoomGTE

func MaxZoomGTE(v int) predicate.MapType

MaxZoomGTE applies the GTE predicate on the "max_zoom" field.

func MaxZoomIn

func MaxZoomIn(vs ...int) predicate.MapType

MaxZoomIn applies the In predicate on the "max_zoom" field.

func MaxZoomLT

func MaxZoomLT(v int) predicate.MapType

MaxZoomLT applies the LT predicate on the "max_zoom" field.

func MaxZoomLTE

func MaxZoomLTE(v int) predicate.MapType

MaxZoomLTE applies the LTE predicate on the "max_zoom" field.

func MaxZoomNEQ

func MaxZoomNEQ(v int) predicate.MapType

MaxZoomNEQ applies the NEQ predicate on the "max_zoom" field.

func MaxZoomNotIn

func MaxZoomNotIn(vs ...int) predicate.MapType

MaxZoomNotIn applies the NotIn predicate on the "max_zoom" field.

func MinX

func MinX(v float64) predicate.MapType

MinX applies equality check predicate on the "min_x" field. It's identical to MinXEQ.

func MinXEQ

func MinXEQ(v float64) predicate.MapType

MinXEQ applies the EQ predicate on the "min_x" field.

func MinXGT

func MinXGT(v float64) predicate.MapType

MinXGT applies the GT predicate on the "min_x" field.

func MinXGTE

func MinXGTE(v float64) predicate.MapType

MinXGTE applies the GTE predicate on the "min_x" field.

func MinXIn

func MinXIn(vs ...float64) predicate.MapType

MinXIn applies the In predicate on the "min_x" field.

func MinXLT

func MinXLT(v float64) predicate.MapType

MinXLT applies the LT predicate on the "min_x" field.

func MinXLTE

func MinXLTE(v float64) predicate.MapType

MinXLTE applies the LTE predicate on the "min_x" field.

func MinXNEQ

func MinXNEQ(v float64) predicate.MapType

MinXNEQ applies the NEQ predicate on the "min_x" field.

func MinXNotIn

func MinXNotIn(vs ...float64) predicate.MapType

MinXNotIn applies the NotIn predicate on the "min_x" field.

func MinY

func MinY(v float64) predicate.MapType

MinY applies equality check predicate on the "min_y" field. It's identical to MinYEQ.

func MinYEQ

func MinYEQ(v float64) predicate.MapType

MinYEQ applies the EQ predicate on the "min_y" field.

func MinYGT

func MinYGT(v float64) predicate.MapType

MinYGT applies the GT predicate on the "min_y" field.

func MinYGTE

func MinYGTE(v float64) predicate.MapType

MinYGTE applies the GTE predicate on the "min_y" field.

func MinYIn

func MinYIn(vs ...float64) predicate.MapType

MinYIn applies the In predicate on the "min_y" field.

func MinYLT

func MinYLT(v float64) predicate.MapType

MinYLT applies the LT predicate on the "min_y" field.

func MinYLTE

func MinYLTE(v float64) predicate.MapType

MinYLTE applies the LTE predicate on the "min_y" field.

func MinYNEQ

func MinYNEQ(v float64) predicate.MapType

MinYNEQ applies the NEQ predicate on the "min_y" field.

func MinYNotIn

func MinYNotIn(vs ...float64) predicate.MapType

MinYNotIn applies the NotIn predicate on the "min_y" field.

func MinZoom

func MinZoom(v int) predicate.MapType

MinZoom applies equality check predicate on the "min_zoom" field. It's identical to MinZoomEQ.

func MinZoomEQ

func MinZoomEQ(v int) predicate.MapType

MinZoomEQ applies the EQ predicate on the "min_zoom" field.

func MinZoomGT

func MinZoomGT(v int) predicate.MapType

MinZoomGT applies the GT predicate on the "min_zoom" field.

func MinZoomGTE

func MinZoomGTE(v int) predicate.MapType

MinZoomGTE applies the GTE predicate on the "min_zoom" field.

func MinZoomIn

func MinZoomIn(vs ...int) predicate.MapType

MinZoomIn applies the In predicate on the "min_zoom" field.

func MinZoomLT

func MinZoomLT(v int) predicate.MapType

MinZoomLT applies the LT predicate on the "min_zoom" field.

func MinZoomLTE

func MinZoomLTE(v int) predicate.MapType

MinZoomLTE applies the LTE predicate on the "min_zoom" field.

func MinZoomNEQ

func MinZoomNEQ(v int) predicate.MapType

MinZoomNEQ applies the NEQ predicate on the "min_zoom" field.

func MinZoomNotIn

func MinZoomNotIn(vs ...int) predicate.MapType

MinZoomNotIn applies the NotIn predicate on the "min_zoom" field.

func Name

func Name(v string) predicate.MapType

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.MapType

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.MapType

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.MapType

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.MapType

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.MapType

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.MapType

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.MapType

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.MapType

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.MapType

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.MapType

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.MapType

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.MapType

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.MapType

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.MapType) predicate.MapType

Or groups list of predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.MapType

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.MapType

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.MapType

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.MapType

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.MapType

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.MapType

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.MapType

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.MapType

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.MapType

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL