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

Function object to push items to a filter in a SQLite database. More...

#include <connection.hpp>

Public Member Functions

void operator() (connection_ptr const &conn, std::string const &filter_name, std::vector< std::string > const &items) const

Detailed Description

Function object to push items to a filter in a SQLite database.

This function object provides an operator() that takes a connection_ptr, a filter name, and a vector of items, and pushes the items to the specified filter in the SQLite database.

Member Function Documentation

◆ operator()()

void oxy::push_fn::operator() ( connection_ptr const & conn,
std::string const & filter_name,
std::vector< std::string > const & items ) const
Parameters
conn- The connection pointer to the SQLite database.
filter_name- The name of the filter to push items to.
items- The vector of items to be pushed to the filter.