mirror of
https://github.com/hanzoai/base.git
synced 2026-10-21 03:41:50 +00:00
PoolManager now lives in hanzoai/dbx v1.13.0 (canonical home). base/plugins/platform/db_pool.go is a thin re-export wrapper. Stack: dbx (pool) → orm (models) → base (platform) One and only one way: dbx.NewPoolManager()
16 lines
388 B
Go
16 lines
388 B
Go
package platform
|
|
|
|
// Pool manager is now in github.com/hanzoai/dbx.
|
|
// This file re-exports the types for backward compatibility.
|
|
|
|
import "github.com/hanzoai/dbx"
|
|
|
|
type DBPool = dbx.Pool
|
|
type DBPoolConfig = dbx.PoolConfig
|
|
type DBPoolManager = dbx.PoolManager
|
|
type PoolStats = dbx.PoolStats
|
|
|
|
func NewDBPoolManager(config DBPoolConfig) *DBPoolManager {
|
|
return dbx.NewPoolManager(config)
|
|
}
|