go-pg is in a maintenance mode and will NOT receive new features. Please use Bun instead.
PostgreSQL client and ORM for Go
Has one relation
Initializing search
    GitHub
    • go-pg
    GitHub
      • Getting started
      • Defining models
      • SQL placeholders
      • Writing queries
      • SQL NULL and Go zero values
      • Transactions
      • Model hooks
      • Performance and errors monitoring
      • Extra modules
      • FAQ
        • Introduction
        • Has one relation
        • Belongs to relation
        • Has many relation
        • Many to many relation
        • Declarative Table Partitioning
        • Zero-downtime PostgreSQL migrations
        • Using UUID in PostgreSQL
        • Writing REST API with Go and PostgreSQL
        • Tuning PostgreSQL on ZFS
    Uptrace.dev. Optimize your PostgreSQL cluster performance and monitor errors & logs.

    Has one relation

    Previous Introduction
    Next Belongs to relation
    Made with Material for MkDocs