UNPKG
@sap/xsodata
Version:
latest (8.3.2)
8.3.2
8.3.1
8.3.0
8.2.1
8.2.0
8.1.3
8.1.2
8.1.0
8.0.2
8.0.1
8.0.0
7.5.5
7.5.0
7.4.5
7.4.4
7.4.2
7.3.7
7.3.5
7.3.4
7.3.3
7.3.2
7.3.0
7.2.2
7.1.0
7.0.3
7.0.2
7.0.0
6.2.1
5.0.0
4.7.0
4.6.0
4.5.4
4.4.0
4.3.0
4.2.0
4.1.0
3.7.0
3.6.7
3.6.0
3.5.0
3.4.0
3.3.0
3.0.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.7
2.0.6
2.0.5
Expose data from a HANA database as OData V2 service with help of .xsodata files.
@sap/xsodata
/
lib
/
utils
/
batch
/
batchWriter.js
9 lines
(6 loc)
•
181 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
'use strict'
;
exports
.
write
=
function
(
context, batchData
) {
var
response = context.
response
; context.
response
.
statusCode
(
202
); batchData.
write
(context,response); };