Package io.micronaut.data.annotation
Annotation Interface QueryResult
Defines query result for database query execution. Is query result type is TABULAR it means default query result
and JSON will mean result will contain single column with the JSON value.
- Since:
- 4.0.0
- Author:
- radovanradic
-
Nested Class Summary
-
Required Element Summary
-
Optional Element Summary
-
Field Summary
-
Field Details
-
DEFAULT_COLUMN
The default column name for the JSON data.- See Also:
-
-
Element Details
-
type
QueryResult.Type type- Returns:
- The query result type
-
-
-
column
String column- Returns:
- The column containing JSON result
- Default:
- "DATA"
-
jsonDataType
JsonDataType jsonDataType- Returns:
- The JSON data type that resulting column will hold. It helps to pick proper column reader based on result data type
- Default:
- DEFAULT
-