Module utils

Module utils 

Source
Expand description

Module containing utility functions for database operations

Functionsยง

create_connection_pool
Creates a PostgreSQL connection pool from database configuration
create_database_config_from_env
Creates a database configuration from environment variables
deserialize_from_json
Deserializes a JSON string into a value
serialize_to_json
Serializes a value to a JSON string
store_transactions
Stores a list of transactions in the database