OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::context::remove_all_fn Struct Reference

A function object that removes all rows from a database context. More...

#include <context.hpp>

Public Member Functions

void operator() (context_t const &ctx) const

Detailed Description

A function object that removes all rows from a database context.

The remove_all_fn struct defines a function call operator that takes a context_t as a parameter and removes all rows from the specified context. This operation is performed without yielding any results, effectively clearing the data in the context.

Member Function Documentation

◆ operator()()

void oxy::context::remove_all_fn::operator() ( context_t const & ctx) const
Parameters
ctx- The database context from which to remove all rows.