-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Description:
- 1.
Trigger is missing input fields, so on retrieve sample it throws an error:
Error! Cannot read property 'query' of undefined
- 2.
Seems that INSERT/UPDATE/DELETE action is unable to update and delete as it throws errors on valid update and delete requests:
Requests:
DELETE FROM Employee WHERE id=1234
UPDATE Employee SET Designation = "UPDATE-test" WHERE EmpID = 123;
Error:
TypeError: vars is not iterable
at EventEmitter.getMetaModel (/home/apprunner/lib/actions/insert.js:101:29)
at /home/apprunner/node_modules/elasticio-sailor-nodejs/lib/service.js:225:62
at new Promise ()
at executeMethod (/home/apprunner/node_modules/elasticio-sailor-nodejs/lib/service.js:218:20)
at _fulfilled (/home/apprunner/node_modules/q/q.js:834:54)
at /home/apprunner/node_modules/q/q.js:863:30
at Promise.promise.promiseDispatch (/home/apprunner/node_modules/q/q.js:796:13)
at /home/apprunner/node_modules/q/q.js:556:49
at runSingle (/home/apprunner/node_modules/q/q.js:137:13)
at flush (/home/apprunner/node_modules/q/q.js:125:13)
- 3
No Error thrown in INSERT/UPDATE/DELETE and SELECT actions on invalid query
STR:
- query:
INSERT INTO Employee123 (EmpID,EmpName, JoingTimeStamp) VALUES (@EmpId:number,@EmpName:string, @JoingTimeStamp:date)
- Retrieve sample