Drizzle ORM driver for Snowflake, version 0.1.13, released as a stable library with weekly updates. It integrates Snowflake's JDBC-like connection with Drizzle's type-safe query builder, supporting standard and Snowflake-specific column types (VARIANT, ARRAY, GEOGRAPHY). Built on the official snowflake-sdk, it offers both async (pooled) and sync (single connection) modes. Differentiators include full Drizzle ORM compatibility, semi-structured data support, and a standalone dialect module.
npm install drizzle-snowflakeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to Snowflake, defines a table, inserts a row, queries it, and closes the connection.
Use await drizzle({ connection: { ... } }) or handle the promise.Use db.execute(sql`INSERT ... SELECT PARSE_JSON(${JSON.stringify(data)})`)Use default pooling (e.g., { pool: { size: 4 } }) for production.Upgrade to >=0.1.0 and add await.
Run: npm install drizzle-snowflake drizzle-orm snowflake-sdk
Change to: import { drizzle } from 'drizzle-snowflake'Verify SNOWFLAKE_ACCOUNT includes org and account name (e.g., 'orgname-accountname')