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
Currently the CodeGenerator provides utility methods such as findBy/findAll. It would be great to provide a method such as:
def foreach(where: SQLSyntax)(item: ${className} => Unit)(implicit session: DBSession$defaultAutoSession): Unit = { sql"select xxx where $${where}".foreach { record => item(record) } }
The text was updated successfully, but these errors were encountered:
Thanks for the suggestion. Indeed, this may be useful for some!
Sorry, something went wrong.
Anyone wanna work on this? If no one is, I'd like to.
No branches or pull requests
Currently the CodeGenerator provides utility methods such as findBy/findAll.
It would be great to provide a method such as:
The text was updated successfully, but these errors were encountered: