GetEntityOrThrowOptions
Options used by the TransactionalConnection getEntityOrThrow method.
- Extends:
FindOneOptions<T>
channelId
property
IDAn optional channelId to limit results to entities assigned to the given Channel. Should only be used when getting entities that implement the ChannelAware interface.
retries
property
numberv1.1.0Default:
0If set to a positive integer, it will retry getting the entity in case it is initially not found.
retryDelay
property
numberv1.1.0Default:
25Specifies the delay in ms to wait between retries.
includeSoftDeleted
property
booleanv1.3.0Default:
falseIf set to true, soft-deleted entities will be returned. Otherwise they will
throw as if they did not exist.
Was this chapter helpful?