Class RDBMSUpdateAction
java.lang.Object
com.kingsrook.qqq.backend.module.rdbms.actions.AbstractRDBMSAction
com.kingsrook.qqq.backend.module.rdbms.actions.RDBMSUpdateAction
- All Implemented Interfaces:
UpdateInterface
Only the fields which exist in the record's values map will be updated.
Note the difference between a field being in the value map, with a null value,
vs. not being in the map. If the field (its key) is in the value map, with a
null value, then the field will be updated to NULL. But if it's not in the
map, then it'll be ignored. This would be to do a PATCH type operation, vs a
PUT. See https://rapidapi.com/blog/put-vs-patch/
-
Field Summary
Fields inherited from class com.kingsrook.qqq.backend.module.rdbms.actions.AbstractRDBMSAction
isCancelled, queryStat, statement
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.kingsrook.qqq.backend.module.rdbms.actions.AbstractRDBMSAction
clonedOrNewFilter, doCancelQuery, doesSelectClauseRequireDistinct, escapeIdentifier, getActionStrategy, getColumnName, getConnection, getFieldValueFromResultSet, getFieldValueFromResultSet, getQueryStat, getSingleGroupByClause, getTableName, logSQL, makeFromClause, makeOrderByClause, makeWhereClause, scrubValue, setBackendMetaData, setLogSQL, setLogSQL, setLogSQLOutput, setLogSQLReformat, setQueryStat, setSqlAndJoinsInQueryStat, setValueIfTableHasField
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kingsrook.qqq.backend.core.actions.interfaces.UpdateInterface
supportsPreFetchQuery
-
Constructor Details
-
RDBMSUpdateAction
public RDBMSUpdateAction()
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceUpdateInterface
- Throws:
QException
-