Hello Everyone, I am Working on OQL Queries in my application to retrieve information from database based on the queries and its worked. But i have an Entity Employee and i want to create a new object into my Employee Entity using the OQL Query But i am not find any solution for this in the docs and also forum, Actually i need to implement like INSERT INTO option In SQL to add a new row data. can any one help me out this how to implement INSERT INTO in OQL to create New Object
It is not possible to perform inserts with OQL. As Erwin stated, that would very much be an anti-pattern in Mendix.
What specifically are you trying to accomplish?
I don’t think that that is possible nor desirable.
Create the object with default functionality would be the best way to create new rows in an entity.