ship-hold

data access framework for PostgreSQL

Usage no npm install needed!

<script type="module">
  import shipHold from 'https://cdn.skypack.dev/ship-hold';
</script>

README

Ship-hold

CircleCI Gitter

ship-hold logo

ship-hold is a small and fast data access framework for Postgres relational database, developed for the Nodejs environment.

It is based around intuitive SQL query builders which mirror closely the SQL syntax while keeping the flexibility functions may have. It also allows you to create convenient services and relations between them in order to easily fetch related resources (aka eager loading). It is actually the only library I know of which has it right when it comes to pagination and nested pagination!

It differs a lot from other popular libraries so called ORM such Sequelize or Bookshelf. They come with a wide range of features: schema management, migrations, validations, different sql dialects, model instances, etc. But it comes at the price of very complex API's / code base (we are usually talking about more than 200 API functions and more than 10/20 thousands source lines of code). Ship-hold, however, focuses on a limited set of features while remaining extensible.

Visit the Documentation website for more details