ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
database_helper Class Reference

Provides database setup and cleanup utilities for tests. More...

#include <database_helper.hpp>

Collaboration diagram for database_helper:
Collaboration graph

Public Member Functions

void truncate_table (const std::string &table_name)
 Truncates the specified table.
 
database::contextcontext ()
 Gets the database context.
 

Detailed Description

Provides database setup and cleanup utilities for tests.

Member Function Documentation

◆ truncate_table()

void truncate_table ( const std::string &  table_name)

Truncates the specified table.

Parameters
table_nameFully qualified table name (e.g., "oresdb.accounts")