removed the default cgo driver registration

This commit is contained in:
Gani Georgiev
2024-10-29 22:46:56 +02:00
parent 5a94ec9918
commit 8b42941bd3
10 changed files with 4650 additions and 4680 deletions

View File

@@ -0,0 +1,9 @@
//go:build nodefaultdriver
package core
import "github.com/pocketbase/dbx"
func DefaultDBConnect(dbPath string) (*dbx.DB, error) {
panic("DBConnect config option must be set when the nodefaultdriver tag is used!")
}