orm icon indicating copy to clipboard operation
orm copied to clipboard

A lightweight yet powerful, fast, customizable, type-safe object-relational mapper for the Go programming language.

Results 6 orm issues
Sort by recently updated
recently updated
newest added

Hi! How i can work with encrypted SQLite *(SQLcipher)* With CGO Free Thanks 🙏

As I see we have to run ``` orm.Initialize ``` in order to connect my question is how do I connect to more then 1 db at the same time

In Readme we have: ```Go err := orm.Initialize(orm.ConnectionConfig{ Driver: "sqlite3", ConnectionString: ":memory:", DatabaseValidations: true, }) ``` But this is the new way ```Go err := orm.SetupConnections(orm.ConnectionConfig{ DB: , DatabaseValidations: true,...

``` panic: reflect: call of reflect.Value.Type on zero Value goroutine 1 [running]: reflect.Value.typeSlow({0x0?, 0x0?, 0x1400021e5b8?}) /usr/local/go/src/reflect/value.go:2634 +0x134 reflect.Value.Type(...) /usr/local/go/src/reflect/value.go:2629 github.com/golobby/orm.(*binder).makeNewPointersOf(0x1400021f2d8, {0x140001461c0?, 0x1400013a0c0?, 0x3?}) /Users/alex/go/pkg/mod/github.com/golobby/[email protected]/binder.go:16 +0xa0 github.com/golobby/orm.(*binder).makeNewPointersOf(0x1400021f2d8, {0x1027d3040?, 0x1400013a0b0?, 0x4?}) /Users/alex/go/pkg/mod/github.com/golobby/[email protected]/binder.go:24...

```golang if err := orm.SetupConnections(orm.ConnectionConfig{ DB: db, Dialect: orm.Dialects.PostgreSQL, Entities: []orm.Entity{ //... }, DatabaseValidations: true, }); err != nil { log.Fatalf("orm.SetupConnections: %v", err) } ``` ``` 2023/10/04 14:52:44 orm.SetupConnections: pq:...

会多出一堆奇怪的字段来