Lightweight 0.20260617.0
Loading...
Searching...
No Matches
Lightweight::SqlBinary Class Referencefinal

Represents a binary data type. More...

#include <SqlBinary.hpp>

Inheritance diagram for Lightweight::SqlBinary:

Public Member Functions

constexpr auto operator<=> (SqlBinary const &other) const noexcept
 
constexpr bool operator== (SqlBinary const &other) const noexcept
 Equality operator derived from the spaceship comparison above.
 

Detailed Description

Represents a binary data type.

This class is a thin wrapper around std::vector<uint8_t> to represent binary data types efficiently.

Definition at line 22 of file SqlBinary.hpp.

Member Function Documentation

◆ operator<=>()

constexpr auto Lightweight::SqlBinary::operator<=> ( SqlBinary const &  other) const
inlineconstexprnoexcept

Three-way comparison operator. Compares the byte payload only — the private _indicator member is ODBC bookkeeping and must not influence equality.

Definition at line 29 of file SqlBinary.hpp.

◆ operator==()

constexpr bool Lightweight::SqlBinary::operator== ( SqlBinary const &  other) const
inlineconstexprnoexcept

Equality operator derived from the spaceship comparison above.

Definition at line 35 of file SqlBinary.hpp.


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