sijms / go-ora

Pure go oracle client
MIT License
786 stars 174 forks source link

stmt.AddParam is not exported anymore #426

Closed Kyrremann closed 1 year ago

Kyrremann commented 1 year ago

I upgraded to v2.7.11 today and it turns out that stmt.AddParam no longer is exported. Why is that? The documentation still uses the exported AddParam, so either it's a mistaka or the documentation needs to be updated.

The culprit: https://github.com/sijms/go-ora/commit/8a659044590295ae4fdd9f3f845242fe6aadc697

sijms commented 1 year ago

parameters should passed in exec function because there I can check if parameter is a tagged structure (multiple pars) or array (enable bulk insert) so I hide AddParam I will update documentation

sijms commented 1 year ago

documentation update in v2.7.13