Skip to content
New issue

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

stmt.AddParam is not exported anymore #426

Closed
Kyrremann opened this issue Aug 11, 2023 · 2 comments
Closed

stmt.AddParam is not exported anymore #426

Kyrremann opened this issue Aug 11, 2023 · 2 comments

Comments

@Kyrremann
Copy link

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: 8a65904

Kyrremann added a commit to navikt/knaudit that referenced this issue Aug 11, 2023
@sijms
Copy link
Owner

sijms commented Aug 11, 2023

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
Copy link
Owner

sijms commented Aug 17, 2023

documentation update in v2.7.13

@sijms sijms closed this as completed Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants