release

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the release type in the database.
	Label = "release"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProduct holds the string denoting the product field in the database.
	FieldProduct = "product"
	// FieldReferenceNum holds the string denoting the reference_num field in the database.
	FieldReferenceNum = "reference_num"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldStartDate holds the string denoting the start_date field in the database.
	FieldStartDate = "start_date"
	// FieldReleaseDate holds the string denoting the release_date field in the database.
	FieldReleaseDate = "release_date"
	// FieldReleased holds the string denoting the released field in the database.
	FieldReleased = "released"
	// FieldParkingLot holds the string denoting the parking_lot field in the database.
	FieldParkingLot = "parking_lot"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldData holds the string denoting the data field in the database.
	FieldData = "data"
	// Table holds the table name of the release in the database.
	Table = "releases"
)

Variables

View Source
var (
	// DefaultReleased holds the default value on creation for the "released" field.
	DefaultReleased bool
	// DefaultParkingLot holds the default value on creation for the "parking_lot" field.
	DefaultParkingLot bool
)

Columns holds all SQL columns for release fields.

Functions

func And

func And(predicates ...predicate.Release) predicate.Release

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Release

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Release

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Release

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Release

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Release

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Release

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Release

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Release

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Release

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func DataIsNil

func DataIsNil() predicate.Release

DataIsNil applies the IsNil predicate on the "data" field.

func DataNotNil

func DataNotNil() predicate.Release

DataNotNil applies the NotNil predicate on the "data" field.

func ID

func ID(id string) predicate.Release

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Release

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Release

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Release

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Release

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Release

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Release

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Release

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Release

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Release

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Release

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Release

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

func NameContains

func NameContains(v string) predicate.Release

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

func NameContainsFold

func NameContainsFold(v string) predicate.Release

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

func NameEQ

func NameEQ(v string) predicate.Release

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

func NameEqualFold

func NameEqualFold(v string) predicate.Release

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

func NameGT

func NameGT(v string) predicate.Release

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

func NameGTE

func NameGTE(v string) predicate.Release

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Release

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Release

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.Release

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Release

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

func NameLTE

func NameLTE(v string) predicate.Release

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

func NameNEQ

func NameNEQ(v string) predicate.Release

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.Release

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Release) predicate.Release

Or groups predicates with the OR operator between them.

func ParkingLot

func ParkingLot(v bool) predicate.Release

ParkingLot applies equality check predicate on the "parking_lot" field. It's identical to ParkingLotEQ.

func ParkingLotEQ

func ParkingLotEQ(v bool) predicate.Release

ParkingLotEQ applies the EQ predicate on the "parking_lot" field.

func ParkingLotIsNil

func ParkingLotIsNil() predicate.Release

ParkingLotIsNil applies the IsNil predicate on the "parking_lot" field.

func ParkingLotNEQ

func ParkingLotNEQ(v bool) predicate.Release

ParkingLotNEQ applies the NEQ predicate on the "parking_lot" field.

func ParkingLotNotNil

func ParkingLotNotNil() predicate.Release

ParkingLotNotNil applies the NotNil predicate on the "parking_lot" field.

func Product

func Product(v string) predicate.Release

Product applies equality check predicate on the "product" field. It's identical to ProductEQ.

func ProductContains

func ProductContains(v string) predicate.Release

ProductContains applies the Contains predicate on the "product" field.

func ProductContainsFold

func ProductContainsFold(v string) predicate.Release

ProductContainsFold applies the ContainsFold predicate on the "product" field.

func ProductEQ

func ProductEQ(v string) predicate.Release

ProductEQ applies the EQ predicate on the "product" field.

func ProductEqualFold

func ProductEqualFold(v string) predicate.Release

ProductEqualFold applies the EqualFold predicate on the "product" field.

func ProductGT

func ProductGT(v string) predicate.Release

ProductGT applies the GT predicate on the "product" field.

func ProductGTE

func ProductGTE(v string) predicate.Release

ProductGTE applies the GTE predicate on the "product" field.

func ProductHasPrefix

func ProductHasPrefix(v string) predicate.Release

ProductHasPrefix applies the HasPrefix predicate on the "product" field.

func ProductHasSuffix

func ProductHasSuffix(v string) predicate.Release

ProductHasSuffix applies the HasSuffix predicate on the "product" field.

func ProductIn

func ProductIn(vs ...string) predicate.Release

ProductIn applies the In predicate on the "product" field.

func ProductLT

func ProductLT(v string) predicate.Release

ProductLT applies the LT predicate on the "product" field.

func ProductLTE

func ProductLTE(v string) predicate.Release

ProductLTE applies the LTE predicate on the "product" field.

func ProductNEQ

func ProductNEQ(v string) predicate.Release

ProductNEQ applies the NEQ predicate on the "product" field.

func ProductNotIn

