[jOOQ/jOOQ#10089] JSON_OBJECTAGG was added in MariaDB 10.5 only
This commit is contained in:
parent
bf93c53a46
commit
00cdb1d7c9
@ -37,6 +37,7 @@
|
||||
*/
|
||||
package org.jooq.impl;
|
||||
|
||||
import static org.jooq.SQLDialect.MARIADB;
|
||||
import static org.jooq.impl.DSL.groupConcat;
|
||||
import static org.jooq.impl.DSL.inline;
|
||||
import static org.jooq.impl.DSL.jsonObject;
|
||||
@ -102,6 +103,10 @@ implements JSONObjectAggNullStep<J> {
|
||||
case MYSQL:
|
||||
if (nullClause == ABSENT_ON_NULL)
|
||||
acceptGroupConcat(ctx);
|
||||
|
||||
|
||||
|
||||
|
||||
else
|
||||
acceptStandard(ctx);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user