Console - DECLARE INTENT

Declares an intent for the current database. Intents allow you to tell the database what you want to do.

Syntax

DECLARE INTENT <intent-name>
  • <intent-name> Defines the name of the intent. OrientDB supports three intents:
    • NULL Removes the current intent.
    • MASSIVEINSERT
    • MASSIVEREAD

Examples

  • Declare an intent for a massive insert:

    orientdb> DECLARE INTENT MASSIVEINSERT
    
  • After the insert, clear the intent:

    orientdb> DECLARE INTENT NULL
    

For more information on other commands, see Console Commands.

results matching ""

    No results matching ""