SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Need a way to represent nullable UNSIGNED BIGINT #205

Closed hqin closed 2 years ago

hqin commented 3 years ago

Description

There is no type in asetypes to represent nullable UNSIGNED BIGINT. database/sql has only sql.NullInt64

Expected behaviour

Need a type to represent nullable UNSIGNED BIGINT

Current behaviour

There is no type in asetypes to represent nullable UNSIGNED BIGINT.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Environment

Client: OS: go version: go-ase version / commit hash: go-dblib version / commit hash:

Server: OS: ASE version:

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

frewilhelm commented 2 years ago

Solved in https://github.com/SAP/go-ase/pull/210 (or respective https://github.com/SAP/go-dblib/pull/40)