Skip to content

flecomte/postgres-json

Repository files navigation

PostgresJson

Kotlin library to request postgres with native SQL queries

Tests Coverage

Quality Gate Status Lines of Code


What is this lib for?

This library allows you to make sql requests and return the result in json format, then deserialize it into an entity. It also allows you to save an entity (INSERT) by serializing it and sending the json to the database, allowing you to insert several entities with their children, in a single request.

It also manages the migrations of the schema of tables and stored procedures.

All sql requests are handled manually for full control over what you do.


The best benefits

  • Total control of all Postgresql features and SQL language
  • More speed and flexible than an ORM
  • Multi level request (Can return multiple tables and these children in a single request)
  • Queries are written in separate native .sql files
  • Unit testing of SQL queries
  • Migrations are written in separate native .sql files
  • Automatic tested database migration and rollback

Documentation: Table of Contents

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages