Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 459 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 459 Bytes

HanaDB

Provides plain access to the SAP Hana database.

Installation

Add this line to your application's Gemfile:

gem 'hana_db'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hana_db

Usage

  require 'hana_db/extensions/idle'    
  
  db = HanaDB.prepare(dsn: 'hana', username: 'username', password: 'password') do |db|
    db.use HanaDB::Extensions::IDLE, 300
  end
  db.select_one('...')