Oracle CRUD
In this post, we will look at, how we can perform CRUD operation on Oracle Database.
Assumptions:
- vutil is installed.
- Oracle connection is configured in the config.json file in vutil directory.
NodeJS `oracledb` driver is installed in the vutil directory. To install the driver, execute the following commands:
$ cd <PATH_TO_VUTIL_DIRECTORY> $ npm install oracledb
Now, follow the below process to execute query on oracledb via REST API.
First create a test case which will fire a HTTP request on vutil server to validate the database state:
CRUD Operations:
- Insert Query
Insert query can be specified as shown in the following screenshot:
 - Select Query
Select query can be specified as shown in the following screenshot: - Update Query
Update query can be specified as shown in the following screenshot:Â
 - Delete Query
Delete query can be specified as shown in the following screenshot: