vehiclelocationhistory

package
v0.0.0-...-e91a8f2 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the vehiclelocationhistory type in the database.
	Label = "vehicle_location_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCity holds the string denoting the city field in the database.
	FieldCity = "city"
	// FieldRideID holds the string denoting the ride_id field in the database.
	FieldRideID = "ride_id"
	// FieldTimestamp holds the string denoting the timestamp field in the database.
	FieldTimestamp = "timestamp"
	// FieldLat holds the string denoting the lat field in the database.
	FieldLat = "lat"
	// FieldLong holds the string denoting the long field in the database.
	FieldLong = "long"
	// EdgeRides holds the string denoting the rides edge name in mutations.
	EdgeRides = "rides"
	// Table holds the table name of the vehiclelocationhistory in the database.
	Table = "vehicle_location_histories"
	// RidesTable is the table that holds the rides relation/edge.
	RidesTable = "vehicle_location_histories"
	// RidesInverseTable is the table name for the Ride entity.
	// It exists in this package in order to avoid circular dependency with the "ride" package.
	RidesInverseTable = "rides"
	// RidesColumn is the table column denoting the rides relation/edge.
	RidesColumn = "ride_id"
)

Variables

Columns holds all SQL columns for vehiclelocationhistory fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func And

And groups predicates with the AND operator between them.

func City

City applies equality check predicate on the "city" field. It's identical to CityEQ.

func CityContains

func CityContains(v string) predicate.VehicleLocationHistory

CityContains applies the Contains predicate on the "city" field.

func CityContainsFold

func CityContainsFold(v string) predicate.VehicleLocationHistory

CityContainsFold applies the ContainsFold predicate on the "city" field.

func CityEQ

CityEQ applies the EQ predicate on the "city" field.

func CityEqualFold

func CityEqualFold(v string) predicate.VehicleLocationHistory

CityEqualFold applies the EqualFold predicate on the "city" field.

func CityGT

CityGT applies the GT predicate on the "city" field.

func CityGTE

CityGTE applies the GTE predicate on the "city" field.

func CityHasPrefix

func CityHasPrefix(v string) predicate.VehicleLocationHistory

CityHasPrefix applies the HasPrefix predicate on the "city" field.

func CityHasSuffix

func CityHasSuffix(v string) predicate.VehicleLocationHistory

CityHasSuffix applies the HasSuffix predicate on the "city" field.

func CityIn

CityIn applies the In predicate on the "city" field.

func CityLT

CityLT applies the LT predicate on the "city" field.

func CityLTE

CityLTE applies the LTE predicate on the "city" field.

func CityNEQ

CityNEQ applies the NEQ predicate on the "city" field.

func CityNotIn

func CityNotIn(vs ...string) predicate.VehicleLocationHistory

CityNotIn applies the NotIn predicate on the "city" field.

func HasRides

HasRides applies the HasEdge predicate on the "rides" edge.

func HasRidesWith

func HasRidesWith(preds ...predicate.Ride) predicate.VehicleLocationHistory

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.VehicleLocationHistory

IDNotIn applies the NotIn predicate on the ID field.

func Lat

Lat applies equality check predicate on the "lat" field. It's identical to LatEQ.

func LatEQ

LatEQ applies the EQ predicate on the "lat" field.

func LatGT

LatGT applies the GT predicate on the "lat" field.

func LatGTE

LatGTE applies the GTE predicate on the "lat" field.

func LatIn

LatIn applies the In predicate on the "lat" field.

func LatIsNil

LatIsNil applies the IsNil predicate on the "lat" field.

func LatLT

LatLT applies the LT predicate on the "lat" field.

func LatLTE

LatLTE applies the LTE predicate on the "lat" field.

func LatNEQ

LatNEQ applies the NEQ predicate on the "lat" field.

func LatNotIn

LatNotIn applies the NotIn predicate on the "lat" field.

func LatNotNil

LatNotNil applies the NotNil predicate on the "lat" field.

func Long

Long applies equality check predicate on the "long" field. It's identical to LongEQ.

func LongEQ

LongEQ applies the EQ predicate on the "long" field.

func LongGT

LongGT applies the GT predicate on the "long" field.

func LongGTE

LongGTE applies the GTE predicate on the "long" field.

func LongIn

LongIn applies the In predicate on the "long" field.

func LongIsNil

LongIsNil applies the IsNil predicate on the "long" field.

func LongLT

LongLT applies the LT predicate on the "long" field.

func LongLTE

LongLTE applies the LTE predicate on the "long" field.

func LongNEQ

LongNEQ applies the NEQ predicate on the "long" field.

func LongNotIn

func LongNotIn(vs ...float64) predicate.VehicleLocationHistory

LongNotIn applies the NotIn predicate on the "long" field.

func LongNotNil

func LongNotNil() predicate.VehicleLocationHistory

LongNotNil applies the NotNil predicate on the "long" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RideID

RideID applies equality check predicate on the "ride_id" field. It's identical to RideIDEQ.

func RideIDEQ

RideIDEQ applies the EQ predicate on the "ride_id" field.

func RideIDIn

func RideIDIn(vs ...uuid.UUID) predicate.VehicleLocationHistory

RideIDIn applies the In predicate on the "ride_id" field.

func RideIDNEQ

RideIDNEQ applies the NEQ predicate on the "ride_id" field.

func RideIDNotIn

func RideIDNotIn(vs ...uuid.UUID) predicate.VehicleLocationHistory

RideIDNotIn applies the NotIn predicate on the "ride_id" field.

func Timestamp

Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.

func TimestampEQ

TimestampEQ applies the EQ predicate on the "timestamp" field.

func TimestampGT

TimestampGT applies the GT predicate on the "timestamp" field.

func TimestampGTE

func TimestampGTE(v time.Time) predicate.VehicleLocationHistory

TimestampGTE applies the GTE predicate on the "timestamp" field.

func TimestampIn

func TimestampIn(vs ...time.Time) predicate.VehicleLocationHistory

TimestampIn applies the In predicate on the "timestamp" field.

func TimestampLT

TimestampLT applies the LT predicate on the "timestamp" field.

func TimestampLTE

func TimestampLTE(v time.Time) predicate.VehicleLocationHistory

TimestampLTE applies the LTE predicate on the "timestamp" field.

func TimestampNEQ

func TimestampNEQ(v time.Time) predicate.VehicleLocationHistory

TimestampNEQ applies the NEQ predicate on the "timestamp" field.

func TimestampNotIn

func TimestampNotIn(vs ...time.Time) predicate.VehicleLocationHistory

TimestampNotIn applies the NotIn predicate on the "timestamp" 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