TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Write plain SQL, generate Typescript types of result row and parameters

3 pointsby aabbcc1241over 4 years ago

1 comment

aabbcc1241over 4 years ago
Write plain SQL, generate Typescript types of result row and parameters<p>Inspired from discussion in <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26190256" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26190256</a><p>This tool enable using SQL as the single source of truth. Avoid the need to manually keep the SQLs and types in sync.<p>It&#x27;s easier to get good performance and simplicity using hand written sql then using ORM.<p>Inspired from discussion in <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26190256" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26190256</a>
评论 #26211294 未加载