ODatabaseDocument - command()

This method executes a generic command.

Executing Commands

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)
Argument Type Description
query String Defines the query you want to execute.
args Map Defines parameters for use in formatting the query.

Return Value

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.

results matching ""

    No results matching ""