Module rhai

Source
Expand description

Rhai wrappers for PostgreSQL client module functions

This module provides Rhai wrappers for the functions in the PostgreSQL client module.

Functionsยง

pg_connect
Connect to PostgreSQL using environment variables
pg_create_database
Create a new database in PostgreSQL
pg_execute
Execute a query on the PostgreSQL connection
pg_execute_sql
Execute a SQL script in PostgreSQL
pg_install
Install PostgreSQL using nerdctl
pg_is_running
Check if PostgreSQL is running
pg_ping
Ping the PostgreSQL server
pg_query
Execute a query on the PostgreSQL connection and return the rows
pg_query_one
Execute a query on the PostgreSQL connection and return a single row
pg_reset
Reset the PostgreSQL client connection
register_postgresclient_module
Register PostgreSQL client module functions with the Rhai engine