@norvento/db.postgres

postgres-db

Usage no npm install needed!

<script type="module">
  import norventoDbPostgres from 'https://cdn.skypack.dev/@norvento/db.postgres';
</script>

README

Norvento postgres db

Doc

Table of Contents

PostgresDB

PostgresDB

Parameters
execute

Executes the provided sql

Parameters
  • sql string The sql to execute
execute_singlequery
Parameters
  • sql any
createTransaction

Creates a new transaction

Transaction

Transaction

Parameters
begin

Starts the transaction

execute

Starts the transaction

Parameters
  • sql string The sql to execute
commit

Commit the transaction

rollback

Rollbacks the transaction