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

Make it possible to get ordered bind names #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

exodist
Copy link

@exodist exodist commented Oct 10, 2024

Makes it possible to know what column name is associated with every item in the @Bind array.

This is an ultra-quick way to achieve the goal. I would not be surprised if you had a better way to do it. But adding this functionality would solve my problem.

Makes it possible to know what column anme is associated with every item
in the @Bind array.
@exodist
Copy link
Author

exodist commented Oct 10, 2024

IF the new API of adding an arrayref at the end is too hacky, see https://github.com/exodist/DBIx-QuickORM/blob/master/lib/DBIx/QuickORM/SQLAbstract.pm

Could always add my ($stmt, $bind, $bind_names) = $sql->select2(...) without any need to add an arrayref at the end. Feel free to grab the implementations from the above link and just throw a 2 at the end of them if that idea is more palatable.

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

Successfully merging this pull request may close these issues.

1 participant