RewritableCondition

Interface for query objects that support condition rewriting and modification.

This interface provides methods to replace or append conditions to existing queries, enabling fluent condition building and modification.

Type Parameters

Q

The type of the query object that implements this interface, enabling method chaining.

Inheritors

Functions

Link copied to clipboard
abstract fun appendCondition(append: Condition): Q

Appends a condition to the existing condition using logical AND.

Link copied to clipboard
open fun appendTenantId(tenantId: String): Q

Appends a tenant ID condition to filter results by tenant.

Link copied to clipboard
abstract fun withCondition(newCondition: Condition): Q

Creates a new query with the specified condition.