Skip to content
New issue

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

Better formatting of BETWEEN clause #59

Open
jdorn opened this issue Jan 27, 2014 · 0 comments
Open

Better formatting of BETWEEN clause #59

jdorn opened this issue Jan 27, 2014 · 0 comments

Comments

@jdorn
Copy link
Owner

jdorn commented Jan 27, 2014

Right now, I add a line break before AND which works great most of the time. However it looks bad when using BETWEEN clauses.

WHERE
  1
  AND column BETWEEN "value1"
  AND "value2"
  AND column2 = "3"

Ideally, the first AND following a BETWEEN clause would not have a line break:

WHERE
  1
  AND column BETWEEN "value1" AND "value2"
  AND column2 = "3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant