4#ifndef _Stroika_Foundation_Database_Document_Filter_h_
5#define _Stroika_Foundation_Database_Document_Filter_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
10#include "Stroika/Foundation/Containers/Sequence.h"
20namespace Stroika::Foundation::Database::Document {
22 using Containers::Sequence;
24 namespace FilterElements {
31 bool operator== (
const FieldName&)
const =
default;
46 bool operator== (
const Value&)
const =
default;
51 variant<FieldName, Value> fRHS;
54 bool operator== (
const Equals&)
const =
default;
bool Matches(const Operation &op, const Database::Document::Document &doc)
static const FieldName kID
variant< Equals > Operation
String is like std::u32string, except it is much easier to use, often much more space efficient,...
A generalization of a vector: a container whose elements are keyed by the natural numbers.
Simple variant-value (case variant union) object, with (variant) basic types analogous to a value in ...
VariantValue()=default
construct a VariantValue from most any 'basic type' you would expect to find in a weakly typed langua...