OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::filter::create_fn Struct Reference

Function object to create a filter. More...

#include <filter.hpp>

Public Member Functions

void operator() (connection_ptr const &conn, std::string const &filter_name) const
void operator() (connection_ptr const &conn, std::string const &filter_name) const

Detailed Description

Function object to create a filter.

This function object provides an interface to create a filter in the database (container). It takes a connection pointer and a filter name as input and creates the specified filter in the database. The filter can be used to filter results based on specific criteria in subsequent operations.

Member Function Documentation

◆ operator()() [1/2]

void oxy::filter::create_fn::operator() ( connection_ptr const & conn,
std::string const & filter_name ) const
Parameters
conn- A pointer to the database (container) connection where the filter will be created.
filter_name- The name of the filter to be created.

◆ operator()() [2/2]

void oxy::filter::create_fn::operator() ( connection_ptr const & conn,
std::string const & filter_name ) const
Parameters
conn- A pointer to the database (container) connection where the filter will be created.
filter_name- The name of the filter to be created.