TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: SQL Formatter

26 点作者 pictur超过 1 年前

4 条评论

natpalmer1776超过 1 年前
Maybe it's just me, but I find the sample input more legible than the output.
评论 #37215909 未加载
评论 #37220205 未加载
评论 #37216188 未加载
thesh4d0w超过 1 年前
The example here is misformatted:<p><pre><code> frozen_rand BETWEEN % (rand_low) s AND % (rand_high) s </code></pre> Should all be on one line, those aren&#x27;t two different conditions.
评论 #37218717 未加载
评论 #37262694 未加载
snthpy超过 1 年前
Thanks. This will be useful for quick queries without an install.<p>Otherwise there is also SQLFluff: <a href="https:&#x2F;&#x2F;sqlfluff.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;sqlfluff.com&#x2F;</a>
croes超过 1 年前
I think everyone one has his own preference on formatting so the ability to customize such formatters would be the best feature.