README.md in jvertica-0.1.9 vs README.md in jvertica-0.1.10
- old
+ new
@@ -21,20 +21,20 @@
## Usage
```ruby
require 'jvertica'
-conn_opts = {
+params = {
host: 'vertica.com',
port: 5433,
user: 'xxxxxx',
password: 'xxxxxx',
}
sql = 'select * from sandbox.jdbc_tests;'
-c = Jvertica.connect conn_opts
-c.query sql do |row|
+c = Jvertica.connect(params)
+c.query(sql) do |row|
p row
end
```
## Connection Options