
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@prisma-next/sql-runtime
Advanced tools
SQL runtime implementation for Prisma Next.
The SQL runtime package implements the SQL family runtime by composing @prisma-next/runtime-executor with SQL-specific adapters, drivers, and codecs. It provides the public runtime API for SQL-based databases.
Execute SQL query Plans with deterministic verification, guardrails, and feedback. Provide a unified execution surface that works across all SQL query lanes (DSL, ORM, Raw SQL).
RuntimeFamilyAdapter for SQL contracts@prisma-next/runtime-executor - Target-neutral execution engine@prisma-next/sql-contract - SQL contract types@prisma-next/sql-target - SQL family interfaces (legacy transitional package)@prisma-next/operations - Operation registryimport { createRuntime, createRuntimeContext } from '@prisma-next/sql-runtime';
import { createPostgresAdapter } from '@prisma-next/adapter-postgres';
import { createPostgresDriver } from '@prisma-next/driver-postgres/runtime';
const contract = validateContract<Contract>(contractJson);
const adapter = createPostgresAdapter();
const context = createRuntimeContext({
contract,
adapter,
extensions: [pgVector()],
});
const runtime = createRuntime({
adapter,
driver: createPostgresDriver({ connectionString: process.env.DATABASE_URL }),
verify: { mode: 'onFirstUse', requireMarker: false },
context,
plugins: [budgets(), lints()],
});
for await (const row of runtime.execute(plan)) {
console.log(row);
}
createRuntime - Create a SQL runtime instancecreateRuntimeContext - Create a SQL runtime contextRuntimeContext, Extension - Context typesbudgets, lints - SQL-compatible plugins (re-exported from runtime-executor)readContractMarker, writeContractMarker - SQL marker statementsencodeParams, decodeRow - Codec encoding/decoding utilitiesvalidateCodecRegistryCompleteness - Codec validationThe SQL runtime composes runtime-executor with SQL-specific implementations:
RuntimeFamilyAdapter for SQL contractsRuntimeCore and adds SQL-specific encoding/decodingUnit tests verify:
FAQs
SQL runtime implementation for Prisma Next
The npm package @prisma-next/sql-runtime receives a total of 2,196 weekly downloads. As such, @prisma-next/sql-runtime popularity was classified as popular.
We found that @prisma-next/sql-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.