We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code :
err := conn.Select(&descriptions).Where("noeud_id in (?)", idsNoeuds).Do()
Cause : idsNoeuds is an empty slice.
Error :
panic: strings: negative Repeat count
goroutine 1 [running]: strings.Repeat(0x6162ae, 0x2, 0xffffffffffffffff, 0x0, 0x97) C:/Go/src/strings/strings.go:587 +0x1ce github.com/samonzeweb/godb.Q(0x618897, 0xf, 0xc042077cd8, 0x1, 0x1, 0x1) C:/Samuel/Provisoire/ParcoursGED.NET/Golang/src/github.com/samonzeweb/godb/condition.go:45 +0x654 github.com/samonzeweb/godb.(*StructSelect).Where(0xc042100240, 0x618897, 0xf, 0xc042077cd8, 0x1, 0x1, 0x410aff) C:/Samuel/Provisoire/ParcoursGED.NET/Golang/src/github.com/samonzeweb/godb/struct_select.go:37 +0x8a
The text was updated successfully, but these errors were encountered:
Correction of issue #8
ec4081e
samonzeweb
No branches or pull requests
Code :
Cause : idsNoeuds is an empty slice.
Error :
panic: strings: negative Repeat count
goroutine 1 [running]:
strings.Repeat(0x6162ae, 0x2, 0xffffffffffffffff, 0x0, 0x97)
C:/Go/src/strings/strings.go:587 +0x1ce
github.com/samonzeweb/godb.Q(0x618897, 0xf, 0xc042077cd8, 0x1, 0x1, 0x1)
C:/Samuel/Provisoire/ParcoursGED.NET/Golang/src/github.com/samonzeweb/godb/condition.go:45 +0x654
github.com/samonzeweb/godb.(*StructSelect).Where(0xc042100240, 0x618897, 0xf, 0xc042077cd8, 0x1, 0x1, 0x410aff)
C:/Samuel/Provisoire/ParcoursGED.NET/Golang/src/github.com/samonzeweb/godb/struct_select.go:37 +0x8a
The text was updated successfully, but these errors were encountered: