pg_wrapper

Contents:

  • Overview
  • Tutorial: Converting Postgres types
  • Classes for complex Postgres types
  • Type converters
  • Type converter factories
  • Types supported out of the box
  • Internals: Handling type OIDs
  • How to map Postgres ENUM types to PHP enums
  • How to add converters for new base types
  • Tutorial: Working with database
  • Setting up a database connection
  • Executing queries
  • Prepared statements
  • Working with a query result
  • Transactions
  • Exception classes
  • Adding functionality via decorators
pg_wrapper
  • Search


© Copyright 2025, Alexey Borzov.

Built with Sphinx using a theme provided by Read the Docs.