Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Release) predicate.Release
- func CreatedAt(v time.Time) predicate.Release
- func CreatedAtEQ(v time.Time) predicate.Release
- func CreatedAtGT(v time.Time) predicate.Release
- func CreatedAtGTE(v time.Time) predicate.Release
- func CreatedAtIn(vs ...time.Time) predicate.Release
- func CreatedAtIsNil() predicate.Release
- func CreatedAtLT(v time.Time) predicate.Release
- func CreatedAtLTE(v time.Time) predicate.Release
- func CreatedAtNEQ(v time.Time) predicate.Release
- func CreatedAtNotIn(vs ...time.Time) predicate.Release
- func CreatedAtNotNil() predicate.Release
- func DataIsNil() predicate.Release
- func DataNotNil() predicate.Release
- func ID(id string) predicate.Release
- func IDContainsFold(id string) predicate.Release
- func IDEQ(id string) predicate.Release
- func IDEqualFold(id string) predicate.Release
- func IDGT(id string) predicate.Release
- func IDGTE(id string) predicate.Release
- func IDIn(ids ...string) predicate.Release
- func IDLT(id string) predicate.Release
- func IDLTE(id string) predicate.Release
- func IDNEQ(id string) predicate.Release
- func IDNotIn(ids ...string) predicate.Release
- func Name(v string) predicate.Release
- func NameContains(v string) predicate.Release
- func NameContainsFold(v string) predicate.Release
- func NameEQ(v string) predicate.Release
- func NameEqualFold(v string) predicate.Release
- func NameGT(v string) predicate.Release
- func NameGTE(v string) predicate.Release
- func NameHasPrefix(v string) predicate.Release
- func NameHasSuffix(v string) predicate.Release
- func NameIn(vs ...string) predicate.Release
- func NameIsNil() predicate.Release
- func NameLT(v string) predicate.Release
- func NameLTE(v string) predicate.Release
- func NameNEQ(v string) predicate.Release
- func NameNotIn(vs ...string) predicate.Release
- func NameNotNil() predicate.Release
- func Not(p predicate.Release) predicate.Release
- func Or(predicates ...predicate.Release) predicate.Release
- func ParkingLot(v bool) predicate.Release
- func ParkingLotEQ(v bool) predicate.Release
- func ParkingLotIsNil() predicate.Release
- func ParkingLotNEQ(v bool) predicate.Release
- func ParkingLotNotNil() predicate.Release
- func Product(v string) predicate.Release
- func ProductContains(v string) predicate.Release
- func ProductContainsFold(v string) predicate.Release
- func ProductEQ(v string) predicate.Release
- func ProductEqualFold(v string) predicate.Release
- func ProductGT(v string) predicate.Release
- func ProductGTE(v string) predicate.Release
- func ProductHasPrefix(v string) predicate.Release
- func ProductHasSuffix(v string) predicate.Release
- func ProductIn(vs ...string) predicate.Release
- func ProductLT(v string) predicate.Release
- func ProductLTE(v string) predicate.Release
- func ProductNEQ(v string) predicate.Release
- func ProductNotIn(vs ...string) predicate.Release
- func ReferenceNum(v string) predicate.Release
- func ReferenceNumContains(v string) predicate.Release
- func ReferenceNumContainsFold(v string) predicate.Release
- func ReferenceNumEQ(v string) predicate.Release
- func ReferenceNumEqualFold(v string) predicate.Release
- func ReferenceNumGT(v string) predicate.Release
- func ReferenceNumGTE(v string) predicate.Release
- func ReferenceNumHasPrefix(v string) predicate.Release
- func ReferenceNumHasSuffix(v string) predicate.Release
- func ReferenceNumIn(vs ...string) predicate.Release
- func ReferenceNumIsNil() predicate.Release
- func ReferenceNumLT(v string) predicate.Release
- func ReferenceNumLTE(v string) predicate.Release
- func ReferenceNumNEQ(v string) predicate.Release
- func ReferenceNumNotIn(vs ...string) predicate.Release
- func ReferenceNumNotNil() predicate.Release
- func ReleaseDate(v string) predicate.Release
- func ReleaseDateContains(v string) predicate.Release
- func ReleaseDateContainsFold(v string) predicate.Release
- func ReleaseDateEQ(v string) predicate.Release
- func ReleaseDateEqualFold(v string) predicate.Release
- func ReleaseDateGT(v string) predicate.Release
- func ReleaseDateGTE(v string) predicate.Release
- func ReleaseDateHasPrefix(v string) predicate.Release
- func ReleaseDateHasSuffix(v string) predicate.Release
- func ReleaseDateIn(vs ...string) predicate.Release
- func ReleaseDateIsNil() predicate.Release
- func ReleaseDateLT(v string) predicate.Release
- func ReleaseDateLTE(v string) predicate.Release
- func ReleaseDateNEQ(v string) predicate.Release
- func ReleaseDateNotIn(vs ...string) predicate.Release
- func ReleaseDateNotNil() predicate.Release
- func Released(v bool) predicate.Release
- func ReleasedEQ(v bool) predicate.Release
- func ReleasedIsNil() predicate.Release
- func ReleasedNEQ(v bool) predicate.Release
- func ReleasedNotNil() predicate.Release
- func StartDate(v string) predicate.Release
- func StartDateContains(v string) predicate.Release
- func StartDateContainsFold(v string) predicate.Release
- func StartDateEQ(v string) predicate.Release
- func StartDateEqualFold(v string) predicate.Release
- func StartDateGT(v string) predicate.Release
- func StartDateGTE(v string) predicate.Release
- func StartDateHasPrefix(v string) predicate.Release
- func StartDateHasSuffix(v string) predicate.Release
- func StartDateIn(vs ...string) predicate.Release
- func StartDateIsNil() predicate.Release
- func StartDateLT(v string) predicate.Release
- func StartDateLTE(v string) predicate.Release
- func StartDateNEQ(v string) predicate.Release
- func StartDateNotIn(vs ...string) predicate.Release
- func StartDateNotNil() predicate.Release
- func URL(v string) predicate.Release
- func URLContains(v string) predicate.Release
- func URLContainsFold(v string) predicate.Release
- func URLEQ(v string) predicate.Release
- func URLEqualFold(v string) predicate.Release
- func URLGT(v string) predicate.Release
- func URLGTE(v string) predicate.Release
- func URLHasPrefix(v string) predicate.Release
- func URLHasSuffix(v string) predicate.Release
- func URLIn(vs ...string) predicate.Release
- func URLIsNil() predicate.Release
- func URLLT(v string) predicate.Release
- func URLLTE(v string) predicate.Release
- func URLNEQ(v string) predicate.Release
- func URLNotIn(vs ...string) predicate.Release
- func URLNotNil() predicate.Release
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParkingLot(opts ...sql.OrderTermOption) OrderOption
- func ByProduct(opts ...sql.OrderTermOption) OrderOption
- func ByReferenceNum(opts ...sql.OrderTermOption) OrderOption
- func ByReleaseDate(opts ...sql.OrderTermOption) OrderOption
- func ByReleased(opts ...sql.OrderTermOption) OrderOption
- func ByStartDate(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldProduct, FieldReferenceNum, FieldName, FieldStartDate, FieldReleaseDate, FieldReleased, FieldParkingLot, FieldURL, FieldCreatedAt, FieldData, }
Columns holds all SQL columns for release 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func DataNotNil ¶
DataNotNil applies the NotNil predicate on the "data" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID 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 NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func ParkingLot ¶
ParkingLot applies equality check predicate on the "parking_lot" field. It's identical to ParkingLotEQ.
func ParkingLotEQ ¶
ParkingLotEQ applies the EQ predicate on the "parking_lot" field.
func ParkingLotIsNil ¶
ParkingLotIsNil applies the IsNil predicate on the "parking_lot" field.
func ParkingLotNEQ ¶
ParkingLotNEQ applies the NEQ predicate on the "parking_lot" field.
func ParkingLotNotNil ¶
ParkingLotNotNil applies the NotNil predicate on the "parking_lot" field.
func Product ¶
Product applies equality check predicate on the "product" field. It's identical to ProductEQ.
func ProductContains ¶
ProductContains applies the Contains predicate on the "product" field.
func ProductContainsFold ¶
ProductContainsFold applies the ContainsFold predicate on the "product" field.
func ProductEqualFold ¶
ProductEqualFold applies the EqualFold predicate on the "product" field.
func ProductGTE ¶
ProductGTE applies the GTE predicate on the "product" field.
func ProductHasPrefix ¶
ProductHasPrefix applies the HasPrefix predicate on the "product" field.
func ProductHasSuffix ¶
ProductHasSuffix applies the HasSuffix predicate on the "product" field.
func ProductLTE ¶
ProductLTE applies the LTE predicate on the "product" field.
func ProductNEQ ¶
ProductNEQ applies the NEQ predicate on the "product" field.
func ProductNotIn ¶
ProductNotIn applies the NotIn predicate on the "product" field.
func ReferenceNum ¶
ReferenceNum applies equality check predicate on the "reference_num" field. It's identical to ReferenceNumEQ.
func ReferenceNumContains ¶
ReferenceNumContains applies the Contains predicate on the "reference_num" field.
func ReferenceNumContainsFold ¶
ReferenceNumContainsFold applies the ContainsFold predicate on the "reference_num" field.
func ReferenceNumEQ ¶
ReferenceNumEQ applies the EQ predicate on the "reference_num" field.
func ReferenceNumEqualFold ¶
ReferenceNumEqualFold applies the EqualFold predicate on the "reference_num" field.
func ReferenceNumGT ¶
ReferenceNumGT applies the GT predicate on the "reference_num" field.
func ReferenceNumGTE ¶
ReferenceNumGTE applies the GTE predicate on the "reference_num" field.
func ReferenceNumHasPrefix ¶
ReferenceNumHasPrefix applies the HasPrefix predicate on the "reference_num" field.
func ReferenceNumHasSuffix ¶
ReferenceNumHasSuffix applies the HasSuffix predicate on the "reference_num" field.
func ReferenceNumIn ¶
ReferenceNumIn applies the In predicate on the "reference_num" field.
func ReferenceNumIsNil ¶
ReferenceNumIsNil applies the IsNil predicate on the "reference_num" field.
func ReferenceNumLT ¶
ReferenceNumLT applies the LT predicate on the "reference_num" field.
func ReferenceNumLTE ¶
ReferenceNumLTE applies the LTE predicate on the "reference_num" field.
func ReferenceNumNEQ ¶
ReferenceNumNEQ applies the NEQ predicate on the "reference_num" field.
func ReferenceNumNotIn ¶
ReferenceNumNotIn applies the NotIn predicate on the "reference_num" field.
func ReferenceNumNotNil ¶
ReferenceNumNotNil applies the NotNil predicate on the "reference_num" field.
func ReleaseDate ¶
ReleaseDate applies equality check predicate on the "release_date" field. It's identical to ReleaseDateEQ.
func ReleaseDateContains ¶
ReleaseDateContains applies the Contains predicate on the "release_date" field.
func ReleaseDateContainsFold ¶
ReleaseDateContainsFold applies the ContainsFold predicate on the "release_date" field.
func ReleaseDateEQ ¶
ReleaseDateEQ applies the EQ predicate on the "release_date" field.
func ReleaseDateEqualFold ¶
ReleaseDateEqualFold applies the EqualFold predicate on the "release_date" field.
func ReleaseDateGT ¶
ReleaseDateGT applies the GT predicate on the "release_date" field.
func ReleaseDateGTE ¶
ReleaseDateGTE applies the GTE predicate on the "release_date" field.
func ReleaseDateHasPrefix ¶
ReleaseDateHasPrefix applies the HasPrefix predicate on the "release_date" field.
func ReleaseDateHasSuffix ¶
ReleaseDateHasSuffix applies the HasSuffix predicate on the "release_date" field.
func ReleaseDateIn ¶
ReleaseDateIn applies the In predicate on the "release_date" field.
func ReleaseDateIsNil ¶
ReleaseDateIsNil applies the IsNil predicate on the "release_date" field.
func ReleaseDateLT ¶
ReleaseDateLT applies the LT predicate on the "release_date" field.
func ReleaseDateLTE ¶
ReleaseDateLTE applies the LTE predicate on the "release_date" field.
func ReleaseDateNEQ ¶
ReleaseDateNEQ applies the NEQ predicate on the "release_date" field.
func ReleaseDateNotIn ¶
ReleaseDateNotIn applies the NotIn predicate on the "release_date" field.
func ReleaseDateNotNil ¶
ReleaseDateNotNil applies the NotNil predicate on the "release_date" field.
func Released ¶
Released applies equality check predicate on the "released" field. It's identical to ReleasedEQ.
func ReleasedEQ ¶
ReleasedEQ applies the EQ predicate on the "released" field.
func ReleasedIsNil ¶
ReleasedIsNil applies the IsNil predicate on the "released" field.
func ReleasedNEQ ¶
ReleasedNEQ applies the NEQ predicate on the "released" field.
func ReleasedNotNil ¶
ReleasedNotNil applies the NotNil predicate on the "released" field.
func StartDate ¶
StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.
func StartDateContains ¶
StartDateContains applies the Contains predicate on the "start_date" field.
func StartDateContainsFold ¶
StartDateContainsFold applies the ContainsFold predicate on the "start_date" field.
func StartDateEQ ¶
StartDateEQ applies the EQ predicate on the "start_date" field.
func StartDateEqualFold ¶
StartDateEqualFold applies the EqualFold predicate on the "start_date" field.
func StartDateGT ¶
StartDateGT applies the GT predicate on the "start_date" field.
func StartDateGTE ¶
StartDateGTE applies the GTE predicate on the "start_date" field.
func StartDateHasPrefix ¶
StartDateHasPrefix applies the HasPrefix predicate on the "start_date" field.
func StartDateHasSuffix ¶
StartDateHasSuffix applies the HasSuffix predicate on the "start_date" field.
func StartDateIn ¶
StartDateIn applies the In predicate on the "start_date" field.
func StartDateIsNil ¶
StartDateIsNil applies the IsNil predicate on the "start_date" field.
func StartDateLT ¶
StartDateLT applies the LT predicate on the "start_date" field.
func StartDateLTE ¶
StartDateLTE applies the LTE predicate on the "start_date" field.
func StartDateNEQ ¶
StartDateNEQ applies the NEQ predicate on the "start_date" field.
func StartDateNotIn ¶
StartDateNotIn applies the NotIn predicate on the "start_date" field.
func StartDateNotNil ¶
StartDateNotNil applies the NotNil predicate on the "start_date" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.