MatteoGioioso / MatteoGioioso/serverless-pg

Add transaction functionality in the same way serverless-mysql does

Open
#93 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
324
Forks
16
PR merge metrics
No merged PRs in 30d

Description

# Why?
- I needed this functionality and ended up extending it within my own code, I would imagine others would appreciate this functionality being part of the library.
- As this package is inspired by `serverless-mysql`, it seems to make sense to try to support the same functionality that it has.

# Desired Changes
- Support transactions using the same methods as `serverless-mysql`: https://www.npmjs.com/package/serverless-mysql#transaction-support

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing serverless-pg API and compare it with the transaction-support methods documented for serverless-mysql at the linked npm page. The work is complete when equivalent transaction functionality is supported for PostgreSQL and its behavior is covered by the project's relevant tests, though no test file is named here.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, postgresql
Domain
backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.