Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Object) predicate.Object
- func ArchiveID(v string) predicate.Object
- func ArchiveIDContains(v string) predicate.Object
- func ArchiveIDContainsFold(v string) predicate.Object
- func ArchiveIDEQ(v string) predicate.Object
- func ArchiveIDEqualFold(v string) predicate.Object
- func ArchiveIDGT(v string) predicate.Object
- func ArchiveIDGTE(v string) predicate.Object
- func ArchiveIDHasPrefix(v string) predicate.Object
- func ArchiveIDHasSuffix(v string) predicate.Object
- func ArchiveIDIn(vs ...string) predicate.Object
- func ArchiveIDLT(v string) predicate.Object
- func ArchiveIDLTE(v string) predicate.Object
- func ArchiveIDNEQ(v string) predicate.Object
- func ArchiveIDNotIn(vs ...string) predicate.Object
- func CarriedOffset(v uint32) predicate.Object
- func CarriedOffsetEQ(v uint32) predicate.Object
- func CarriedOffsetGT(v uint32) predicate.Object
- func CarriedOffsetGTE(v uint32) predicate.Object
- func CarriedOffsetIn(vs ...uint32) predicate.Object
- func CarriedOffsetIsNil() predicate.Object
- func CarriedOffsetLT(v uint32) predicate.Object
- func CarriedOffsetLTE(v uint32) predicate.Object
- func CarriedOffsetNEQ(v uint32) predicate.Object
- func CarriedOffsetNotIn(vs ...uint32) predicate.Object
- func CarriedOffsetNotNil() predicate.Object
- func CarriedTime(v int64) predicate.Object
- func CarriedTimeEQ(v int64) predicate.Object
- func CarriedTimeGT(v int64) predicate.Object
- func CarriedTimeGTE(v int64) predicate.Object
- func CarriedTimeIn(vs ...int64) predicate.Object
- func CarriedTimeIsNil() predicate.Object
- func CarriedTimeLT(v int64) predicate.Object
- func CarriedTimeLTE(v int64) predicate.Object
- func CarriedTimeNEQ(v int64) predicate.Object
- func CarriedTimeNotIn(vs ...int64) predicate.Object
- func CarriedTimeNotNil() predicate.Object
- func HasArchive() predicate.Object
- func HasArchiveWith(preds ...predicate.Archive) predicate.Object
- func ID(id int) predicate.Object
- func IDEQ(id int) predicate.Object
- func IDGT(id int) predicate.Object
- func IDGTE(id int) predicate.Object
- func IDIn(ids ...int) predicate.Object
- func IDLT(id int) predicate.Object
- func IDLTE(id int) predicate.Object
- func IDNEQ(id int) predicate.Object
- func IDNotIn(ids ...int) predicate.Object
- func Length(v uint32) predicate.Object
- func LengthEQ(v uint32) predicate.Object
- func LengthGT(v uint32) predicate.Object
- func LengthGTE(v uint32) predicate.Object
- func LengthIn(vs ...uint32) predicate.Object
- func LengthLT(v uint32) predicate.Object
- func LengthLTE(v uint32) predicate.Object
- func LengthNEQ(v uint32) predicate.Object
- func LengthNotIn(vs ...uint32) predicate.Object
- func Not(p predicate.Object) predicate.Object
- func Or(predicates ...predicate.Object) predicate.Object
- func Ref(v []byte) predicate.Object
- func RefEQ(v []byte) predicate.Object
- func RefGT(v []byte) predicate.Object
- func RefGTE(v []byte) predicate.Object
- func RefIn(vs ...[]byte) predicate.Object
- func RefLT(v []byte) predicate.Object
- func RefLTE(v []byte) predicate.Object
- func RefNEQ(v []byte) predicate.Object
- func RefNotIn(vs ...[]byte) predicate.Object
- func Start(v uint32) predicate.Object
- func StartEQ(v uint32) predicate.Object
- func StartGT(v uint32) predicate.Object
- func StartGTE(v uint32) predicate.Object
- func StartIn(vs ...uint32) predicate.Object
- func StartLT(v uint32) predicate.Object
- func StartLTE(v uint32) predicate.Object
- func StartNEQ(v uint32) predicate.Object
- func StartNotIn(vs ...uint32) predicate.Object
- func Type(v uint32) predicate.Object
- func TypeEQ(v uint32) predicate.Object
- func TypeGT(v uint32) predicate.Object
- func TypeGTE(v uint32) predicate.Object
- func TypeIn(vs ...uint32) predicate.Object
- func TypeLT(v uint32) predicate.Object
- func TypeLTE(v uint32) predicate.Object
- func TypeNEQ(v uint32) predicate.Object
- func TypeNotIn(vs ...uint32) predicate.Object
- func ValidColumn(column string) bool
- type OrderOption
- func ByArchiveField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByArchiveID(opts ...sql.OrderTermOption) OrderOption
- func ByCarriedOffset(opts ...sql.OrderTermOption) OrderOption
- func ByCarriedTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLength(opts ...sql.OrderTermOption) OrderOption
- func ByStart(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the object type in the database. Label = "object" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldArchiveID holds the string denoting the archive_id field in the database. FieldArchiveID = "archive_id" // FieldStart holds the string denoting the start field in the database. FieldStart = "start" // FieldLength holds the string denoting the length field in the database. FieldLength = "length" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldCarriedTime holds the string denoting the carried_time field in the database. FieldCarriedTime = "carried_time" // FieldCarriedOffset holds the string denoting the carried_offset field in the database. FieldCarriedOffset = "carried_offset" // EdgeArchive holds the string denoting the archive edge name in mutations. EdgeArchive = "archive" // Table holds the table name of the object in the database. Table = "objects" // ArchiveTable is the table that holds the archive relation/edge. ArchiveTable = "objects" // ArchiveInverseTable is the table name for the Archive entity. // It exists in this package in order to avoid circular dependency with the "archive" package. ArchiveInverseTable = "archives" // ArchiveColumn is the table column denoting the archive relation/edge. ArchiveColumn = "archive_id" )
Variables ¶
var Columns = []string{ FieldID, FieldRef, FieldArchiveID, FieldStart, FieldLength, FieldType, FieldCarriedTime, FieldCarriedOffset, }
Columns holds all SQL columns for object fields.
Functions ¶
func ArchiveID ¶
ArchiveID applies equality check predicate on the "archive_id" field. It's identical to ArchiveIDEQ.
func ArchiveIDContains ¶
ArchiveIDContains applies the Contains predicate on the "archive_id" field.
func ArchiveIDContainsFold ¶
ArchiveIDContainsFold applies the ContainsFold predicate on the "archive_id" field.
func ArchiveIDEQ ¶
ArchiveIDEQ applies the EQ predicate on the "archive_id" field.
func ArchiveIDEqualFold ¶
ArchiveIDEqualFold applies the EqualFold predicate on the "archive_id" field.
func ArchiveIDGT ¶
ArchiveIDGT applies the GT predicate on the "archive_id" field.
func ArchiveIDGTE ¶
ArchiveIDGTE applies the GTE predicate on the "archive_id" field.
func ArchiveIDHasPrefix ¶
ArchiveIDHasPrefix applies the HasPrefix predicate on the "archive_id" field.
func ArchiveIDHasSuffix ¶
ArchiveIDHasSuffix applies the HasSuffix predicate on the "archive_id" field.
func ArchiveIDIn ¶
ArchiveIDIn applies the In predicate on the "archive_id" field.
func ArchiveIDLT ¶
ArchiveIDLT applies the LT predicate on the "archive_id" field.
func ArchiveIDLTE ¶
ArchiveIDLTE applies the LTE predicate on the "archive_id" field.
func ArchiveIDNEQ ¶
ArchiveIDNEQ applies the NEQ predicate on the "archive_id" field.
func ArchiveIDNotIn ¶
ArchiveIDNotIn applies the NotIn predicate on the "archive_id" field.
func CarriedOffset ¶
CarriedOffset applies equality check predicate on the "carried_offset" field. It's identical to CarriedOffsetEQ.
func CarriedOffsetEQ ¶
CarriedOffsetEQ applies the EQ predicate on the "carried_offset" field.
func CarriedOffsetGT ¶
CarriedOffsetGT applies the GT predicate on the "carried_offset" field.
func CarriedOffsetGTE ¶
CarriedOffsetGTE applies the GTE predicate on the "carried_offset" field.
func CarriedOffsetIn ¶
CarriedOffsetIn applies the In predicate on the "carried_offset" field.
func CarriedOffsetIsNil ¶
CarriedOffsetIsNil applies the IsNil predicate on the "carried_offset" field.
func CarriedOffsetLT ¶
CarriedOffsetLT applies the LT predicate on the "carried_offset" field.
func CarriedOffsetLTE ¶
CarriedOffsetLTE applies the LTE predicate on the "carried_offset" field.
func CarriedOffsetNEQ ¶
CarriedOffsetNEQ applies the NEQ predicate on the "carried_offset" field.
func CarriedOffsetNotIn ¶
CarriedOffsetNotIn applies the NotIn predicate on the "carried_offset" field.
func CarriedOffsetNotNil ¶
CarriedOffsetNotNil applies the NotNil predicate on the "carried_offset" field.
func CarriedTime ¶
CarriedTime applies equality check predicate on the "carried_time" field. It's identical to CarriedTimeEQ.
func CarriedTimeEQ ¶
CarriedTimeEQ applies the EQ predicate on the "carried_time" field.
func CarriedTimeGT ¶
CarriedTimeGT applies the GT predicate on the "carried_time" field.
func CarriedTimeGTE ¶
CarriedTimeGTE applies the GTE predicate on the "carried_time" field.
func CarriedTimeIn ¶
CarriedTimeIn applies the In predicate on the "carried_time" field.
func CarriedTimeIsNil ¶
CarriedTimeIsNil applies the IsNil predicate on the "carried_time" field.
func CarriedTimeLT ¶
CarriedTimeLT applies the LT predicate on the "carried_time" field.
func CarriedTimeLTE ¶
CarriedTimeLTE applies the LTE predicate on the "carried_time" field.
func CarriedTimeNEQ ¶
CarriedTimeNEQ applies the NEQ predicate on the "carried_time" field.
func CarriedTimeNotIn ¶
CarriedTimeNotIn applies the NotIn predicate on the "carried_time" field.
func CarriedTimeNotNil ¶
CarriedTimeNotNil applies the NotNil predicate on the "carried_time" field.
func HasArchive ¶
HasArchive applies the HasEdge predicate on the "archive" edge.
func HasArchiveWith ¶
HasArchiveWith applies the HasEdge predicate on the "archive" edge with a given conditions (other predicates).
func Length ¶
Length applies equality check predicate on the "length" field. It's identical to LengthEQ.
func LengthNotIn ¶
LengthNotIn applies the NotIn predicate on the "length" field.
func Start ¶
Start applies equality check predicate on the "start" field. It's identical to StartEQ.
func StartNotIn ¶
StartNotIn applies the NotIn predicate on the "start" 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 Object queries.
func ByArchiveField ¶
func ByArchiveField(field string, opts ...sql.OrderTermOption) OrderOption
ByArchiveField orders the results by archive field.
func ByArchiveID ¶
func ByArchiveID(opts ...sql.OrderTermOption) OrderOption
ByArchiveID orders the results by the archive_id field.
func ByCarriedOffset ¶
func ByCarriedOffset(opts ...sql.OrderTermOption) OrderOption
ByCarriedOffset orders the results by the carried_offset field.
func ByCarriedTime ¶
func ByCarriedTime(opts ...sql.OrderTermOption) OrderOption
ByCarriedTime orders the results by the carried_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLength ¶
func ByLength(opts ...sql.OrderTermOption) OrderOption
ByLength orders the results by the length field.
func ByStart ¶
func ByStart(opts ...sql.OrderTermOption) OrderOption
ByStart orders the results by the start field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.