|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Represents a single WHERE condition. More...
#include <condition_builder.h>

Public Member Functions | |
| bool | is_raw () const |
Public Attributes | |
| std::string | field |
| Field name. | |
| std::string | op |
| Operator (=, !=, <, >, <=, >=, LIKE, IN, etc.) | |
| core::database_value | value |
| Value to compare. | |
| std::string | raw |
| Raw SQL condition (if any) | |
Represents a single WHERE condition.
Definition at line 28 of file condition_builder.h.
|
inline |
Definition at line 34 of file condition_builder.h.
References raw.
Referenced by database::query::condition_builder::format_condition().

| std::string database::query::condition::field |
Field name.
Definition at line 29 of file condition_builder.h.
Referenced by database::query::condition_builder::add(), and database::query::condition_builder::format_condition().
| std::string database::query::condition::op |
Operator (=, !=, <, >, <=, >=, LIKE, IN, etc.)
Definition at line 30 of file condition_builder.h.
Referenced by database::query::condition_builder::add(), and database::query::condition_builder::format_condition().
| std::string database::query::condition::raw |
Raw SQL condition (if any)
Definition at line 32 of file condition_builder.h.
Referenced by database::query::condition_builder::add_raw(), database::query::condition_builder::format_condition(), and is_raw().
| core::database_value database::query::condition::value |
Value to compare.
Definition at line 31 of file condition_builder.h.
Referenced by database::query::condition_builder::add(), and database::query::condition_builder::format_condition().