4.0.0 • Published 1 year ago

@tralse/mysql-middleware v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@tralse/mysql-middleware

This package provides a middleware and helpful methods for modularized and remodified modules on MySQL database, providing a robust development.

Key Features

  • Deadlock management with exponential and controlled backoff
  • Modular functions for database operations

Installation

npm install @tralse/mysql-middleware express

Usage

Errors

  • DatabaseError: Custom error class for external database-related errors. However, MySQL errors is not caught by this error, for proper tracing for the outer logic.
    • Default Code: DB_ERR
  • TransactionError: Custom error class for transaction-related errors. However, MySQL errors is not caught by this error, for proper tracing for the outer logic.
    • Default Code: TRANSACTION_ERR
    • Code: (if connection is not initialized): CONN_NOT_INIT

Changelogs

Stay updated of the changes of this package. View Changelog.

License

This is licensed under MIT License. View License

Issues

Bugs found? Kindly inquire to the issues section.

Contributor/s

4.0.0

1 year ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.1

1 year ago

2.4.0

1 year ago

2.3.1

1 year ago

2.3.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago

0.6.0

1 year ago

0.5.3

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago