haskell-beam / haskell-beam/beam

Adding comments to generated SQL

Open
#643 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

Is there a way to construct SQL statement in the usual way, then add a an SQL comment with custom content, to the query before sending it to the database? Ideally this comment would be able to be added at any point in the construction process; for example, I could add a comment to a `filter_` and it would show up above the `where` in SQL. It would also be acceptable to only be able to add the comment right before `runBeamPostgres` or `runSelect*`; Maybe a different version of these functions that would take a comment string.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.