Add SQLcl to Oracledb_session Doc (#3632)

* Add SQLcl option to oracledb_session.md.erb

Added sqlcl_bin option to oracledb_session documentation.

* Add SQLcl option to oracledb_session.md.erb

Signed-off-by: ibsavage <ianbsavage1@gmail.com>
This commit is contained in:
Ian Savage 2018-11-27 16:56:49 -05:00 committed by Jared Quick
parent 893e234df4
commit 79f7239c69

View file

@ -31,6 +31,7 @@ where
* `oracledb_session` declares a username and password with permission to run the query (required), and an optional parameters for host (default: `localhost`), SID (default: `nil`, which uses the default SID, and path to the sqlplus binary (default: `sqlplus`).
* it is possible to run queries as sysdba/sysoper by using `as_db_role option`, see examples
* SQLcl can be used in place of sqlplus. Use the `sqlcl_bin` option to set the sqlcl binary path instead of `sqlplus_bin`.
* `query('QUERY')` contains the query to be run
* `its('value') { should eq('') }` compares the results of the query against the expected result in the test