You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there something I'm missing on how to pass 0s to sql or is it not possible? I'd like to avoid having to manage my own type which simply shadows the Value func if possible.
The text was updated successfully, but these errors were encountered:
I'd like to pass all 0s to sql for querying, for example:
This is not possible currently because this library treats a zero value ksuid as
nil
: https://github.com/segmentio/ksuid/blob/master/ksuid.go#L139-L144Is there something I'm missing on how to pass 0s to sql or is it not possible? I'd like to avoid having to manage my own type which simply shadows the
Value
func if possible.The text was updated successfully, but these errors were encountered: