Lightweight 0.20250904.0
Loading...
Searching...
No Matches
Data Types

Special purpose data types for SQL data binding. More...

Classes

class  Lightweight::SqlBinary
 Represents a binary data type. More...
 
struct  Lightweight::SqlDate
 
struct  Lightweight::SqlDateTime
 
class  Lightweight::SqlDynamicBinary< N >
 
class  Lightweight::SqlDynamicString< N, T >
 
class  Lightweight::SqlFixedString< N, T, Mode >
 
struct  Lightweight::SqlGuid
 
struct  Lightweight::SqlNullType
 
struct  Lightweight::SqlNumeric< ThePrecision, TheScale >
 
struct  Lightweight::SqlText
 
struct  Lightweight::SqlTime
 
struct  Lightweight::SqlVariant
 Represents a value that can be any of the supported SQL data types. More...
 
struct  Lightweight::Field< T, P1, P2 >
 Represents a single column in a table. More...
 

Typedefs

template<std::size_t N>
using Lightweight::SqlDynamicAnsiString = SqlDynamicString< N, char >
 
template<std::size_t N>
using Lightweight::SqlDynamicUtf16String = SqlDynamicString< N, char16_t >
 
template<std::size_t N>
using Lightweight::SqlDynamicUtf32String = SqlDynamicString< N, char32_t >
 
template<std::size_t N>
using Lightweight::SqlDynamicWideString = SqlDynamicString< N, wchar_t >
 
template<std::size_t N>
using Lightweight::SqlAnsiString = SqlFixedString< N, char, SqlFixedStringMode::VARIABLE_SIZE >
 
template<std::size_t N>
using Lightweight::SqlUtf16String = SqlFixedString< N, char16_t, SqlFixedStringMode::VARIABLE_SIZE >
 
template<std::size_t N>
using Lightweight::SqlUtf32String = SqlFixedString< N, char32_t, SqlFixedStringMode::VARIABLE_SIZE >
 
template<std::size_t N>
using Lightweight::SqlWideString = SqlFixedString< N, wchar_t, SqlFixedStringMode::VARIABLE_SIZE >
 
template<std::size_t N>
using Lightweight::SqlTrimmedFixedString = SqlFixedString< N, char, SqlFixedStringMode::FIXED_SIZE_RIGHT_TRIMMED >
 
template<std::size_t N>
using Lightweight::SqlTrimmedWideFixedString = SqlFixedString< N, wchar_t, SqlFixedStringMode::FIXED_SIZE_RIGHT_TRIMMED >
 

Variables

constexpr auto Lightweight::SqlNullValue = SqlNullType {}
 

Detailed Description

Special purpose data types for SQL data binding.

Typedef Documentation

◆ SqlDynamicAnsiString

template<std::size_t N>
using Lightweight::SqlDynamicAnsiString = typedef SqlDynamicString<N, char>

Fixed-size string of element type char with a capacity of N characters.

Definition at line 220 of file SqlDynamicString.hpp.

◆ SqlDynamicUtf16String

template<std::size_t N>
using Lightweight::SqlDynamicUtf16String = typedef SqlDynamicString<N, char16_t>

Fixed-size string of element type char16_t with a capacity of N characters.

Definition at line 226 of file SqlDynamicString.hpp.

◆ SqlDynamicUtf32String

template<std::size_t N>
using Lightweight::SqlDynamicUtf32String = typedef SqlDynamicString<N, char32_t>

Fixed-size string of element type char32_t with a capacity of N characters.

Definition at line 232 of file SqlDynamicString.hpp.

◆ SqlDynamicWideString

template<std::size_t N>
using Lightweight::SqlDynamicWideString = typedef SqlDynamicString<N, wchar_t>

Fixed-size string of element type wchar_t with a capacity of N characters.

Definition at line 238 of file SqlDynamicString.hpp.

◆ SqlAnsiString

template<std::size_t N>
using Lightweight::SqlAnsiString = typedef SqlFixedString<N, char, SqlFixedStringMode::VARIABLE_SIZE>

Fixed-size string of element type char with a capacity of N characters.

Definition at line 300 of file SqlFixedString.hpp.

◆ SqlUtf16String

template<std::size_t N>
using Lightweight::SqlUtf16String = typedef SqlFixedString<N, char16_t, SqlFixedStringMode::VARIABLE_SIZE>

Fixed-size string of element type char16_t with a capacity of N characters.

Definition at line 306 of file SqlFixedString.hpp.

◆ SqlUtf32String

template<std::size_t N>
using Lightweight::SqlUtf32String = typedef SqlFixedString<N, char32_t, SqlFixedStringMode::VARIABLE_SIZE>

Fixed-size string of element type char32_t with a capacity of N characters.

Definition at line 312 of file SqlFixedString.hpp.

◆ SqlWideString

template<std::size_t N>
using Lightweight::SqlWideString = typedef SqlFixedString<N, wchar_t, SqlFixedStringMode::VARIABLE_SIZE>

Fixed-size string of element type wchar_t with a capacity of N characters.

Definition at line 318 of file SqlFixedString.hpp.

◆ SqlTrimmedFixedString

template<std::size_t N>
using Lightweight::SqlTrimmedFixedString = typedef SqlFixedString<N, char, SqlFixedStringMode::FIXED_SIZE_RIGHT_TRIMMED>

Fixed-size (right-trimmed) string of element type char with a capacity of N characters.

Definition at line 324 of file SqlFixedString.hpp.

◆ SqlTrimmedWideFixedString

template<std::size_t N>
using Lightweight::SqlTrimmedWideFixedString = typedef SqlFixedString<N, wchar_t, SqlFixedStringMode::FIXED_SIZE_RIGHT_TRIMMED>

Fixed-size (right-trimmed) string of element type wchar_t with a capacity of N characters.

Definition at line 330 of file SqlFixedString.hpp.

Variable Documentation

◆ SqlNullValue

constexpr auto Lightweight::SqlNullValue = SqlNullType {}
constexpr

Used to indicate a NULL value in a SQL query.

Definition at line 21 of file SqlNullValue.hpp.