Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1010 Bytes

File metadata and controls

15 lines (14 loc) · 1010 Bytes
title Components

Components

  • ConnectionPool: holds connections in itself and give them when requested.
  • ConnectionPoolBuilder: Chainable builder for ConnectionPool, for people who prefer it over big initialization.
  • Connection: represents single database connection, can be retrieved from ConnectionPool or created with connect method.
  • Transaction: represents database transaction, can be made from Connection.
  • Cursor: represents database cursor, can be made from Connection, Transaction and PreparedStatement.
  • PreparedStatement: represents PostgreSQL prepared statement.
  • Listener: object to work with LISTEN/NOTIFY functionality, can be mode from ConnectionPool.
  • QueryResult: represents list of results from database.
  • SingleQueryResult: represents single result from the database.
  • Exceptions: we have some custom exceptions.