Glimr PostgreSQL Driver ✨
The official PostgreSQL driver for the Glimr web framework, providing connection pooling, query execution, and migration support. This package is meant to be used alongside the lpil/pog and glimr-org/framework packages and the glimr-org/glimr starter repository.
If you’d like to stay updated on Glimr’s development, Follow @migueljarias on X (that’s me) for updates.
About
Note: This repository contains the PostgreSQL driver for Glimr. If you want to build an application using Glimr, visit the main Glimr repository.
Features
- Connection Pooling - Efficient connection management with automatic checkout/checkin
- Query Builder - Type-safe query execution with parameter binding
- Transaction Support - Atomic operations with automatic retry on deadlock
- Migration Runner - Apply database migrations with version tracking
- HTTP Context - Easy pool access in web request handlers
Installation
Add the PostgreSQL driver to your Gleam project:
gleam add glimr_postgres
Learn More
- Glimr - Main Glimr repository
- Glimr Framework - Core framework
- pog - PostgreSQL client for Gleam
Built With
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
The Glimr PostgreSQL driver is open-sourced software licensed under the MIT license.