@rosen-bridge/extended-typeorm
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@rosen-bridge/extended-typeorm

Table of contents

Introduction

By default, typeorm doesn't handle parallel transactions. If you run two transactions simultaneously and your database doesn't support it (e.g. if you use sqlite), you will get errors.

Installation

npm:

npm i @rosen-bridge/extended-typeorm

yarn:

yarn add @rosen-bridge/extended-typeorm

Usage

import { DataSource } from '@rosen-bridge/extended-typeorm';

const dataSource = DataSource({
  ...
})

Now all database transaction execute correctly without throwing an error, no matter if you call them simultaneously or not.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    46
    • latest

Version History

Package Sidebar

Install

npm i @rosen-bridge/extended-typeorm

Weekly Downloads

113

Version

0.0.3

License

GPL-3.0

Unpacked Size

347 kB

Total Files

32

Last publish

Collaborators

  • arsalanyavari
  • vorujack
  • zargarzadehm