@Retention(value=RUNTIME) @Target(value={METHOD,ANNOTATION_TYPE}) @Documented public @interface Query
Modifier and Type | Optional Element and Description |
---|---|
boolean |
dmlStatement
Indicates if the annotated Query Method is a DML statement or an SQL statement.
|
String |
value
Takes a Cloud Spanner SQL string to define the actual query to be executed.
|
public abstract String value
Please note that sorting options should be passed by a Pageable
parameter
instead of the query. Otherwise the sorting could be broken
by logic that fetches eager-interleaved fields.
Copyright © 2021. All rights reserved.