UNPKG

@openui5/sap.ui.core

Version:

OpenUI5 Core Library sap.ui.core

54 lines (45 loc) 1.16 kB
/*! * OpenUI5 * (c) Copyright 2026 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides enumeration sap.ui.model.UpdateMethod sap.ui.define(function() { "use strict"; /** * Different methods for update operations. * * @enum {string} * @public * @alias sap.ui.model.odata.UpdateMethod */ var UpdateMethod = { /** * Update requests will be send with HTTP method <code>MERGE</code>. * * @public */ MERGE: "MERGE", /** * Update requests will be send with HTTP method <code>PUT</code>. * * @public */ PUT: "PUT", /** * Deprecated to avoid different spellings, use {@link sap.ui.model.odata.UpdateMethod.MERGE} instead. * * @public * @deprecated Since 1.133.0, use {@link sap.ui.model.odata.UpdateMethod.MERGE} instead */ Merge: "MERGE", /** * Deprecated to avoid different spellings, use {@link sap.ui.model.odata.UpdateMethod.PUT} instead. * * @public * @deprecated Since 1.133.0, use {@link sap.ui.model.odata.UpdateMethod.PUT} instead */ Put: "PUT" }; return UpdateMethod; }, /* bExport= */ true);