Method: HDB#initialize

Defined in:
lib/hdb/hdb.rb

#initialize(host, port, dbname, user, password, timezone, connectionName = "default", connector = "Pg") ⇒ HDB

Returns a new instance of HDB.



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/hdb/hdb.rb', line 82

def initialize(host, port, dbname, user, password, timezone, connectionName = "default", connector = "Pg")

  @host = host
  @port = port
  @dbname = dbname
  @user = user
  @password = password
  @timezone = timezone
  @connectionName = connectionName
  
  @connection = nil

  @select = nil
  @from = nil
  @where = nil
  @orderBy = nil
  @direction = nil
  @limit = nil
  @offset = nil

  @resultTable = nil
  @table = nil

end