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
You can use it like code:
module app.controller.IndexController; import hunt.framework; class IndexController : Controller { mixin MakeController; @Action string index() { auto connection = app().database().getConnection(); auto stmt = conn.createStatement(); stmt.prepare("SELECT * FROM user WHERE username = :username AND age = :age LIMIT 10"); stmt.setParameter("username", "zoujiaqing"); stmt.setParameter("age", 18); foreach(row; stmt.query()) { writeln(row["username"]); } return ""; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
You can use it like code:
The text was updated successfully, but these errors were encountered: