Class SQLQueryUtils
java.lang.Object
com.nimbusds.infinispan.persistence.sql.SQLQueryUtils
SQL query composition utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.jooq.Query
createUpsert
(org.jooq.Table<?> table, SQLRecord sqlRecord, org.jooq.SQLDialect sqlDialect, org.jooq.DSLContext sql) Creates an "upsert" query for the specified SQL dialect.
-
Method Details
-
createUpsert
public static org.jooq.Query createUpsert(org.jooq.Table<?> table, SQLRecord sqlRecord, org.jooq.SQLDialect sqlDialect, org.jooq.DSLContext sql) Creates an "upsert" query for the specified SQL dialect.- Parameters:
table
- The table.sqlRecord
- The SQL record to update / insert.sqlDialect
- The SQL dialect.sql
- The DSL context.- Returns:
- The query, ready for execution.
-