Documentation ¶
Index ¶
- Constants
- Variables
- func AnchorID(v int) predicate.Process
- func AnchorIDEQ(v int) predicate.Process
- func AnchorIDGT(v int) predicate.Process
- func AnchorIDGTE(v int) predicate.Process
- func AnchorIDIn(vs ...int) predicate.Process
- func AnchorIDIsNil() predicate.Process
- func AnchorIDLT(v int) predicate.Process
- func AnchorIDLTE(v int) predicate.Process
- func AnchorIDNEQ(v int) predicate.Process
- func AnchorIDNotIn(vs ...int) predicate.Process
- func AnchorIDNotNil() predicate.Process
- func And(predicates ...predicate.Process) predicate.Process
- func CreatedAt(v time.Time) predicate.Process
- func CreatedAtEQ(v time.Time) predicate.Process
- func CreatedAtGT(v time.Time) predicate.Process
- func CreatedAtGTE(v time.Time) predicate.Process
- func CreatedAtIn(vs ...time.Time) predicate.Process
- func CreatedAtLT(v time.Time) predicate.Process
- func CreatedAtLTE(v time.Time) predicate.Process
- func CreatedAtNEQ(v time.Time) predicate.Process
- func CreatedAtNotIn(vs ...time.Time) predicate.Process
- func Filename(v string) predicate.Process
- func FilenameContains(v string) predicate.Process
- func FilenameContainsFold(v string) predicate.Process
- func FilenameEQ(v string) predicate.Process
- func FilenameEqualFold(v string) predicate.Process
- func FilenameGT(v string) predicate.Process
- func FilenameGTE(v string) predicate.Process
- func FilenameHasPrefix(v string) predicate.Process
- func FilenameHasSuffix(v string) predicate.Process
- func FilenameIn(vs ...string) predicate.Process
- func FilenameLT(v string) predicate.Process
- func FilenameLTE(v string) predicate.Process
- func FilenameNEQ(v string) predicate.Process
- func FilenameNotIn(vs ...string) predicate.Process
- func Hash(v string) predicate.Process
- func HashContains(v string) predicate.Process
- func HashContainsFold(v string) predicate.Process
- func HashEQ(v string) predicate.Process
- func HashEqualFold(v string) predicate.Process
- func HashGT(v string) predicate.Process
- func HashGTE(v string) predicate.Process
- func HashHasPrefix(v string) predicate.Process
- func HashHasSuffix(v string) predicate.Process
- func HashIn(vs ...string) predicate.Process
- func HashLT(v string) predicate.Process
- func HashLTE(v string) predicate.Process
- func HashNEQ(v string) predicate.Process
- func HashNotIn(vs ...string) predicate.Process
- func ID(id uuid.UUID) predicate.Process
- func IDEQ(id uuid.UUID) predicate.Process
- func IDGT(id uuid.UUID) predicate.Process
- func IDGTE(id uuid.UUID) predicate.Process
- func IDIn(ids ...uuid.UUID) predicate.Process
- func IDLT(id uuid.UUID) predicate.Process
- func IDLTE(id uuid.UUID) predicate.Process
- func IDNEQ(id uuid.UUID) predicate.Process
- func IDNotIn(ids ...uuid.UUID) predicate.Process
- func IsAggregated(v bool) predicate.Process
- func IsAggregatedEQ(v bool) predicate.Process
- func IsAggregatedNEQ(v bool) predicate.Process
- func Not(p predicate.Process) predicate.Process
- func Or(predicates ...predicate.Process) predicate.Process
- func ProcessResponseIsNil() predicate.Process
- func ProcessResponseNotNil() predicate.Process
- func Status(v bool) predicate.Process
- func StatusEQ(v bool) predicate.Process
- func StatusNEQ(v bool) predicate.Process
- func ValidColumn(column string) bool
- type OrderOption
- func ByAnchorID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFilename(opts ...sql.OrderTermOption) OrderOption
- func ByHash(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsAggregated(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the process type in the database. Label = "process" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFilename holds the string denoting the filename field in the database. FieldFilename = "filename" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldProcessResponse holds the string denoting the process_response field in the database. FieldProcessResponse = "process_response" // FieldAnchorID holds the string denoting the anchor_id field in the database. FieldAnchorID = "anchor_id" // FieldIsAggregated holds the string denoting the is_aggregated field in the database. FieldIsAggregated = "is_aggregated" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // Table holds the table name of the process in the database. Table = "processes" )
Variables ¶
var ( // FilenameValidator is a validator for the "filename" field. It is called by the builders before save. FilenameValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus bool // HashValidator is a validator for the "hash" field. It is called by the builders before save. HashValidator func(string) error // DefaultIsAggregated holds the default value on creation for the "is_aggregated" field. DefaultIsAggregated bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldFilename, FieldStatus, FieldHash, FieldProcessResponse, FieldAnchorID, FieldIsAggregated, FieldCreatedAt, }
Columns holds all SQL columns for process fields.
Functions ¶
func AnchorID ¶
AnchorID applies equality check predicate on the "anchor_id" field. It's identical to AnchorIDEQ.
func AnchorIDEQ ¶
AnchorIDEQ applies the EQ predicate on the "anchor_id" field.
func AnchorIDGT ¶
AnchorIDGT applies the GT predicate on the "anchor_id" field.
func AnchorIDGTE ¶
AnchorIDGTE applies the GTE predicate on the "anchor_id" field.
func AnchorIDIn ¶
AnchorIDIn applies the In predicate on the "anchor_id" field.
func AnchorIDIsNil ¶
AnchorIDIsNil applies the IsNil predicate on the "anchor_id" field.
func AnchorIDLT ¶
AnchorIDLT applies the LT predicate on the "anchor_id" field.
func AnchorIDLTE ¶
AnchorIDLTE applies the LTE predicate on the "anchor_id" field.
func AnchorIDNEQ ¶
AnchorIDNEQ applies the NEQ predicate on the "anchor_id" field.
func AnchorIDNotIn ¶
AnchorIDNotIn applies the NotIn predicate on the "anchor_id" field.
func AnchorIDNotNil ¶
AnchorIDNotNil applies the NotNil predicate on the "anchor_id" field.
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 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 Filename ¶
Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.
func FilenameContains ¶
FilenameContains applies the Contains predicate on the "filename" field.
func FilenameContainsFold ¶
FilenameContainsFold applies the ContainsFold predicate on the "filename" field.
func FilenameEQ ¶
FilenameEQ applies the EQ predicate on the "filename" field.
func FilenameEqualFold ¶
FilenameEqualFold applies the EqualFold predicate on the "filename" field.
func FilenameGT ¶
FilenameGT applies the GT predicate on the "filename" field.
func FilenameGTE ¶
FilenameGTE applies the GTE predicate on the "filename" field.
func FilenameHasPrefix ¶
FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.
func FilenameHasSuffix ¶
FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.
func FilenameIn ¶
FilenameIn applies the In predicate on the "filename" field.
func FilenameLT ¶
FilenameLT applies the LT predicate on the "filename" field.
func FilenameLTE ¶
FilenameLTE applies the LTE predicate on the "filename" field.
func FilenameNEQ ¶
FilenameNEQ applies the NEQ predicate on the "filename" field.
func FilenameNotIn ¶
FilenameNotIn applies the NotIn predicate on the "filename" field.
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func IsAggregated ¶
IsAggregated applies equality check predicate on the "is_aggregated" field. It's identical to IsAggregatedEQ.
func IsAggregatedEQ ¶
IsAggregatedEQ applies the EQ predicate on the "is_aggregated" field.
func IsAggregatedNEQ ¶
IsAggregatedNEQ applies the NEQ predicate on the "is_aggregated" field.
func ProcessResponseIsNil ¶
ProcessResponseIsNil applies the IsNil predicate on the "process_response" field.
func ProcessResponseNotNil ¶
ProcessResponseNotNil applies the NotNil predicate on the "process_response" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
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 Process queries.
func ByAnchorID ¶
func ByAnchorID(opts ...sql.OrderTermOption) OrderOption
ByAnchorID orders the results by the anchor_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFilename ¶
func ByFilename(opts ...sql.OrderTermOption) OrderOption
ByFilename orders the results by the filename field.
func ByHash ¶
func ByHash(opts ...sql.OrderTermOption) OrderOption
ByHash orders the results by the hash field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsAggregated ¶
func ByIsAggregated(opts ...sql.OrderTermOption) OrderOption
ByIsAggregated orders the results by the is_aggregated field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.