Skip to content

Preserve newlines in SQL queries #26

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

Closed
3 tasks done
php-coder opened this issue Oct 12, 2022 · 1 comment
Closed
3 tasks done

Preserve newlines in SQL queries #26

php-coder opened this issue Oct 12, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@php-coder
Copy link
Owner

php-coder commented Oct 12, 2022

SQL queries can be really long and when we join them into a single line we produce a less readable code (that also doesn't pass checks from static analysis tools). Let's preserve newlines and use multiline strings (""" for Python) or concatenation (as last resort).

  • js/ts
  • go
  • python
@php-coder php-coder added the enhancement New feature or request label Oct 12, 2022
@php-coder php-coder added this to the 0.0.3 milestone Oct 12, 2022
php-coder added a commit that referenced this issue Oct 13, 2022

Unverified

This user has not yet uploaded their public signing key.
…eries

Part of #26
@php-coder php-coder self-assigned this Oct 13, 2022
@php-coder
Copy link
Owner Author

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant