I suggest you ...

Give me a way to write comments in the SQL

It would be helpful if I could comment some of the fields that I'm writing with the standard postgresql comment syntax. Sometimes the queries I'm doing are going to be complicated and I'd be helpful to remember what's going on.

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Will shared this idea  ·   ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • AdminIvan Schneider (Developer, DbInsights) commented  · 

        Actually you can already add SQL comments in the "Value selection" text area. The following is legit and will not prevent you from saving your graph and displaying it :

        count(users.id) as total, -- here we count the total number of users
        count(confirmed_at) as confirmed -- here we only count the confirmed users
        /* And here we add a multi line comment
        * to further document our select clause */

      Feedback and Knowledge Base