Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

When using prepared queries, generate a method to close all the prepared
queries.

Fixes #101

When using prepared queries, generate a method to close all the prepared queries. Fixes #101
@kyleconroy
Copy link
Collaborator Author

After writing this, I thought of another way to expose this functionality. We could add a Stmts method to the Queries struct that returns a []*sql.Stmt. I think that's a bit too much, so I'm just going to go with the Close method for now.

@kyleconroy kyleconroy merged commit e704f1c into master Nov 5, 2019
@kyleconroy kyleconroy deleted the close-stmts branch November 5, 2019 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants