@sap/cds 5.4.6 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +208 -2
- package/apis/ql.d.ts +17 -15
- package/app/index.js +1 -1
- package/bin/build/buildTaskEngine.js +26 -42
- package/bin/build/buildTaskFactory.js +6 -10
- package/bin/build/buildTaskHandler.js +2 -4
- package/bin/build/buildTaskProvider.js +3 -1
- package/bin/build/buildTaskProviderFactory.js +9 -15
- package/bin/build/constants.js +15 -3
- package/bin/build/index.js +5 -4
- package/bin/build/mtaUtil.js +8 -11
- package/bin/build/provider/buildTaskHandlerEdmx.js +63 -6
- package/bin/build/provider/buildTaskHandlerInternal.js +2 -34
- package/bin/build/provider/buildTaskProviderInternal.js +16 -42
- package/bin/build/provider/fiori/index.js +13 -24
- package/bin/build/provider/hana/2migration.js +17 -15
- package/bin/build/provider/hana/2tabledata.js +52 -48
- package/bin/build/provider/hana/index.js +27 -25
- package/bin/build/provider/hana/migrationtable.js +91 -67
- package/bin/build/provider/java-cf/index.js +14 -24
- package/bin/build/provider/mtx/index.js +12 -14
- package/bin/build/provider/node-cf/index.js +18 -32
- package/bin/cds.js +5 -5
- package/bin/serve.js +29 -23
- package/bin/version.js +0 -1
- package/lib/compile/etc/_localized.js +4 -9
- package/lib/compile/for/sql.js +5 -2
- package/lib/compile/parse.js +25 -17
- package/lib/compile/to/srvinfo.js +2 -1
- package/lib/connect/bindings.js +2 -1
- package/lib/connect/index.js +48 -49
- package/lib/core/classes.js +1 -1
- package/lib/core/reflect.js +10 -2
- package/lib/deploy.js +26 -23
- package/lib/env/defaults.js +13 -6
- package/lib/env/index.js +73 -78
- package/lib/env/requires.js +38 -19
- package/lib/index.js +9 -10
- package/lib/lazy.js +2 -2
- package/lib/log/index.js +33 -45
- package/lib/log/service/index.js +2 -2
- package/lib/ql/CREATE.js +14 -9
- package/lib/ql/DELETE.js +6 -5
- package/lib/ql/DROP.js +12 -9
- package/lib/ql/INSERT.js +40 -16
- package/lib/ql/Query.js +67 -40
- package/lib/ql/SELECT.js +162 -127
- package/lib/ql/UPDATE.js +74 -42
- package/lib/ql/Whereable.js +77 -87
- package/lib/ql/index.js +36 -24
- package/lib/ql/parse.js +35 -0
- package/lib/req/context.js +44 -8
- package/lib/req/locale.js +7 -7
- package/lib/serve/Service-api.js +21 -14
- package/lib/serve/Service-dispatch.js +28 -12
- package/lib/serve/Transaction.js +22 -10
- package/lib/serve/index.js +16 -11
- package/lib/utils/axios.js +23 -16
- package/lib/utils/data.js +35 -0
- package/lib/utils/tests.js +27 -18
- package/libx/_runtime/audit/generic/personal/access.js +81 -0
- package/libx/_runtime/audit/generic/personal/constants.js +4 -0
- package/libx/_runtime/audit/generic/personal/index.js +50 -0
- package/libx/_runtime/audit/generic/personal/modification.js +138 -0
- package/libx/_runtime/audit/generic/personal/utils.js +186 -0
- package/libx/_runtime/audit/utils/v2.js +10 -4
- package/libx/_runtime/cds-services/adapter/odata-v4/Dispatcher.js +5 -5
- package/libx/_runtime/cds-services/adapter/odata-v4/OData.js +6 -7
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/action.js +5 -7
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/create.js +5 -7
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/delete.js +2 -3
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/error.js +4 -0
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/metadata.js +7 -4
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/read.js +59 -8
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/request.js +11 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/handlers/update.js +6 -10
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/ExpressionToCQN.js +3 -46
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/applyToCQN.js +2 -5
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/createToCQN.js +2 -2
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/deleteToCQN.js +4 -3
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/expandToCQN.js +1 -2
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/index.js +0 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/selectHelper.js +1 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/updateToCQN.js +2 -2
- package/libx/_runtime/cds-services/adapter/odata-v4/odata-to-cqn/utils.js +16 -18
- package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-commons/edm/EdmEntityType.js +6 -3
- package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-commons/format/RepresentationKind.js +4 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-server/core/OdataRequest.js +1 -0
- package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-server/serializer/SerializerFactory.js +15 -2
- package/libx/_runtime/cds-services/adapter/odata-v4/okra/odata-server/validator/OperationValidator.js +1 -0
- package/libx/_runtime/cds-services/adapter/odata-v4/to.js +1 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/data.js +8 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/handlerUtils.js +6 -1
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/omitValues.js +12 -5
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/readAfterWrite.js +1 -7
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/request.js +7 -7
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/result.js +14 -18
- package/libx/_runtime/cds-services/adapter/odata-v4/utils/stream.js +13 -13
- package/libx/_runtime/cds-services/adapter/rest/handlers/create.js +0 -1
- package/libx/_runtime/cds-services/adapter/rest/handlers/operation.js +2 -1
- package/libx/_runtime/cds-services/adapter/rest/handlers/read.js +2 -2
- package/libx/_runtime/cds-services/adapter/rest/rest-to-cqn/index.js +2 -4
- package/libx/_runtime/cds-services/adapter/rest/utils/result.js +4 -2
- package/libx/_runtime/cds-services/services/Service.js +40 -5
- package/libx/_runtime/cds-services/services/utils/columns.js +13 -7
- package/libx/_runtime/cds-services/services/utils/compareJson.js +88 -4
- package/libx/_runtime/cds-services/services/utils/differ.js +24 -6
- package/libx/_runtime/cds-services/services/utils/handlerUtils.js +2 -2
- package/libx/_runtime/common/composition/data.js +44 -55
- package/libx/_runtime/common/composition/delete.js +97 -71
- package/libx/_runtime/common/composition/index.js +2 -1
- package/libx/_runtime/common/composition/insert.js +34 -11
- package/libx/_runtime/common/composition/tree.js +119 -92
- package/libx/_runtime/common/composition/update.js +4 -1
- package/libx/_runtime/common/composition/utils.js +1 -3
- package/libx/_runtime/common/constants/draft.js +12 -1
- package/libx/_runtime/common/generic/auth.js +6 -22
- package/libx/_runtime/common/generic/crud.js +14 -13
- package/libx/_runtime/common/generic/input.js +23 -26
- package/libx/_runtime/common/generic/put.js +1 -1
- package/libx/_runtime/common/generic/sorting.js +16 -16
- package/libx/_runtime/common/i18n/index.js +1 -1
- package/libx/_runtime/common/i18n/messages.properties +4 -0
- package/libx/_runtime/common/utils/backlinks.js +12 -5
- package/libx/_runtime/common/utils/cqn.js +6 -1
- package/libx/_runtime/common/utils/cqn2cqn4sql.js +102 -101
- package/libx/_runtime/common/utils/csn.js +47 -4
- package/libx/_runtime/common/utils/data.js +0 -37
- package/libx/_runtime/common/utils/enrichWithKeysFromWhere.js +1 -1
- package/libx/_runtime/common/utils/entityFromCqn.js +7 -24
- package/libx/_runtime/common/utils/foreignKeyPropagations.js +39 -7
- package/libx/_runtime/common/utils/generateOnCond.js +11 -12
- package/libx/_runtime/common/utils/onlyKeysRemain.js +10 -0
- package/libx/_runtime/common/utils/path.js +35 -0
- package/libx/_runtime/common/utils/postProcessing.js +86 -0
- package/libx/_runtime/common/utils/quotingStyles.js +37 -26
- package/libx/_runtime/common/utils/resolveView.js +223 -171
- package/libx/_runtime/common/utils/rewriteAsterisk.js +46 -26
- package/libx/_runtime/common/utils/structured.js +6 -12
- package/libx/_runtime/common/utils/template.js +10 -5
- package/libx/_runtime/common/utils/templateDelimiter.js +1 -0
- package/libx/_runtime/common/utils/templateProcessor.js +22 -30
- package/libx/_runtime/common/utils/union.js +31 -0
- package/libx/_runtime/common/utils/unionCqnTemplate.js +184 -0
- package/libx/_runtime/db/Service.js +1 -1
- package/libx/_runtime/db/data-conversion/timestamp.js +2 -9
- package/libx/_runtime/db/expand/expandCQNToJoin.js +204 -297
- package/libx/_runtime/db/expand/index.js +3 -3
- package/libx/_runtime/db/expand/rawToExpanded.js +36 -7
- package/libx/_runtime/db/generic/index.js +1 -1
- package/libx/_runtime/db/generic/input.js +5 -7
- package/libx/_runtime/db/generic/integrity.js +1 -1
- package/libx/_runtime/db/generic/rewrite.js +2 -10
- package/libx/_runtime/db/generic/update.js +13 -5
- package/libx/_runtime/db/generic/virtual.js +22 -58
- package/libx/_runtime/db/query/delete.js +7 -4
- package/libx/_runtime/db/query/insert.js +6 -4
- package/libx/_runtime/db/query/read.js +13 -20
- package/libx/_runtime/db/query/run.js +4 -1
- package/libx/_runtime/db/query/update.js +5 -4
- package/libx/_runtime/db/sql-builder/ExpressionBuilder.js +35 -2
- package/libx/_runtime/db/sql-builder/FunctionBuilder.js +17 -2
- package/libx/_runtime/db/sql-builder/InsertBuilder.js +6 -5
- package/libx/_runtime/db/sql-builder/ReferenceBuilder.js +10 -0
- package/libx/_runtime/db/sql-builder/SelectBuilder.js +35 -24
- package/libx/_runtime/db/sql-builder/UpdateBuilder.js +14 -4
- package/libx/_runtime/db/sql-builder/arrayed.js +4 -0
- package/libx/_runtime/db/utils/deep.js +8 -0
- package/libx/_runtime/db/utils/generateAliases.js +2 -1
- package/libx/_runtime/fiori/generic/activate.js +19 -15
- package/libx/_runtime/fiori/generic/before.js +3 -11
- package/libx/_runtime/fiori/generic/cancel.js +1 -1
- package/libx/_runtime/fiori/generic/delete.js +3 -1
- package/libx/_runtime/fiori/generic/edit.js +12 -2
- package/libx/_runtime/fiori/generic/new.js +5 -5
- package/libx/_runtime/fiori/generic/patch.js +0 -18
- package/libx/_runtime/fiori/generic/read.js +241 -189
- package/libx/_runtime/fiori/utils/delete.js +36 -7
- package/libx/_runtime/fiori/utils/handler.js +43 -44
- package/libx/_runtime/fiori/utils/where.js +30 -15
- package/libx/_runtime/hana/customBuilder/CustomSelectBuilder.js +4 -6
- package/libx/_runtime/hana/execute.js +2 -2
- package/libx/_runtime/hana/localized.js +4 -4
- package/libx/_runtime/hana/pool.js +29 -14
- package/libx/_runtime/hana/search2cqn4sql.js +2 -1
- package/libx/_runtime/hana/searchToContains.js +18 -14
- package/libx/_runtime/index.js +0 -5
- package/libx/_runtime/messaging/AMQPWebhookMessaging.js +13 -5
- package/libx/_runtime/messaging/common-utils/naming-conventions.js +4 -1
- package/libx/_runtime/messaging/enterprise-messaging-utils/EMManagement.js +31 -19
- package/libx/_runtime/messaging/enterprise-messaging-utils/registerEndpoints.js +1 -2
- package/libx/_runtime/messaging/enterprise-messaging.js +6 -4
- package/libx/_runtime/messaging/service.js +7 -6
- package/libx/_runtime/odata/cqn2odata.js +110 -43
- package/libx/_runtime/odata/index.js +26 -48
- package/libx/_runtime/odata/odata2cqn.js +1 -6154
- package/libx/_runtime/odata/odata2cqn.pegjs +559 -0
- package/libx/_runtime/odata/readToCqn.js +94 -64
- package/libx/_runtime/remote/Service.js +74 -21
- package/libx/_runtime/remote/cqn2odata/index.js +1 -5
- package/libx/_runtime/remote/utils/client.js +24 -101
- package/libx/_runtime/remote/utils/dataConversion.js +27 -12
- package/libx/_runtime/sqlite/Service.js +3 -5
- package/libx/_runtime/sqlite/execute.js +23 -24
- package/libx/_runtime/sqlite/localized.js +12 -7
- package/libx/_runtime/types/api.js +10 -0
- package/package.json +1 -1
- package/server.js +16 -2
- package/lib/ql/grammar.pegjs +0 -208
- package/lib/ql/parser.js +0 -1
- package/lib/ql/rt/DELETE.js +0 -29
- package/lib/ql/rt/INSERT.js +0 -23
- package/lib/ql/rt/Query.js +0 -84
- package/lib/ql/rt/SELECT.js +0 -174
- package/lib/ql/rt/UPDATE.js +0 -119
- package/lib/ql/rt/_helpers.js +0 -91
- package/lib/ql/rt/index.js +0 -32
- package/libx/_runtime/audit/generic/personal.js +0 -260
- package/libx/_runtime/cds-services/statements/BaseStatement.js +0 -72
- package/libx/_runtime/cds-services/statements/Create.js +0 -57
- package/libx/_runtime/cds-services/statements/Delete.js +0 -33
- package/libx/_runtime/cds-services/statements/Drop.js +0 -42
- package/libx/_runtime/cds-services/statements/Insert.js +0 -201
- package/libx/_runtime/cds-services/statements/Select.js +0 -826
- package/libx/_runtime/cds-services/statements/Update.js +0 -181
- package/libx/_runtime/cds-services/statements/Where.js +0 -726
- package/libx/_runtime/cds-services/statements/index.js +0 -25
- package/libx/_runtime/common/generic/resolve-mock.js +0 -9
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
const Where = require('./Where')
|
|
2
|
-
const { invalidFunctionArgumentError } = require('../util/errors')
|
|
3
|
-
|
|
4
|
-
const fnChain = Symbol.for('sap.cds.fnChain')
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* UPDATE statement updates values or rows from a specific table.
|
|
8
|
-
*
|
|
9
|
-
* @extends {Where}
|
|
10
|
-
*/
|
|
11
|
-
class Update extends Where {
|
|
12
|
-
constructor() {
|
|
13
|
-
super('UPDATE')
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
static entity(entity) {
|
|
17
|
-
const cqn = new Update()
|
|
18
|
-
cqn[fnChain] = cqn[fnChain].concat('()') // UPDATE.entity() is not exposed but UPDATE()
|
|
19
|
-
|
|
20
|
-
if (typeof entity === 'string' && (entity.includes(':') || entity.includes('['))) {
|
|
21
|
-
cqn.UPDATE.entity = Where.convertPathExpression(entity)
|
|
22
|
-
} else {
|
|
23
|
-
cqn.UPDATE.entity = Where._isEntity(entity, 'UPDATE()')
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return cqn
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
_distribute(obj) {
|
|
30
|
-
this.UPDATE.data = this.UPDATE.data || {}
|
|
31
|
-
this.UPDATE.with = this.UPDATE.with || {}
|
|
32
|
-
|
|
33
|
-
for (const k in obj) {
|
|
34
|
-
if (obj[k] === null) {
|
|
35
|
-
this.UPDATE.data[k] = obj[k]
|
|
36
|
-
} else if (typeof obj[k] === 'object' && ('xpr' in obj[k] || 'ref' in obj[k])) {
|
|
37
|
-
this.UPDATE.with[k] = obj[k]
|
|
38
|
-
} else {
|
|
39
|
-
this.UPDATE.data[k] = obj[k].val || obj[k]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return this
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Sets the values that should be updated
|
|
48
|
-
*
|
|
49
|
-
* @example
|
|
50
|
-
* UPDATE('Authors').set({NAME: 'Jon Doe', STOCK: 123, count: {func: 'count', args: [{ ref: ['abc'] }], as: 'count'}})
|
|
51
|
-
* @param {object} valueObject contains the properties that should be updated, can also contain expressions
|
|
52
|
-
* @returns {object} UPDATE statement
|
|
53
|
-
* @throws Error - If no or invalid input parameter provided
|
|
54
|
-
*/
|
|
55
|
-
set(valueObject) {
|
|
56
|
-
this[fnChain] = this[fnChain].concat('.set()')
|
|
57
|
-
|
|
58
|
-
const checkIsInvalid = this._isInvalidValueObject(valueObject, true)
|
|
59
|
-
if (checkIsInvalid.status) {
|
|
60
|
-
throw invalidFunctionArgumentError(this[fnChain], checkIsInvalid.data)
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return this._distribute(this._convertToCqnObject(valueObject))
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Sets the values that should be updated, no expressions allowed
|
|
68
|
-
*
|
|
69
|
-
* @example
|
|
70
|
-
* UPDATE('Authors').data({NAME: 'Jon Doe', STOCK: 123})
|
|
71
|
-
* @param {object} valueObject contains the properties that should be updated
|
|
72
|
-
* @returns {object} UPDATE statement
|
|
73
|
-
* @throws Error - If no or invalid input parameter provided
|
|
74
|
-
*/
|
|
75
|
-
data(valueObject) {
|
|
76
|
-
this[fnChain] = this[fnChain].concat('.data()')
|
|
77
|
-
|
|
78
|
-
const checkIsInvalid = this._isInvalidValueObject(valueObject)
|
|
79
|
-
if (checkIsInvalid.status) {
|
|
80
|
-
throw invalidFunctionArgumentError(this[fnChain], checkIsInvalid.data)
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
this.UPDATE.data = valueObject
|
|
84
|
-
return this
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* Sets the values that should be updated
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* UPDATE('Authors').set({NAME: 'Jon Doe', STOCK: 123, count: {func: 'count', args: [{ ref: ['abc'] }], as: 'count'}})
|
|
92
|
-
*
|
|
93
|
-
* @param {object} valueObject contains the properties that should be updated, can also contain expressions
|
|
94
|
-
*/
|
|
95
|
-
with(valueObject) {
|
|
96
|
-
this[fnChain] = this[fnChain].concat('.with()')
|
|
97
|
-
return this.set(valueObject)
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
_convertToCqnObject(valueObject) {
|
|
101
|
-
const cqnObj = {}
|
|
102
|
-
for (const key in valueObject) {
|
|
103
|
-
cqnObj[key] = this._generateCQNObj(valueObject[key], key)
|
|
104
|
-
}
|
|
105
|
-
return cqnObj
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
_generateCQNObj(value, key) {
|
|
109
|
-
if (value === null || value === undefined) {
|
|
110
|
-
return value
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
if (value instanceof Buffer) {
|
|
114
|
-
return value
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
if (['-=', '+=', '*=', '/=', '%='].includes(Object.keys(value)[0])) {
|
|
118
|
-
const op = Object.keys(value)[0]
|
|
119
|
-
const val = value[op]
|
|
120
|
-
return { xpr: [{ ref: [key] }, op.substring(0, 1), { val: val }] }
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
if (value['=']) {
|
|
124
|
-
return { ref: [value['=']] }
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (typeof value === 'object' && typeof value.getMonth === 'function') {
|
|
128
|
-
// this is a Date object
|
|
129
|
-
return value
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// value.pipe is a stream indicator
|
|
133
|
-
if (!Array.isArray(value) && typeof value === 'object' && typeof value.pipe !== 'function') {
|
|
134
|
-
const cqnObj = {}
|
|
135
|
-
for (const key in value) {
|
|
136
|
-
cqnObj[key] = this._generateCQNObj(value[key], key)
|
|
137
|
-
}
|
|
138
|
-
return cqnObj
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
return value
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
_isEmptyObject(value) {
|
|
145
|
-
return Object.keys(value).length === 0
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
_isInvalidValueObject(valueObject) {
|
|
149
|
-
if (!valueObject || typeof valueObject !== 'object' || Array.isArray(valueObject)) {
|
|
150
|
-
return { status: true, data: valueObject }
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
const invalidEntries = {}
|
|
154
|
-
|
|
155
|
-
for (const key in valueObject) {
|
|
156
|
-
if (
|
|
157
|
-
valueObject[key] === undefined ||
|
|
158
|
-
(valueObject[key] &&
|
|
159
|
-
typeof valueObject[key] === 'object' &&
|
|
160
|
-
!Buffer.isBuffer(valueObject[key]) &&
|
|
161
|
-
!Array.isArray(valueObject[key]) &&
|
|
162
|
-
!(valueObject[key] instanceof Date) &&
|
|
163
|
-
this._isEmptyObject(valueObject[key]))
|
|
164
|
-
) {
|
|
165
|
-
invalidEntries[key] = valueObject[key]
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
if (Object.keys(invalidEntries).length !== 0) {
|
|
170
|
-
return { status: true, data: invalidEntries }
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
return { status: false }
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
valueOf() {
|
|
177
|
-
return `UPDATE ${Update._quoteElement(this.UPDATE.entity)} `
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
module.exports = Update
|