I am using Node-orm2 with MySql. All things are working fine but I am looking for an ORM feature through which I can also insert data in VIEW (MYSQL VIEW). Is there any function available? Or I need to go with model hooks (like afterSave) and manual query?
EDIT
My view doesn't contains all columns which original table have.
I am using Node-orm2 with MySql. All things are working fine but I am looking for an ORM feature through which I can also insert data in VIEW (MYSQL VIEW). Is there any function available? Or I need to go with
model hooks
(likeafterSave
) and manual query?EDIT
My view doesn't contains all columns which original table have.
Thanks.