Actually, the crud service allows to execute querys using the query method.
It will be nice if it also allows to execute commands.
The OCommandSQL is useful to execute non-idempotent commands like updates, insertion or deletions.
But you cannot execute update, insert, delete statements using the OSQLSynchQuery, otherwise you will receive an exception.
Actually, the crud service allows to execute querys using the query method. It will be nice if it also allows to execute commands. The OCommandSQL is useful to execute non-idempotent commands like updates, insertion or deletions. But you cannot execute update, insert, delete statements using the OSQLSynchQuery, otherwise you will receive an exception.