//go:build noduckdb

package infra

import (
	"database/sql"
	"fmt"
)

// DuckDBOpen is a stub when built with the noduckdb tag.
func DuckDBOpen(path string) (*sql.DB, error) {
	return nil, fmt.Errorf("duckdb_open: duckdb support not compiled (built with noduckdb tag)")
}
