node-orm2 icon indicating copy to clipboard operation
node-orm2 copied to clipboard

How to insert data in view in parallel with table in MySql

Open apmeena opened this issue 8 years ago • 0 comments

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.

Thanks.

apmeena avatar Feb 23 '17 12:02 apmeena