Introduce Unsafe method on Queryx
It enables local control over `unsafe` mode for .Bind methods of `Queryx` and iterators spawn by it.
This commit is contained in:
committed by
Sylwia Szunejko
parent
a222c1f067
commit
c6f942afc7
2
iterx.go
2
iterx.go
@@ -13,7 +13,7 @@ import (
|
||||
"github.com/scylladb/go-reflectx"
|
||||
)
|
||||
|
||||
// DefaultUnsafe enables the behavior of forcing the iterator to ignore
|
||||
// DefaultUnsafe enables the behavior of forcing queries and iterators to ignore
|
||||
// missing fields for all queries. See Unsafe below for more information.
|
||||
var DefaultUnsafe bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user