communicationsynccursor

package
v0.0.0-...-65c6c44 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for communicationsynccursor fields.

View Source
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

And groups predicates with the AND operator between them.

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

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

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

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

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

func Cursor

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

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

CursorGT applies the GT predicate on the "cursor" field.

func CursorGTE

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

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

CursorLT applies the LT predicate on the "cursor" field.

func CursorLTE

CursorLTE applies the LTE predicate on the "cursor" field.

func CursorNEQ

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

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

HasWorkspaceWith applies the HasEdge predicate on the "workspace" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

IDNotIn applies the NotIn predicate on the ID field.

func LastError

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

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

LastErrorGT applies the GT predicate on the "last_error" field.

func LastErrorGTE

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

LastErrorLT applies the LT predicate on the "last_error" field.

func LastErrorLTE

LastErrorLTE applies the LTE predicate on the "last_error" field.

func LastErrorNEQ

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 Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RetryCount

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

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

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

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

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

SourceIn applies the In predicate on the "source" field.

func SourceLT

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

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

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

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

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

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

StatusIn applies the In predicate on the "status" field.

func StatusLT

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

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

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

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

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

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

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 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.

Jump to

Keyboard shortcuts

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