RawOperation

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class RawOperation(val generate: Boolean = true)

An annotation for marking DAO methods that should be generated as raw operations.

This annotation instructs the Stitch plugin to generate separate operation classes for annotated methods in your DAOs. These operation classes provide a convenient way to invoke and manage the corresponding database queries directly.

Parameters

generate

Boolean (default: true) Whether to generate the operation class for this method.

See also

Properties

Link copied to clipboard
val generate: Boolean = true