OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::metadata::Value Struct Reference

A single scalar token appearing as a value in the query. More...

#include <ast.hpp>

Public Member Functions

 Value (std::string t, bool q=false)

Public Attributes

bool quoted {false}
std::string text

Detailed Description

A single scalar token appearing as a value in the query.

If quoted is true, text originated from a quoted string literal in the query. This is used by the SQL generator to decide numeric vs string semantics.

Member Data Documentation

◆ quoted

bool oxy::core::metadata::Value::quoted {false}

True if originally provided as a quoted string

◆ text

std::string oxy::core::metadata::Value::text

Raw token text as written in the query (no quotes)