Skip to content

Add capability to run multiple queries in a transaction. #26

@mcollina

Description

@mcollina

I'm imagining something like the following:

fastify.pg.transact(async (client) => {
  // all queries being done by this client are done within a transaction.
}) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions