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 SummaryNested Classes
- 
Required Element SummaryRequired Elements
- 
Optional Element SummaryOptional Elements
- 
Field SummaryFields
- 
Field Details- 
DEFAULT_COLUMNThe default column name for the JSON data.- See Also:
 
 
- 
- 
Element Details- 
typeQueryResult.Type type- Returns:
- The query result type
 
 
- 
- 
- 
columnString column- Returns:
- The column containing JSON result
 - Default:
- "DATA"
 
- 
jsonDataTypeJsonDataType 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
 
 
-