AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::sql::FieldsOf< T > Class Template Reference

Fields of an object, bound to the parameters of a query with the same names ( fieldsOf ). More...

#include <fields.hpp>

Collaboration diagram for anch::sql::FieldsOf< T >:

Public Member Functions

 FieldsOf (const T &object) noexcept
const T & object () const noexcept

Detailed Description

template<anch::Described T>
class anch::sql::FieldsOf< T >

Fields of an object, bound to the parameters of a query with the same names ( fieldsOf ).

Template Parameters
Tthe described type
Since
0.3

Constructor & Destructor Documentation

◆ FieldsOf()

template<anch::Described T>
anch::sql::FieldsOf< T >::FieldsOf ( const T & object)
explicitnoexcept

FieldsOf constructor

Parameters
objectthe object (it has to live while the fields are bound)

Member Function Documentation

◆ object()

template<anch::Described T>
const T & anch::sql::FieldsOf< T >::object ( ) const
noexcept

Object getter

Returns
the object

The documentation for this class was generated from the following file: