Class: DatabasePSQL

Inherits:
Database show all
Defined in:
lib/peekdb/database_psql.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Database

#initialize

Constructor Details

This class inherits a constructor from Database

Instance Attribute Details

#connectionObject (readonly)

Returns the value of attribute connection.



3
4
5
# File 'lib/peekdb/database_psql.rb', line 3

def connection
  @connection
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/peekdb/database_psql.rb', line 3

def name
  @name
end

#relationsObject (readonly)

Returns the value of attribute relations.



3
4
5
# File 'lib/peekdb/database_psql.rb', line 3

def relations
  @relations
end

#tablesObject (readonly)

Returns the value of attribute tables.



3
4
5
# File 'lib/peekdb/database_psql.rb', line 3

def tables
  @tables
end