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

missing wrapper method for mysqli fetch_object – which makes it possible to return a custom class instance #994

Open
pietropietro opened this issue Aug 21, 2022 · 0 comments

Comments

@pietropietro
Copy link

From what I understand it is only possible to use the objectBuilder to get an StdClass object instead of an array.
Is there a way to mimic mysqli method fetch_object("MyCustomClass") and get back an instance of MyCustomClass?
Thanks

@pietropietro pietropietro changed the title missing wrapper method for mysqli fetch_object – which makes it possible to return a custom class missing wrapper method for mysqli fetch_object – which makes it possible to return a custom class instance Aug 21, 2022
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

1 participant