We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb74676 commit d657b2fCopy full SHA for d657b2f
1 file changed
src/main/java/io/ebean/typequery/TQRootBean.java
@@ -719,6 +719,18 @@ public R setIdIn(Object... ids) {
719
return root;
720
}
721
722
+ /**
723
+ * Set a label on the query.
724
+ * <p>
725
+ * This label can be used to help identify query performance metrics but we can also use
726
+ * profile location enhancement on Finders so for some that would be a better option.
727
+ * </p>
728
+ */
729
+ public R setLabel(String label) {
730
+ query.setLabel(label);
731
+ return root;
732
+ }
733
+
734
/**
735
* Set the default lazy loading batch size to use.
736
* <p>
0 commit comments