2024-11-02 01:09:48 +08:00
|
|
|
//go:build no_default_driver
|
2024-10-30 04:46:56 +08:00
|
|
|
|
|
|
|
package core
|
|
|
|
|
|
|
|
import "github.com/pocketbase/dbx"
|
|
|
|
|
|
|
|
func DefaultDBConnect(dbPath string) (*dbx.DB, error) {
|
2024-11-02 01:09:48 +08:00
|
|
|
panic("DBConnect config option must be set when the no_default_driver tag is used!")
|
2024-10-30 04:46:56 +08:00
|
|
|
}
|