func ProductNotIn(vs ...string) predicate.Release

ProductNotIn applies the NotIn predicate on the "product" field.

func ReferenceNum

func ReferenceNum(v string) predicate.Release

ReferenceNum applies equality check predicate on the "reference_num" field. It's identical to ReferenceNumEQ.

func ReferenceNumContains

func ReferenceNumContains(v string) predicate.Release

ReferenceNumContains applies the Contains predicate on the "reference_num" field.

func ReferenceNumContainsFold

func ReferenceNumContainsFold(v string) predicate.Release

ReferenceNumContainsFold applies the ContainsFold predicate on the "reference_num" field.

func ReferenceNumEQ

func ReferenceNumEQ(v string) predicate.Release

ReferenceNumEQ applies the EQ predicate on the "reference_num" field.

func ReferenceNumEqualFold

func ReferenceNumEqualFold(v string) predicate.Release

ReferenceNumEqualFold applies the EqualFold predicate on the "reference_num" field.

func ReferenceNumGT

func ReferenceNumGT(v string) predicate.Release

ReferenceNumGT applies the GT predicate on the "reference_num" field.

func ReferenceNumGTE

func ReferenceNumGTE(v string) predicate.Release

ReferenceNumGTE applies the GTE predicate on the "reference_num" field.

func ReferenceNumHasPrefix

func ReferenceNumHasPrefix(v string) predicate.Release

ReferenceNumHasPrefix applies the HasPrefix predicate on the "reference_num" field.

func ReferenceNumHasSuffix

func ReferenceNumHasSuffix(v string) predicate.Release

ReferenceNumHasSuffix applies the HasSuffix predicate on the "reference_num" field.

func ReferenceNumIn

func ReferenceNumIn(vs ...string) predicate.Release

ReferenceNumIn applies the In predicate on the "reference_num" field.

func ReferenceNumIsNil

func ReferenceNumIsNil() predicate.Release

ReferenceNumIsNil applies the IsNil predicate on the "reference_num" field.

func ReferenceNumLT

func ReferenceNumLT(v string) predicate.Release

ReferenceNumLT applies the LT predicate on the "reference_num" field.

func ReferenceNumLTE

func ReferenceNumLTE(v string) predicate.Release

ReferenceNumLTE applies the LTE predicate on the "reference_num" field.

func ReferenceNumNEQ

func ReferenceNumNEQ(v string) predicate.Release

ReferenceNumNEQ applies the NEQ predicate on the "reference_num" field.

func ReferenceNumNotIn

func ReferenceNumNotIn(vs ...string) predicate.Release

ReferenceNumNotIn applies the NotIn predicate on the "reference_num" field.

func ReferenceNumNotNil

func ReferenceNumNotNil() predicate.Release

ReferenceNumNotNil applies the NotNil predicate on the "reference_num" field.

func ReleaseDate

func ReleaseDate(v string) predicate.Release

ReleaseDate applies equality check predicate on the "release_date" field. It's identical to ReleaseDateEQ.

func ReleaseDateContains

func ReleaseDateContains(v string) predicate.Release

ReleaseDateContains applies the Contains predicate on the "release_date" field.

func ReleaseDateContainsFold

func ReleaseDateContainsFold(v string) predicate.Release

ReleaseDateContainsFold applies the ContainsFold predicate on the "release_date" field.

func ReleaseDateEQ

func ReleaseDateEQ(v string) predicate.Release

ReleaseDateEQ applies the EQ predicate on the "release_date" field.

func ReleaseDateEqualFold

func ReleaseDateEqualFold(v string) predicate.Release

ReleaseDateEqualFold applies the EqualFold predicate on the "release_date" field.

func ReleaseDateGT

func ReleaseDateGT(v string) predicate.Release

ReleaseDateGT applies the GT predicate on the "release_date" field.

func ReleaseDateGTE

func ReleaseDateGTE(v string) predicate.Release

ReleaseDateGTE applies the GTE predicate on the "release_date" field.

func ReleaseDateHasPrefix

func ReleaseDateHasPrefix(v string) predicate.Release

ReleaseDateHasPrefix applies the HasPrefix predicate on the "release_date" field.

func ReleaseDateHasSuffix

func ReleaseDateHasSuffix(v string) predicate.Release

ReleaseDateHasSuffix applies the HasSuffix predicate on the "release_date" field.

func ReleaseDateIn

func ReleaseDateIn(vs ...string) predicate.Release

ReleaseDateIn applies the In predicate on the "release_date" field.

func ReleaseDateIsNil

func ReleaseDateIsNil() predicate.Release

ReleaseDateIsNil applies the IsNil predicate on the "release_date" field.

func ReleaseDateLT

func ReleaseDateLT(v string) predicate.Release

ReleaseDateLT applies the LT predicate on the "release_date" field.

func ReleaseDateLTE

