Predefined Columns in DB API
Summary
Predefined Columns in DB APIContent
Hi,
When using the DB API of MCS for insert() or merge() how to pass the values for the predefined fields (createdBy, createdDate,etc).
If i am doing something like this
req.oracleMobile.database.merge( 'XX_PN', [{ "appName": appName, "appVersion": appVersion, "deviceId" : deviceId, "pnToken": pnToken, "platform": platform, "documentCode": documentCode, "documentId": documentId, "user": user } ], { primaryKeys: 'appName, user' }).then( function (result) { res.send(result.statusCode, result.result); }, function (error) { res.send(error.statusCode, error.error); } );
then the predefined columns (who's) will be created but how do i pass the values.
If i do something like this then the who's columns are my own columns isnt it ?
1