Skip to content

Releases: greysquirr3l/gorm-duckdb-driver

✅ Critical Bug Fix Released: v0.1.3

23 Jun 03:25
v0.1.3
3095413

Choose a tag to compare

✅ Critical Bug Fix Released: v0.1.3
🚨 Issue Resolved
The external project was experiencing nil pointer panics when calling:

🔧 Root Cause Found
GORM expected the interface method to be named GetDBConn(), but we had implemented GetDBConnector(). This mismatch caused GORM's db.DB() method to return nil.

✅ Fix Applied
Corrected interface method: GetDBConnector() → GetDBConn()
Added comprehensive test: TestDBMethod() validates db.DB() functionality
Verified compatibility: All database access patterns now work correctly
📊 Validation
✅ All existing tests pass
✅ New test specifically validates db.DB() returns valid *sql.DB
✅ Connection pool management works correctly
✅ Database cleanup operations function properly
🚀 Release Information
Repository: https://github.com/greysquirr3l/gorm-duckdb-driver
Latest Version: v0.1.3
Installation: go get github.com/greysquirr3l/gorm-duckdb-driver@v0.1.3
⚡ Recommendation
All users should upgrade to v0.1.3 immediately to avoid nil pointer issues with database cleanup operations.

This critical fix ensures the driver is fully compatible with GORM's standard database access patterns and resolves integration failures reported by external projects.

GORM DuckDB Driver v0.1.0 🚀

23 Jun 02:29
v0.1.0
8ffe7a0

Choose a tag to compare

GORM DuckDB Driver v0.1.0 🚀

First public release of the DuckDB driver for GORM!

🎯 What is this?

A production-ready adapter that brings DuckDB's high-performance analytical capabilities to the GORM ecosystem. Perfect for data science, analytics, and high-throughput applications.

✨ Features

  • Complete GORM Integration: All dialector and migrator interfaces implemented
  • Auto-increment Support: Uses DuckDB sequences for ID generation
  • Type Safety: Comprehensive Go ↔ DuckDB type mapping
  • Connection Pooling: Optimized connection handling with time conversion
  • Schema Introspection: Full table, column, index, and constraint discovery
  • Test Coverage: 100% test pass rate with comprehensive test suite

🚀 Quick Start

import (
    "gorm.io/gorm"
    "github.com/greysquirr3l/gorm-duckdb-driver"
)

db, err := gorm.Open(duckdb.Open("test.db"), &gorm.Config{})

📊 Perfect For

  • Data analytics and OLAP workloads
  • High-performance read operations
  • Data science applications
  • ETL pipelines
  • Analytical dashboards

🤝 Contributing

This project aims for inclusion in the official go-gorm organization.
See CONTRIBUTING.md for development setup and guidelines.

📄 License

MIT License