func ReleaseDateLTE(v string) predicate.Release

ReleaseDateLTE applies the LTE predicate on the "release_date" field.

func ReleaseDateNEQ

func ReleaseDateNEQ(v string) predicate.Release

ReleaseDateNEQ applies the NEQ predicate on the "release_date" field.

func ReleaseDateNotIn

func ReleaseDateNotIn(vs ...string) predicate.Release

ReleaseDateNotIn applies the NotIn predicate on the "release_date" field.

func ReleaseDateNotNil

func ReleaseDateNotNil() predicate.Release

ReleaseDateNotNil applies the NotNil predicate on the "release_date" field.

func Released

func Released(v bool) predicate.Release

Released applies equality check predicate on the "released" field. It's identical to ReleasedEQ.

func ReleasedEQ

func ReleasedEQ(v bool) predicate.Release

ReleasedEQ applies the EQ predicate on the "released" field.

func ReleasedIsNil

func ReleasedIsNil() predicate.Release

ReleasedIsNil applies the IsNil predicate on the "released" field.

func ReleasedNEQ

func ReleasedNEQ(v bool) predicate.Release

ReleasedNEQ applies the NEQ predicate on the "released" field.

func ReleasedNotNil

func ReleasedNotNil() predicate.Release

ReleasedNotNil applies the NotNil predicate on the "released" field.

func StartDate

func StartDate(v string) predicate.Release

StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.

func StartDateContains

func StartDateContains(v string) predicate.Release

StartDateContains applies the Contains predicate on the "start_date" field.

func StartDateContainsFold

func StartDateContainsFold(v string) predicate.Release

StartDateContainsFold applies the ContainsFold predicate on the "start_date" field.

func StartDateEQ

func StartDateEQ(v string) predicate.Release

StartDateEQ applies the EQ predicate on the "start_date" field.

func StartDateEqualFold

func StartDateEqualFold(v string) predicate.Release

StartDateEqualFold applies the EqualFold predicate on the "start_date" field.

func StartDateGT

func StartDateGT(v string) predicate.Release

StartDateGT applies the GT predicate on the "start_date" field.

func StartDateGTE

func StartDateGTE(v string) predicate.Release

StartDateGTE applies the GTE predicate on the "start_date" field.

func StartDateHasPrefix

func StartDateHasPrefix(v string) predicate.Release

StartDateHasPrefix applies the HasPrefix predicate on the "start_date" field.

func StartDateHasSuffix

func StartDateHasSuffix(v string) predicate.Release

StartDateHasSuffix applies the HasSuffix predicate on the "start_date" field.

func StartDateIn

func StartDateIn(vs ...string) predicate.Release

StartDateIn applies the In predicate on the "start_date" field.

func StartDateIsNil

func StartDateIsNil() predicate.Release

StartDateIsNil applies the IsNil predicate on the "start_date" field.

func StartDateLT

func StartDateLT(v string) predicate.Release

StartDateLT applies the LT predicate on the "start_date" field.

func StartDateLTE

func StartDateLTE(v string) predicate.Release

StartDateLTE applies the LTE predicate on the "start_date" field.

func StartDateNEQ

func StartDateNEQ(v string) predicate.Release

StartDateNEQ applies the NEQ predicate on the "start_date" field.

func StartDateNotIn

func StartDateNotIn(vs ...string) predicate.Release

StartDateNotIn applies the NotIn predicate on the "start_date" field.

func StartDateNotNil

func StartDateNotNil() predicate.Release

StartDateNotNil applies the NotNil predicate on the "start_date" field.

func URL

func URL(v string) predicate.Release

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Release

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Release

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Release

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Release

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Release

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Release

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Release

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Release

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Release

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.Release

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Release

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Release

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Release

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Release

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.Release

URLNotNil applies the NotNil predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Release queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at 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 ByParkingLot

func ByParkingLot(opts ...sql.OrderTermOption) OrderOption

ByParkingLot orders the results by the parking_lot field.

func ByProduct

func ByProduct(opts ...sql.OrderTermOption) OrderOption

ByProduct orders the results by the product field.

func ByReferenceNum

func ByReferenceNum(opts ...sql.OrderTermOption) OrderOption

ByReferenceNum orders the results by the reference_num field.

func ByReleaseDate

func ByReleaseDate(opts ...sql.OrderTermOption) OrderOption

ByReleaseDate orders the results by the release_date field.

func ByReleased

func ByReleased(opts ...sql.OrderTermOption) OrderOption

ByReleased orders the results by the released field.

func ByStartDate

func ByStartDate(opts ...sql.OrderTermOption) OrderOption

ByStartDate orders the results by the start_date field.

func ByURL

func ByURL(opts ...sql.OrderTermOption) OrderOption

ByURL orders the results by the url field.

Jump to

Keyboard shortcuts

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