OrientDB – Commit Database Similar to RDBMS, OrientDB also provides transaction concepts like Commit and Rollback. Commit refers to closing the transaction by saving all changes to the database. Rollback refers to recovering the database state to the point where you opened the transaction. The following statement is the basic syntax of the Commit database […]
Category Archives: orientdb
OrientDB – Drop Database Similar to RDBMS, OrientDB provides the feature to drop a database. Drop database refers to removing a database completely. The following statement is the basic syntax of the Drop database command. DROP DATABASE [<database-name> <server-username> <server-user-password>] Following are the details about the options in the above syntax. <database-name> − Database name […]
OrientDB – Rollback Database In this chapter, you will learn how to roll back the un-committed transaction through the OrientDB command line interface. The following statement is the basic syntax of the Rollback database command. ROLLBACK Note − You can use this command only after connecting to a particular database and after beginning the transaction. […]