Skip to content

effect-sql-pg support#5222

Merged
Sukairo-02 merged 142 commits intobetafrom
effect3
Jan 6, 2026
Merged

effect-sql-pg support#5222
Sukairo-02 merged 142 commits intobetafrom
effect3

Conversation

@Sukairo-02
Copy link
Copy Markdown
Collaborator

@Sukairo-02 Sukairo-02 commented Jan 6, 2026

  • Fixed lack of query result recalculation on pg dynamic update with joins
  • Support for @effect/sql-pg driver
  • @effect/sql-pg driver support
  • Reworked pg: execute-less core builders, async,effect query-builders,session,preparedQuery variants
  • Improved PgColumn types: better type performance, simpler declaration, reworked .array() to use .array('[][]') syntax instead of .array().array()

AlexBlokh and others added 30 commits November 30, 2025 11:39
…ogic, implemented async, effect types of PG selecct
import { drizzle } from 'drizzle-orm/node-postgres';
import { boolean, jsonb, pgTable, serial, text, timestamp, withReplicas } from 'drizzle-orm/pg-core';
import { boolean, jsonb, pgTable, serial, text, timestamp } from 'drizzle-orm/pg-core';
import { withReplicas } from 'drizzle-orm/pg-core/async/db';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-export async withReplicas as it was before, add extra one for effect via pg-core/effect

test.skipIf(Date.now() < +new Date('2026-01-15'))('fk: recreate vs drop', async () => {
const p = mysqlTable('p', (t) => ({
id: t.int().primaryKey(),
// z,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove?

@Sukairo-02 Sukairo-02 requested a review from AlexBlokh January 6, 2026 13:07
@Sukairo-02 Sukairo-02 merged commit e89174b into beta Jan 6, 2026
34 checks passed
@Sukairo-02 Sukairo-02 deleted the effect3 branch January 6, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants