Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.CommunicationSyncCursor) predicate.CommunicationSyncCursor
- func CreatedAt(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtEQ(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtGT(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtGTE(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func CreatedAtLT(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtLTE(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
- func CreatedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func Cursor(v string) predicate.CommunicationSyncCursor
- func CursorContains(v string) predicate.CommunicationSyncCursor
- func CursorContainsFold(v string) predicate.CommunicationSyncCursor
- func CursorEQ(v string) predicate.CommunicationSyncCursor
- func CursorEqualFold(v string) predicate.CommunicationSyncCursor
- func CursorGT(v string) predicate.CommunicationSyncCursor
- func CursorGTE(v string) predicate.CommunicationSyncCursor
- func CursorHasPrefix(v string) predicate.CommunicationSyncCursor
- func CursorHasSuffix(v string) predicate.CommunicationSyncCursor
- func CursorIn(vs ...string) predicate.CommunicationSyncCursor
- func CursorIsNil() predicate.CommunicationSyncCursor
- func CursorLT(v string) predicate.CommunicationSyncCursor
- func CursorLTE(v string) predicate.CommunicationSyncCursor
- func CursorNEQ(v string) predicate.CommunicationSyncCursor
- func CursorNotIn(vs ...string) predicate.CommunicationSyncCursor
- func CursorNotNil() predicate.CommunicationSyncCursor
- func HasOwner() predicate.CommunicationSyncCursor
- func HasOwnerWith(preds ...predicate.User) predicate.CommunicationSyncCursor
- func HasWorkspace() predicate.CommunicationSyncCursor
- func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.CommunicationSyncCursor
- func ID(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDEQ(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDGT(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDGTE(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDIn(ids ...uuid.UUID) predicate.CommunicationSyncCursor
- func IDLT(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDLTE(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDNEQ(id uuid.UUID) predicate.CommunicationSyncCursor
- func IDNotIn(ids ...uuid.UUID) predicate.CommunicationSyncCursor
- func LastError(v string) predicate.CommunicationSyncCursor
- func LastErrorContains(v string) predicate.CommunicationSyncCursor
- func LastErrorContainsFold(v string) predicate.CommunicationSyncCursor
- func LastErrorEQ(v string) predicate.CommunicationSyncCursor
- func LastErrorEqualFold(v string) predicate.CommunicationSyncCursor
- func LastErrorGT(v string) predicate.CommunicationSyncCursor
- func LastErrorGTE(v string) predicate.CommunicationSyncCursor
- func LastErrorHasPrefix(v string) predicate.CommunicationSyncCursor
- func LastErrorHasSuffix(v string) predicate.CommunicationSyncCursor
- func LastErrorIn(vs ...string) predicate.CommunicationSyncCursor
- func LastErrorIsNil() predicate.CommunicationSyncCursor
- func LastErrorLT(v string) predicate.CommunicationSyncCursor
- func LastErrorLTE(v string) predicate.CommunicationSyncCursor
- func LastErrorNEQ(v string) predicate.CommunicationSyncCursor
- func LastErrorNotIn(vs ...string) predicate.CommunicationSyncCursor
- func LastErrorNotNil() predicate.CommunicationSyncCursor
- func LastProviderEventAt(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtEQ(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtGT(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtGTE(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtIsNil() predicate.CommunicationSyncCursor
- func LastProviderEventAtLT(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtLTE(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtNEQ(v time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LastProviderEventAtNotNil() predicate.CommunicationSyncCursor
- func LastSuccessAt(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtEQ(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtGT(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtGTE(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtIsNil() predicate.CommunicationSyncCursor
- func LastSuccessAtLT(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtLTE(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtNEQ(v time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LastSuccessAtNotNil() predicate.CommunicationSyncCursor
- func LeaseClaimedAt(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtEQ(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtGT(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtGTE(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtIsNil() predicate.CommunicationSyncCursor
- func LeaseClaimedAtLT(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtLTE(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func LeaseClaimedAtNotNil() predicate.CommunicationSyncCursor
- func Not(p predicate.CommunicationSyncCursor) predicate.CommunicationSyncCursor
- func Or(predicates ...predicate.CommunicationSyncCursor) predicate.CommunicationSyncCursor
- func RetryCount(v int) predicate.CommunicationSyncCursor
- func RetryCountEQ(v int) predicate.CommunicationSyncCursor
- func RetryCountGT(v int) predicate.CommunicationSyncCursor
- func RetryCountGTE(v int) predicate.CommunicationSyncCursor
- func RetryCountIn(vs ...int) predicate.CommunicationSyncCursor
- func RetryCountLT(v int) predicate.CommunicationSyncCursor
- func RetryCountLTE(v int) predicate.CommunicationSyncCursor
- func RetryCountNEQ(v int) predicate.CommunicationSyncCursor
- func RetryCountNotIn(vs ...int) predicate.CommunicationSyncCursor
- func Source(v string) predicate.CommunicationSyncCursor
- func SourceAccountID(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDContains(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDContainsFold(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDEQ(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDEqualFold(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDGT(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDGTE(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDHasPrefix(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDHasSuffix(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDIn(vs ...string) predicate.CommunicationSyncCursor
- func SourceAccountIDLT(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDLTE(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDNEQ(v string) predicate.CommunicationSyncCursor
- func SourceAccountIDNotIn(vs ...string) predicate.CommunicationSyncCursor
- func SourceContains(v string) predicate.CommunicationSyncCursor
- func SourceContainsFold(v string) predicate.CommunicationSyncCursor
- func SourceEQ(v string) predicate.CommunicationSyncCursor
- func SourceEqualFold(v string) predicate.CommunicationSyncCursor
- func SourceGT(v string) predicate.CommunicationSyncCursor
- func SourceGTE(v string) predicate.CommunicationSyncCursor
- func SourceHasPrefix(v string) predicate.CommunicationSyncCursor
- func SourceHasSuffix(v string) predicate.CommunicationSyncCursor
- func SourceIn(vs ...string) predicate.CommunicationSyncCursor
- func SourceLT(v string) predicate.CommunicationSyncCursor
- func SourceLTE(v string) predicate.CommunicationSyncCursor
- func SourceNEQ(v string) predicate.CommunicationSyncCursor
- func SourceNotIn(vs ...string) predicate.CommunicationSyncCursor
- func Status(v string) predicate.CommunicationSyncCursor
- func StatusContains(v string) predicate.CommunicationSyncCursor
- func StatusContainsFold(v string) predicate.CommunicationSyncCursor
- func StatusEQ(v string) predicate.CommunicationSyncCursor
- func StatusEqualFold(v string) predicate.CommunicationSyncCursor
- func StatusGT(v string) predicate.CommunicationSyncCursor
- func StatusGTE(v string) predicate.CommunicationSyncCursor
- func StatusHasPrefix(v string) predicate.CommunicationSyncCursor
- func StatusHasSuffix(v string) predicate.CommunicationSyncCursor
- func StatusIn(vs ...string) predicate.CommunicationSyncCursor
- func StatusLT(v string) predicate.CommunicationSyncCursor
- func StatusLTE(v string) predicate.CommunicationSyncCursor
- func StatusNEQ(v string) predicate.CommunicationSyncCursor
- func StatusNotIn(vs ...string) predicate.CommunicationSyncCursor
- func UpdatedAt(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtEQ(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtGT(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtGTE(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtLT(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtLTE(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
- func UpdatedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCursor(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastError(opts ...sql.OrderTermOption) OrderOption
- func ByLastProviderEventAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastSuccessAt(opts ...sql.OrderTermOption) OrderOption
- func ByLeaseClaimedAt(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRetryCount(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func BySourceAccountID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the communicationsynccursor type in the database. Label = "communication_sync_cursor" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldSourceAccountID holds the string denoting the source_account_id field in the database. FieldSourceAccountID = "source_account_id" // FieldCursor holds the string denoting the cursor field in the database. FieldCursor = "cursor" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldLastProviderEventAt holds the string denoting the last_provider_event_at field in the database. FieldLastProviderEventAt = "last_provider_event_at" // FieldLastSuccessAt holds the string denoting the last_success_at field in the database. FieldLastSuccessAt = "last_success_at" // FieldLeaseClaimedAt holds the string denoting the lease_claimed_at field in the database. FieldLeaseClaimedAt = "lease_claimed_at" // FieldRetryCount holds the string denoting the retry_count field in the database. FieldRetryCount = "retry_count" // FieldLastError holds the string denoting the last_error field in the database. FieldLastError = "last_error" // EdgeWorkspace holds the string denoting the workspace edge name in mutations. EdgeWorkspace = "workspace" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the communicationsynccursor in the database. Table = "communication_sync_cursors" // WorkspaceTable is the table that holds the workspace relation/edge. WorkspaceTable = "communication_sync_cursors" // WorkspaceInverseTable is the table name for the RevenueWorkspace entity. // It exists in this package in order to avoid circular dependency with the "revenueworkspace" package. WorkspaceInverseTable = "revenue_workspaces" // WorkspaceColumn is the table column denoting the workspace relation/edge. WorkspaceColumn = "revenue_workspace_id" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "communication_sync_cursors" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "user_communication_sync_cursors" )
Variables ¶
var ( Hooks [1]ent.Hook Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // SourceValidator is a validator for the "source" field. It is called by the builders before save. SourceValidator func(string) error // SourceAccountIDValidator is a validator for the "source_account_id" field. It is called by the builders before save. SourceAccountIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // StatusValidator is a validator for the "status" field. It is called by the builders before save. StatusValidator func(string) error // DefaultRetryCount holds the default value on creation for the "retry_count" field. DefaultRetryCount int // RetryCountValidator is a validator for the "retry_count" field. It is called by the builders before save. RetryCountValidator func(int) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/Oppulence-Engineering/rowboat/apps/rowboat-api/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSource, FieldSourceAccountID, FieldCursor, FieldStatus, FieldLastProviderEventAt, FieldLastSuccessAt, FieldLeaseClaimedAt, FieldRetryCount, FieldLastError, }
Columns holds all SQL columns for communicationsynccursor fields.
var ForeignKeys = []string{
"revenue_workspace_id",
"user_communication_sync_cursors",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "communication_sync_cursors" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.CommunicationSyncCursor) predicate.CommunicationSyncCursor
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CommunicationSyncCursor
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.CommunicationSyncCursor
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.CommunicationSyncCursor
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.CommunicationSyncCursor
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.CommunicationSyncCursor
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.CommunicationSyncCursor
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Cursor ¶
func Cursor(v string) predicate.CommunicationSyncCursor
Cursor applies equality check predicate on the "cursor" field. It's identical to CursorEQ.
func CursorContains ¶
func CursorContains(v string) predicate.CommunicationSyncCursor
CursorContains applies the Contains predicate on the "cursor" field.
func CursorContainsFold ¶
func CursorContainsFold(v string) predicate.CommunicationSyncCursor
CursorContainsFold applies the ContainsFold predicate on the "cursor" field.
func CursorEQ ¶
func CursorEQ(v string) predicate.CommunicationSyncCursor
CursorEQ applies the EQ predicate on the "cursor" field.
func CursorEqualFold ¶
func CursorEqualFold(v string) predicate.CommunicationSyncCursor
CursorEqualFold applies the EqualFold predicate on the "cursor" field.
func CursorGT ¶
func CursorGT(v string) predicate.CommunicationSyncCursor
CursorGT applies the GT predicate on the "cursor" field.
func CursorGTE ¶
func CursorGTE(v string) predicate.CommunicationSyncCursor
CursorGTE applies the GTE predicate on the "cursor" field.
func CursorHasPrefix ¶
func CursorHasPrefix(v string) predicate.CommunicationSyncCursor
CursorHasPrefix applies the HasPrefix predicate on the "cursor" field.
func CursorHasSuffix ¶
func CursorHasSuffix(v string) predicate.CommunicationSyncCursor
CursorHasSuffix applies the HasSuffix predicate on the "cursor" field.
func CursorIn ¶
func CursorIn(vs ...string) predicate.CommunicationSyncCursor
CursorIn applies the In predicate on the "cursor" field.
func CursorIsNil ¶
func CursorIsNil() predicate.CommunicationSyncCursor
CursorIsNil applies the IsNil predicate on the "cursor" field.
func CursorLT ¶
func CursorLT(v string) predicate.CommunicationSyncCursor
CursorLT applies the LT predicate on the "cursor" field.
func CursorLTE ¶
func CursorLTE(v string) predicate.CommunicationSyncCursor
CursorLTE applies the LTE predicate on the "cursor" field.
func CursorNEQ ¶
func CursorNEQ(v string) predicate.CommunicationSyncCursor
CursorNEQ applies the NEQ predicate on the "cursor" field.
func CursorNotIn ¶
func CursorNotIn(vs ...string) predicate.CommunicationSyncCursor
CursorNotIn applies the NotIn predicate on the "cursor" field.
func CursorNotNil ¶
func CursorNotNil() predicate.CommunicationSyncCursor
CursorNotNil applies the NotNil predicate on the "cursor" field.
func HasOwner ¶
func HasOwner() predicate.CommunicationSyncCursor
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.CommunicationSyncCursor
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasWorkspace ¶
func HasWorkspace() predicate.CommunicationSyncCursor
HasWorkspace applies the HasEdge predicate on the "workspace" edge.
func HasWorkspaceWith ¶
func HasWorkspaceWith(preds ...predicate.RevenueWorkspace) predicate.CommunicationSyncCursor
HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.CommunicationSyncCursor
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.CommunicationSyncCursor
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.CommunicationSyncCursor
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.CommunicationSyncCursor
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.CommunicationSyncCursor
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.CommunicationSyncCursor
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.CommunicationSyncCursor
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.CommunicationSyncCursor
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.CommunicationSyncCursor
IDNotIn applies the NotIn predicate on the ID field.
func LastError ¶
func LastError(v string) predicate.CommunicationSyncCursor
LastError applies equality check predicate on the "last_error" field. It's identical to LastErrorEQ.
func LastErrorContains ¶
func LastErrorContains(v string) predicate.CommunicationSyncCursor
LastErrorContains applies the Contains predicate on the "last_error" field.
func LastErrorContainsFold ¶
func LastErrorContainsFold(v string) predicate.CommunicationSyncCursor
LastErrorContainsFold applies the ContainsFold predicate on the "last_error" field.
func LastErrorEQ ¶
func LastErrorEQ(v string) predicate.CommunicationSyncCursor
LastErrorEQ applies the EQ predicate on the "last_error" field.
func LastErrorEqualFold ¶
func LastErrorEqualFold(v string) predicate.CommunicationSyncCursor
LastErrorEqualFold applies the EqualFold predicate on the "last_error" field.
func LastErrorGT ¶
func LastErrorGT(v string) predicate.CommunicationSyncCursor
LastErrorGT applies the GT predicate on the "last_error" field.
func LastErrorGTE ¶
func LastErrorGTE(v string) predicate.CommunicationSyncCursor
LastErrorGTE applies the GTE predicate on the "last_error" field.
func LastErrorHasPrefix ¶
func LastErrorHasPrefix(v string) predicate.CommunicationSyncCursor
LastErrorHasPrefix applies the HasPrefix predicate on the "last_error" field.
func LastErrorHasSuffix ¶
func LastErrorHasSuffix(v string) predicate.CommunicationSyncCursor
LastErrorHasSuffix applies the HasSuffix predicate on the "last_error" field.
func LastErrorIn ¶
func LastErrorIn(vs ...string) predicate.CommunicationSyncCursor
LastErrorIn applies the In predicate on the "last_error" field.
func LastErrorIsNil ¶
func LastErrorIsNil() predicate.CommunicationSyncCursor
LastErrorIsNil applies the IsNil predicate on the "last_error" field.
func LastErrorLT ¶
func LastErrorLT(v string) predicate.CommunicationSyncCursor
LastErrorLT applies the LT predicate on the "last_error" field.
func LastErrorLTE ¶
func LastErrorLTE(v string) predicate.CommunicationSyncCursor
LastErrorLTE applies the LTE predicate on the "last_error" field.
func LastErrorNEQ ¶
func LastErrorNEQ(v string) predicate.CommunicationSyncCursor
LastErrorNEQ applies the NEQ predicate on the "last_error" field.
func LastErrorNotIn ¶
func LastErrorNotIn(vs ...string) predicate.CommunicationSyncCursor
LastErrorNotIn applies the NotIn predicate on the "last_error" field.
func LastErrorNotNil ¶
func LastErrorNotNil() predicate.CommunicationSyncCursor
LastErrorNotNil applies the NotNil predicate on the "last_error" field.
func LastProviderEventAt ¶
func LastProviderEventAt(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAt applies equality check predicate on the "last_provider_event_at" field. It's identical to LastProviderEventAtEQ.
func LastProviderEventAtEQ ¶
func LastProviderEventAtEQ(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtEQ applies the EQ predicate on the "last_provider_event_at" field.
func LastProviderEventAtGT ¶
func LastProviderEventAtGT(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtGT applies the GT predicate on the "last_provider_event_at" field.
func LastProviderEventAtGTE ¶
func LastProviderEventAtGTE(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtGTE applies the GTE predicate on the "last_provider_event_at" field.
func LastProviderEventAtIn ¶
func LastProviderEventAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtIn applies the In predicate on the "last_provider_event_at" field.
func LastProviderEventAtIsNil ¶
func LastProviderEventAtIsNil() predicate.CommunicationSyncCursor
LastProviderEventAtIsNil applies the IsNil predicate on the "last_provider_event_at" field.
func LastProviderEventAtLT ¶
func LastProviderEventAtLT(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtLT applies the LT predicate on the "last_provider_event_at" field.
func LastProviderEventAtLTE ¶
func LastProviderEventAtLTE(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtLTE applies the LTE predicate on the "last_provider_event_at" field.
func LastProviderEventAtNEQ ¶
func LastProviderEventAtNEQ(v time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtNEQ applies the NEQ predicate on the "last_provider_event_at" field.
func LastProviderEventAtNotIn ¶
func LastProviderEventAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
LastProviderEventAtNotIn applies the NotIn predicate on the "last_provider_event_at" field.
func LastProviderEventAtNotNil ¶
func LastProviderEventAtNotNil() predicate.CommunicationSyncCursor
LastProviderEventAtNotNil applies the NotNil predicate on the "last_provider_event_at" field.
func LastSuccessAt ¶
func LastSuccessAt(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAt applies equality check predicate on the "last_success_at" field. It's identical to LastSuccessAtEQ.
func LastSuccessAtEQ ¶
func LastSuccessAtEQ(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtEQ applies the EQ predicate on the "last_success_at" field.
func LastSuccessAtGT ¶
func LastSuccessAtGT(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtGT applies the GT predicate on the "last_success_at" field.
func LastSuccessAtGTE ¶
func LastSuccessAtGTE(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtGTE applies the GTE predicate on the "last_success_at" field.
func LastSuccessAtIn ¶
func LastSuccessAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
LastSuccessAtIn applies the In predicate on the "last_success_at" field.
func LastSuccessAtIsNil ¶
func LastSuccessAtIsNil() predicate.CommunicationSyncCursor
LastSuccessAtIsNil applies the IsNil predicate on the "last_success_at" field.
func LastSuccessAtLT ¶
func LastSuccessAtLT(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtLT applies the LT predicate on the "last_success_at" field.
func LastSuccessAtLTE ¶
func LastSuccessAtLTE(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtLTE applies the LTE predicate on the "last_success_at" field.
func LastSuccessAtNEQ ¶
func LastSuccessAtNEQ(v time.Time) predicate.CommunicationSyncCursor
LastSuccessAtNEQ applies the NEQ predicate on the "last_success_at" field.
func LastSuccessAtNotIn ¶
func LastSuccessAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
LastSuccessAtNotIn applies the NotIn predicate on the "last_success_at" field.
func LastSuccessAtNotNil ¶
func LastSuccessAtNotNil() predicate.CommunicationSyncCursor
LastSuccessAtNotNil applies the NotNil predicate on the "last_success_at" field.
func LeaseClaimedAt ¶
func LeaseClaimedAt(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAt applies equality check predicate on the "lease_claimed_at" field. It's identical to LeaseClaimedAtEQ.
func LeaseClaimedAtEQ ¶
func LeaseClaimedAtEQ(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtEQ applies the EQ predicate on the "lease_claimed_at" field.
func LeaseClaimedAtGT ¶
func LeaseClaimedAtGT(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtGT applies the GT predicate on the "lease_claimed_at" field.
func LeaseClaimedAtGTE ¶
func LeaseClaimedAtGTE(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtGTE applies the GTE predicate on the "lease_claimed_at" field.
func LeaseClaimedAtIn ¶
func LeaseClaimedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtIn applies the In predicate on the "lease_claimed_at" field.
func LeaseClaimedAtIsNil ¶
func LeaseClaimedAtIsNil() predicate.CommunicationSyncCursor
LeaseClaimedAtIsNil applies the IsNil predicate on the "lease_claimed_at" field.
func LeaseClaimedAtLT ¶
func LeaseClaimedAtLT(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtLT applies the LT predicate on the "lease_claimed_at" field.
func LeaseClaimedAtLTE ¶
func LeaseClaimedAtLTE(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtLTE applies the LTE predicate on the "lease_claimed_at" field.
func LeaseClaimedAtNEQ ¶
func LeaseClaimedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtNEQ applies the NEQ predicate on the "lease_claimed_at" field.
func LeaseClaimedAtNotIn ¶
func LeaseClaimedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
LeaseClaimedAtNotIn applies the NotIn predicate on the "lease_claimed_at" field.
func LeaseClaimedAtNotNil ¶
func LeaseClaimedAtNotNil() predicate.CommunicationSyncCursor
LeaseClaimedAtNotNil applies the NotNil predicate on the "lease_claimed_at" field.
func Or ¶
func Or(predicates ...predicate.CommunicationSyncCursor) predicate.CommunicationSyncCursor
Or groups predicates with the OR operator between them.
func RetryCount ¶
func RetryCount(v int) predicate.CommunicationSyncCursor
RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCountEQ ¶
func RetryCountEQ(v int) predicate.CommunicationSyncCursor
RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountGT ¶
func RetryCountGT(v int) predicate.CommunicationSyncCursor
RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGTE ¶
func RetryCountGTE(v int) predicate.CommunicationSyncCursor
RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountIn ¶
func RetryCountIn(vs ...int) predicate.CommunicationSyncCursor
RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountLT ¶
func RetryCountLT(v int) predicate.CommunicationSyncCursor
RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLTE ¶
func RetryCountLTE(v int) predicate.CommunicationSyncCursor
RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountNEQ ¶
func RetryCountNEQ(v int) predicate.CommunicationSyncCursor
RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNotIn ¶
func RetryCountNotIn(vs ...int) predicate.CommunicationSyncCursor
RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func Source ¶
func Source(v string) predicate.CommunicationSyncCursor
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceAccountID ¶
func SourceAccountID(v string) predicate.CommunicationSyncCursor
SourceAccountID applies equality check predicate on the "source_account_id" field. It's identical to SourceAccountIDEQ.
func SourceAccountIDContains ¶
func SourceAccountIDContains(v string) predicate.CommunicationSyncCursor
SourceAccountIDContains applies the Contains predicate on the "source_account_id" field.
func SourceAccountIDContainsFold ¶
func SourceAccountIDContainsFold(v string) predicate.CommunicationSyncCursor
SourceAccountIDContainsFold applies the ContainsFold predicate on the "source_account_id" field.
func SourceAccountIDEQ ¶
func SourceAccountIDEQ(v string) predicate.CommunicationSyncCursor
SourceAccountIDEQ applies the EQ predicate on the "source_account_id" field.
func SourceAccountIDEqualFold ¶
func SourceAccountIDEqualFold(v string) predicate.CommunicationSyncCursor
SourceAccountIDEqualFold applies the EqualFold predicate on the "source_account_id" field.
func SourceAccountIDGT ¶
func SourceAccountIDGT(v string) predicate.CommunicationSyncCursor
SourceAccountIDGT applies the GT predicate on the "source_account_id" field.
func SourceAccountIDGTE ¶
func SourceAccountIDGTE(v string) predicate.CommunicationSyncCursor
SourceAccountIDGTE applies the GTE predicate on the "source_account_id" field.
func SourceAccountIDHasPrefix ¶
func SourceAccountIDHasPrefix(v string) predicate.CommunicationSyncCursor
SourceAccountIDHasPrefix applies the HasPrefix predicate on the "source_account_id" field.
func SourceAccountIDHasSuffix ¶
func SourceAccountIDHasSuffix(v string) predicate.CommunicationSyncCursor
SourceAccountIDHasSuffix applies the HasSuffix predicate on the "source_account_id" field.
func SourceAccountIDIn ¶
func SourceAccountIDIn(vs ...string) predicate.CommunicationSyncCursor
SourceAccountIDIn applies the In predicate on the "source_account_id" field.
func SourceAccountIDLT ¶
func SourceAccountIDLT(v string) predicate.CommunicationSyncCursor
SourceAccountIDLT applies the LT predicate on the "source_account_id" field.
func SourceAccountIDLTE ¶
func SourceAccountIDLTE(v string) predicate.CommunicationSyncCursor
SourceAccountIDLTE applies the LTE predicate on the "source_account_id" field.
func SourceAccountIDNEQ ¶
func SourceAccountIDNEQ(v string) predicate.CommunicationSyncCursor
SourceAccountIDNEQ applies the NEQ predicate on the "source_account_id" field.
func SourceAccountIDNotIn ¶
func SourceAccountIDNotIn(vs ...string) predicate.CommunicationSyncCursor
SourceAccountIDNotIn applies the NotIn predicate on the "source_account_id" field.
func SourceContains ¶
func SourceContains(v string) predicate.CommunicationSyncCursor
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
func SourceContainsFold(v string) predicate.CommunicationSyncCursor
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEQ ¶
func SourceEQ(v string) predicate.CommunicationSyncCursor
SourceEQ applies the EQ predicate on the "source" field.
func SourceEqualFold ¶
func SourceEqualFold(v string) predicate.CommunicationSyncCursor
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceGT ¶
func SourceGT(v string) predicate.CommunicationSyncCursor
SourceGT applies the GT predicate on the "source" field.
func SourceGTE ¶
func SourceGTE(v string) predicate.CommunicationSyncCursor
SourceGTE applies the GTE predicate on the "source" field.
func SourceHasPrefix ¶
func SourceHasPrefix(v string) predicate.CommunicationSyncCursor
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
func SourceHasSuffix(v string) predicate.CommunicationSyncCursor
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...string) predicate.CommunicationSyncCursor
SourceIn applies the In predicate on the "source" field.
func SourceLT ¶
func SourceLT(v string) predicate.CommunicationSyncCursor
SourceLT applies the LT predicate on the "source" field.
func SourceLTE ¶
func SourceLTE(v string) predicate.CommunicationSyncCursor
SourceLTE applies the LTE predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v string) predicate.CommunicationSyncCursor
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...string) predicate.CommunicationSyncCursor
SourceNotIn applies the NotIn predicate on the "source" field.
func Status ¶
func Status(v string) predicate.CommunicationSyncCursor
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.CommunicationSyncCursor
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.CommunicationSyncCursor
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.CommunicationSyncCursor
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.CommunicationSyncCursor
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.CommunicationSyncCursor
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.CommunicationSyncCursor
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.CommunicationSyncCursor
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.CommunicationSyncCursor
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.CommunicationSyncCursor
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.CommunicationSyncCursor
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.CommunicationSyncCursor
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.CommunicationSyncCursor
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.CommunicationSyncCursor
StatusNotIn applies the NotIn predicate on the "status" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.CommunicationSyncCursor
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.CommunicationSyncCursor
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.CommunicationSyncCursor
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.CommunicationSyncCursor
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 CommunicationSyncCursor queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCursor ¶
func ByCursor(opts ...sql.OrderTermOption) OrderOption
ByCursor orders the results by the cursor field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastError ¶
func ByLastError(opts ...sql.OrderTermOption) OrderOption
ByLastError orders the results by the last_error field.
func ByLastProviderEventAt ¶
func ByLastProviderEventAt(opts ...sql.OrderTermOption) OrderOption
ByLastProviderEventAt orders the results by the last_provider_event_at field.
func ByLastSuccessAt ¶
func ByLastSuccessAt(opts ...sql.OrderTermOption) OrderOption
ByLastSuccessAt orders the results by the last_success_at field.
func ByLeaseClaimedAt ¶
func ByLeaseClaimedAt(opts ...sql.OrderTermOption) OrderOption
ByLeaseClaimedAt orders the results by the lease_claimed_at field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByRetryCount ¶
func ByRetryCount(opts ...sql.OrderTermOption) OrderOption
ByRetryCount orders the results by the retry_count field.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func BySourceAccountID ¶
func BySourceAccountID(opts ...sql.OrderTermOption) OrderOption
BySourceAccountID orders the results by the source_account_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWorkspaceField ¶
func ByWorkspaceField(field string, opts ...sql.OrderTermOption) OrderOption
ByWorkspaceField orders the results by workspace field.