Drizzle ORM · Function
jsonb
withReplicas() combines a primary database with read replicas. Drizzle routes reads to replicas and write operations to the primary.
Last updated
Syntax
withReplicas(primaryDb, [read1, read2])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
withReplicas()$primarydrizzle()select()delete()