mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
querybeans: #3374 - Add copy() method to TQRootBean
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ class KotlinLangAdapter implements LangAdapter {
|
||||
|
||||
writer.eol();
|
||||
writer.append(" /** Return a copy of the query. */").eol();
|
||||
writer.append(" fun copy() : Q%s {", shortName).eol();
|
||||
writer.append(" override fun copy() : Q%s {", shortName).eol();
|
||||
writer.append(" return Q%s(query().copy())", shortName).eol();
|
||||
writer.append(" }").eol();
|
||||
writer.eol();
|
||||
|
||||
Reference in New Issue
Block a user