This method executes a generic command.
Using this method you can issue a command to the OrientDB database. The command can either be idempotent or non-idempotent. The return value is an
OResultSet instance. Note that you need to close the result-set after usage to free up resources.
OResultSet ODatabaseDocument().command(String query, Map args)
|Defines the query you want to execute.|
|Defines parameters for use in formatting the query.|
This method returns an
OResultSet instance, which contains the result-set of your query. Note that you need to close it when you're done to free up resources.