Futuresql

#include <threadeddatabase.h>

Public Types

using ColumnTypes = std::tuple<T>
 

Public Member Functions

 operator const T & () const
 

Static Public Member Functions

static SingleValue fromSql (ColumnTypes tuple)
 

Public Attributes

value
 

Detailed Description

template<typename T>
struct SingleValue< T >

Deserialize just a single value from a query result.

Definition at line 185 of file threadeddatabase.h.

Member Typedef Documentation

◆ ColumnTypes

template<typename T >
using SingleValue< T >::ColumnTypes = std::tuple<T>

Definition at line 186 of file threadeddatabase.h.

Member Function Documentation

◆ fromSql()

template<typename T >
static SingleValue SingleValue< T >::fromSql ( ColumnTypes tuple)
inlinestatic

Definition at line 188 of file threadeddatabase.h.

◆ operator const T &()

template<typename T >
SingleValue< T >::operator const T & ( ) const
inline

Definition at line 193 of file threadeddatabase.h.

Member Data Documentation

◆ value

template<typename T >
T SingleValue< T >::value

Definition at line 197 of file threadeddatabase.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:50 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.