<article class="max-w-4xl mx-auto px-6 py-12">
<header class="mb-12">
<h1 class="text-4xl font-bold mb-4">Raw SQL</h1>
<p class="text-xl text-muted">
Execute raw SQL when you need full control.
</p>
</header>
<div class="space-y-12">
<section>
<h2 class="text-2xl font-semibold mb-4">Query with Parameters</h2>
<app-code-block [code]="queryCode" language="rust" />
</section>
<section>
<h2 class="text-2xl font-semibold mb-4">Execute Statements</h2>
<app-code-block [code]="executeCode" language="rust" />
</section>
<section>
<h2 class="text-2xl font-semibold mb-4">SQL Builder</h2>
<app-code-block [code]="builderCode" language="rust" />
</section>
<section class="p-6 rounded-xl bg-warning-500/10 border border-warning-500/20">
<h3 class="text-lg font-semibold text-warning-400 mb-2">⚠️ Security Warning</h3>
<p class="text-muted">
Always use parameterized queries to prevent SQL injection.
Never concatenate user input directly into SQL strings.
</p>
</section>
</div>
</article>