Not able to insert with transaction. #2457
Unanswered
Harikrishnan19
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I am new to objection.js. I want to insert data by transaction.
I started transaction with PrescriptionMetaData Model and related PrescriptionSymptom Model by relationMappings as followings.
Inside PrescriptionMetaData DAO
Eventually can't able to insert/patch with the following error,
PrescriptionMetaData.relationMappings.symptoms: join: either
from
orto
must point to the owner model table and the other one to the related table. It might be that specified table 'prescription_symptoms' is not correctCould anyone please help me out.
Beta Was this translation helpful? Give feedback.
All reactions