[#2332] Documentation example regarding Factory.concat() does not
compile
This commit is contained in:
parent
b9e5864301
commit
d8bcef64c1
@ -2879,7 +2879,7 @@ GROUP BY FIRST_NAME, LAST_NAME;</sql>
|
||||
</p>
|
||||
|
||||
<java>Record record = create.select(
|
||||
concat(AUTHOR.FIRST_NAME, " ", AUTHOR.LAST_NAME).as("author"),
|
||||
concat(AUTHOR.FIRST_NAME, val(" "), AUTHOR.LAST_NAME).as("author"),
|
||||
count().as("books"))
|
||||
.from(AUTHOR)
|
||||
.join(BOOK).on(AUTHOR.ID.equal(BOOK.AUTHOR_ID))
|
||||
|
||||
@ -3020,7 +3020,7 @@ GROUP BY FIRST_NAME, LAST_NAME;</sql>
|
||||
</p>
|
||||
|
||||
<java>Record record = create.select(
|
||||
concat(AUTHOR.FIRST_NAME, " ", AUTHOR.LAST_NAME).as("author"),
|
||||
concat(AUTHOR.FIRST_NAME, val(" "), AUTHOR.LAST_NAME).as("author"),
|
||||
count().as("books"))
|
||||
.from(AUTHOR)
|
||||
.join(BOOK).on(AUTHOR.ID.equal(BOOK.AUTHOR_ID))
|
||||
|
||||
@ -3020,7 +3020,7 @@ GROUP BY FIRST_NAME, LAST_NAME;</sql>
|
||||
</p>
|
||||
|
||||
<java>Record record = create.select(
|
||||
concat(AUTHOR.FIRST_NAME, " ", AUTHOR.LAST_NAME).as("author"),
|
||||
concat(AUTHOR.FIRST_NAME, val(" "), AUTHOR.LAST_NAME).as("author"),
|
||||
count().as("books"))
|
||||
.from(AUTHOR)
|
||||
.join(BOOK).on(AUTHOR.ID.equal(BOOK.AUTHOR_ID))
|
||||
|
||||
@ -3611,7 +3611,7 @@ GROUP BY FIRST_NAME, LAST_NAME;</sql>
|
||||
</p>
|
||||
|
||||
<java>Record record = create.select(
|
||||
concat(AUTHOR.FIRST_NAME, " ", AUTHOR.LAST_NAME).as("author"),
|
||||
concat(AUTHOR.FIRST_NAME, val(" "), AUTHOR.LAST_NAME).as("author"),
|
||||
count().as("books"))
|
||||
.from(AUTHOR)
|
||||
.join(BOOK).on(AUTHOR.ID.equal(BOOK.AUTHOR_ID))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user