We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Would it be possible to add the ability to execute raw SQL commands with this package?
The text was updated successfully, but these errors were encountered:
Hi @salt-lick, that's already possible. 😉 Slim-PDO extends raw PDO, so you could do something like:
$dbc = new \Slim\PDO\Database($dsn, $usr, $pwd); $query = $dbc->prepare("SELECT * FROM `users`"); $result = $query->execute(); try { var_dump($result->fetchAll()); } catch(\PDOException $e) { exit($e->getMessage()); }
Sorry, something went wrong.
Thank you. It was a long night and things were just not clicking...
No branches or pull requests
Would it be possible to add the ability to execute raw SQL commands with this package?
The text was updated successfully, but these errors were encountered: