-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I got this error when trying to reopen the database the second time.
The first time when doing gorm.Open the DB file will be automatically generate, when I reload the script, I got this err:
dburl := fmt.Sprintf("go-sqlcipher.sqlite?_pragma_key=multitechPassword&_pragma_cipher_page_size=4096")
gormDb, err := gorm.Open(sqliteEncrypt.Open(dburl), &gorm.Config{SkipDefaultTransaction: true, PrepareStmt: true})2022/08/12 14:24:11 C:/Users/vho/go/pkg/mod/github.com/jackfr0st13/gorm-sqlite-cipher@v0.1.0/migrator.go:108 sql: converting argument $1 type: unsupported type
clause.Expr, a structPlease be advised!
zakaria-chahboun, mearaj, evallozhe, Faridalim and D4ryl00KiddoV
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working